Converting a Primary to a Secondary

Last published : Jun 12, 2026
Use the vxrds makesec command to convert the specified Primary RVG to a Secondary RVG and associate it to the RDS, to which the RVG belongs. The oldsec_hostname parameter specifies the name of the host which is now the new Primary.
You must run this command only after you perform the Takeover operation.
Note: Make sure that you run thevxrds makeseccommand only on the original Primary.
If the original Primary RVG is part of a VCS cluster and the RVGPrimary resource exists, then Volume Replicator fails the vxrvg makesec command for this RVG.
Syntax for vxrds makesec command
vxrds [-g <diskgroup>] makesec <local_rvg> <oldsec_hostname>
Example
vxrds -g vvrdg makesec rvg host