Before creating the RVG on the primary site, make sure the volumes and CVM group are active and online.
To review the status of replication objects on the primary site
# ps -ef |grep vradmin root 536594 598036 0 12:31:25 0 0:00 grep vradmin
If vradmin is not running start it:
# vxstart_vvr VxVM VVR INFO V-5-2-3935 Using following ports: heartbeat: 4145 vradmind: 8199 vxrsyncd: 8989 data: Anonymous-Ports To change, see vrport(1M) command # ps -ef |grep vradmin root 536782 1 0 12:32:47 - 0:00 /usr/sbin/vradmind root 1048622 598036 0 12:32:55 0 0:00 grep vradmin # netstat -an |grep 4145 tcp4 0 0 *.4145 *.* LISTEN udp4 0 0 *.4145 *.*
The command to create the primary RVG takes the form:
vradmin -g disk_group createpri rvg_name data_volume srl_volume
where:
disk_group is the name of the disk group containing the database
rvg_name is the name for the RVG
data_volume is the volume that VVR replicates
srl_volume is the volume for the SRL
The command creates the RVG on the primary site and adds a Data Change Map (DCM) for each data volume. In this case, a DCM exists for rac1_vol.