Taking over the Primary role using the vxrds takeover command

Use the vxrds takeover command to enable the Secondary host to take over the Primary role. When the automatic failback feature is enabled using the -autofb option, the original Primary automatically becomes the Secondary, after it is available again.

The takeover command must be run on the Secondary host in the RDS and it works only when the Primary host in the RDS is down or not reachable from the Secondary due to some problems such as, network failure or HBA failure, or due to a disaster. After takeover the Secondary RVG is converted to a Primary RVG. However, the original Primary must become available again for the fast-failback to work successfully.

Note:

The Secondary must be consistent for this command to work.

Syntax for vxrds takeover command

vxrds [-g <diskgroup>] [[-F] [-autofb]] | [-N] takeover<local_rvg>

For example, to perform takeover with failback logging and Automatic Synchronization run the vxrds takeover command as follows:

vxrds -g vvrdg -autofb takeover rvgvxrds -g vvrdg -f takeover rvg

To perform takeover without the failback logging option, run the vxrds takeover command as follows

vxrds -g vvrdg -N takeover rvg