Use this option to switch the Primary and Secondary roles between two hosts, within the RDS. This option is generally used for planned moves. For example, the Primary may need to undergo some maintenance tasks. The migration operation first disables data access to the Primary and Secondary RVGs. This operation then tries to lock all the volumes under RVG and then checks if the Secondary is up-to-date.
If a disaster occurs at the Primary node it is an unplanned situation. In this case the Take Over option is used.
Note: |
Veritas recommends using the vxrvg dismount command to verify whether the migrate operation succeeds. |
The disable data access operation fails if it is unable to lock the volume due to any one of the following reasons:
Some application or file handles are still running on the volume hence it cannot be locked. The disable data access operation requires that no application should use those volumes.
The volume drive letter is accessed through an explorer.
The volume drive letter is active in the command prompt.
To migrate the Primary role
If the RVGPrimary resource is configured for the selected Primary RVG, then Volume Replicator does not allow the Migrate operation to succeed as this can cause the resource to get into a faulted state.
After migration, the replication to new Secondary becomes active. For all the other Secondary hosts, delete the existing RVGs and add them as Secondary hosts of the new Primary.