Creating and adding a Secondary RVG

Last published : Jun 12, 2026
Use the vxrds addsec command to create a Secondary RVG with the same name as the Primary RVG and add it to the RDS, to which the RVG belongs. The addsec command associates the existing data volumes and Replicator Log volumes on the Secondary node with the newly created Secondary RVG. It creates and associates Primary and Secondary RLINKs with the Primary and Secondary RVG.
Before using the addsec command, ensure that the data volumes and Replicator Log volume with the same name as that on the Primary node are present on the Secondary node.
By default, the addsec command sets the replication protocol to be UDP. This command can be executed from the Primary or any existing Secondary host in the RDS. If an RDS contains only a Primary host, then addsec must be executed from the Primary host.
Note: Do not run this command from the Secondary host that is added to the RDS. Also make sure that the volumes that you add to the Secondary RVG do not have a DRL.
Syntax for vxrds addsec command
vxrds [-g <diskgroup>] addsec <local_rvg> <pri_host> <sec_host>
 [attribute=value..]
Example
vxrds -g vvrdg addsec rvg pri_host sec_host
vxrds -g vvrdg addsec rvg pri_host sec_host prlink=rlk_to_sec
 \srlink=rlk_to_pri