Before creating the Replicated Volume Group (RVG) on the primary site, make sure the replication objects are active and online.
To review the status of replication objects on the primary site
hagrp -state cvm
command.
vradmin
command:
vradmin -g disk_group createpri rvg_name data_volume srl_volume
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.