Setting RVG attributes

The vxrvg set command can be used to change the Primary attribute by setting it to a boolean value, true or false. Before setting this attribute, ensure that the RVG is stopped, that is, data access has been disabled. If the value of the attribute is set as Primary=true, then this RVG is considered the Primary RVG and writes to this RVG are replicated to any Secondary hosts with which it is associated. If the value of the attribute is set as Primary=false, then the RVG is considered as a Secondary RVG that receives writes from the Primary RVG.

This operation succeeds only if the Replicator Log volume is dissociated from the RVG and the RVG is in passthru mode.

Syntax for vxrvg set command:

vxrvg [-f] [-g <diskgroup>] set attribute=value....<rvg>

Example:

vxrvg -g vvrdg set Primary=false rvg