Creating the Primary RVG

Use the vxrds createpri command to create a Primary RVG using the attributes that are available with the command. Before using the createpri command, use the vxassist command to create the data volumes and Replicator Log volumes with the required layout. Run the createpri command on the host that you configure as the Primary host of the new RDS.

Syntax for vxrds createpri command

vxrds -g <diskgroup> createpri <rvg_name> [attribute=value...]

Example

vxrds -g vvrdg createpri rvg vols=dv1,dv2 srl=rep_log rds=rds

The following table describes the attributes that can be specified with vxrds createpri command.

Table: Attributes for vxrds createpri command

Attributes

Description

vols

Specifies a comma-separated list of the data volumes.

srl

Specifies the volume name that needs to be used as the Replicator Log volume.

rds

Specifies the RDS name that needs to be associated to the RVG.

Note:

If you do not specify the RDS name then the RVG name is considered as the RDS name.