In this article
Alternate-path configuration, migration readiness and successful traffic on the migrated path are separate acceptance observations.
A configured backup can remain unused
An operator loads an alternate address vector into a queue pair and assumes a later port failure will be invisible to training. That conclusion skips migration state, peer consistency and application behavior. The backup description is only input to a supported migration mechanism. Qualification must show that the connection can use it and that the affected workload continues correctly, rather than merely showing that another port exists.
Separate attributes from migration state
The ibv_modify_qp contract lists alternate path attributes separately from path_mig_state, which is valid when the adapter supports automatic path migration. Loading an alternate port or address does not by itself prove that migration is armed or completed. Check return values and required attribute masks. An unsupported or invalid modification must not be converted into a successful configuration record simply because the application retained its desired values locally.
Keep the documented topology scope
The NVIDIA programming guide includes an APM example requiring a particular InfiniBand arrangement: usable paths through ports on the same subnet and consistent alternate details at the connection endpoints. Its code loads alternate attributes and changes migration state as distinct requested attributes. This is not evidence that the same mechanism works for arbitrary RoCE interfaces, routed Ethernet paths or every adapter. No example timing should become a recovery guarantee for a production workload.
Capture transitions at the actual queue pair
Inventory the QP transport type, capability, primary and alternate attributes, peer agreement and migration state before a planned isolated test. ibv_query_qp documents that validity depends on QP state and that path-related values can change when APM is enabled. Record observation time and QP identity, then collect the relevant asynchronous events and operation completions. A later query of a recreated connection is not proof that the original connection migrated successfully.
Evidence of a successful transition
The programming guide distinguishes a successful path-migration event from a migration-error event. On success, the alternate attributes become the primary path attributes. Acceptance should connect that event to the expected new path, completed communication and correct application-level work. Include a negative case such as inconsistent alternate attributes only within an approved safe fixture. Do not pull cables or disrupt shared fabric based on a documentation example; operational tests require their own authorized isolation and rollback procedure.
Migration is narrower than job recovery
Even a successful transport transition does not prove collective deadlines, application state or every connection in a distributed job survived. The GID identity guide addresses address selection rather than migration, and completion semantics explains why a failed operation needs its own outcome analysis. Report whether alternate details were loaded, readiness was established, migration was observed and useful work completed. Keeping these findings separate prevents a backup configuration from being presented as demonstrated transparent failover.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.