Converting a Secondary RVG to Primary RVG

Last published : Jul 07, 2026
Use the vxrvg makeprimary command to convert a Secondary RVG to a Primary, that is to take over the Primary role. If the RVG has multiple RLINKs, with none of them attached, then it is necessary to explicitly specify the name of the RLINK to the original Primary. If you do not want to enable failback logging use the command with the -N option.
Note: Thevxrvg makeprimarycommand with the-F -roption performs the same task as thevxrds takeovercommand with the-autofboption. Hence, to perform a takeover operation you can use either of these commands.
The command when used with the -M option, enables you to migrate the Primary role even when the Primary is still available.
Note: Thevxrvg makeprimaryandvxrvg makesecondarycommands can be used to perform planned migration to interchange the roles when the Primary and Secondary are connected. The outcome of this is similar to what thevxrds migratecommand does. InfoScale also recommends that you first use thevxrvg makesecondarycommand on the current Primary before using thevxrvg makeprimarycommand on the Secondary. Doing it in reverse order makes the volumes writable on both hosts for a short while in between, and can result in data corruption.
Syntax for vxrvg makeprimary command
vxrvg [-g <diskgroup>] {-F [-r]| -N | -M} makeprimary <rvg>
\[<rlink>]
Example
vxrvg -g vvrdg -F -r makeprimary rvg rlink_sechost