Configuring VVR between primary and secondary nodes for deploying Oracle

To configure VVR between primary and secondary nodes

  1. Obtain the primary disk group ID.
    # vxprint -l  vvrdg
  2. Open the /etc/vx/vras/.rdg file on the primary node.
  3. Append the disk group ID in the /etc/vx/vras/.rdg file.

    Note:

    Ensure that each disk group ID entry in the .rdg file is on a separate line.

  4. Open the /etc/vx/vras/.rdg file on the secondary node.
  5. Append the disk group ID in the /etc/vx/vras/.rdg file.

    Note:

    Ensure that each disk group ID entry in the .rdg file is on a separate line.

  6. From the primary node, plumb for any random IP address on a network interface.
  7. From the secondary node, plumb for any random IP address on a network interface.
  8. Verify that you can ping these IP addresses from both the nodes.
    # ifconfig network_interface inet primary_IP netmask \
     subnet_mask up
    # ifconfig network_interface inet secondary_IP netmask \
     subnet_mask up
  9. Create the primary RVGs (Replicated Volume Group) of the RDS (Replicated Data Set) by using the following command for all the volumes that you want to replicate.
    # vradmin -g vvrdg createpri vvrdg_datavol_rvg datavol datavol_srl
    # vradmin -g vvrdg createpri vvrdg_archvol_rvg archvol archvol_srl
  10. Create secondary RVGs of the same name as the primary RVGs and add them to the RDS.
    # vradmin -g vvrdg addsec vvrdg_datavol_rvg primary_IP \
     secondary_IP
    # vradmin -g vvrdg addsec vvrdg_archvol_rvg primary_IP \
     secondary_IP
  11. Start replication to the secondary node.
    # vradmin -g vvrdg -a startrep vvrdg_datavol_rvg secondary_IP
    # vradmin -g vvrdg -a startrep vvrdg_archvol_rvg secondary_IP
  12. Stop replication.
    # vradmin -g vvrdg -f -s stoprep vvrdg_datavol_rvg secondary_IP
    # vradmin -g vvrdg -f -s stoprep vvrdg_archvol_rvg secondary_IP

See the Veritas InfoScale 7.1 Replication Administrator's Guide.