Configuring VCS service group for VVR-based replication

Perform the following steps to configure VCS to monitor Volume Replicator (VVR). Then, set an online local hard group dependency from application service group (appgroup) to replication service group (appgroup_rep) to ensure that the service groups fail over and switch together.

To create the RVG resources in VCS

  1. Create a new service group, say appgroup_rep.
  2. Copy the DiskGroup resource from the appgroup to the new group.
  3. Configure new resources of type IP and NIC in the appgroup_rep service group. The IP resource monitors the virtual IP that VVR uses for replication.
  4. Configure a new resource of type RVG in the new (appgroup_rep) service group.
  5. Configure the RVG resource.

    See the Veritas InfoScale™ Replication Administrator's Guide for more information about the resource.

    Note that the RVG resource starts, stops, and monitors the RVG in its current state and does not promote or demote VVR when you want to change the direction of replication. That task is managed by the RVGPrimary agent.

  6. Set dependencies as per the following information:

    • RVG resource depends on the IP resource.

    • RVG resource depends on the DiskGroup resource.

    • IP resource depends on the NIC resource.

    The service group now looks like:
  7. Delete the DiskGroup resource from the appgroup service group.
  8. In the application service group (appgroup), add a resource of type RVGPrimary and configure its attributes.

    See the Veritas InfoScale™ Replication Administrator's Guide for more information about the resource.

  9. Set resource dependencies such that the Mount resource depends on the RVGPrimary resource.

    The appgroup now looks like:

To link the application and replication service groups

  1. In the Cluster Explorer configuration tree, click the cluster name.
  2. In the view panel, click the Service Groups tab.

    This opens the service group dependency graph.

  3. Click Link.
  4. Click the parent group, appgroup, and move the mouse toward the child group, appgroup_rep.
  5. Click the child group appgroup_rep.
  6. In the Link Service Groups dialog box, click the online local relationship and the hard dependency type and click OK.