Veritas Storage Foundation 5.1 SP1 Cluster File System Installation Guide (5900-1510, April 2011)

To review the status of replication objects on the primary site
1
Verify the volumes you intend to include in the group are active.
2
Review the output of the hagrp -state cvm command to verify that the CVM
group is online.
3
On each site, verify vradmin is running:
# 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 *.*
To create the RVG
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
For example, to create the rac1_rvg RVG, enter:
# vradmin -g oradatadg createpri rac1_rvg rac1_vol rac1_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.
Configuring a global cluster using VVR
Setting up replication using VVR on the primary site
326