Configuring service groups for global cluster setup

Perform the following steps to configure the service groups for disaster recovery.

To configure service groups

  1. At the secondary site, set up the application for high availability.

    Configure VCS service groups for the application. Create a configuration that is similar to the one in the first cluster.

  2. To assign remote administration privileges to users for remote cluster operations, configure users with the same name and privileges on both clusters.

    See User privileges in global clusters.

  3. If your setup uses BIND DNS, add a resource of type DNS to the application service group at each site.

    Refer to the Veritas Cluster Server Bundled Agent's Reference Guide for more details.

  4. At each site, perform the following depending on the replication technology you have set up:
Configuring VCS service group for VVR-based replication

Perform the following steps to configure VCS to monitor Veritas 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 Cluster Server Agents for Veritas Volume Replicator Configuration 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:

Click the thumbnail above to view full-sized image.

  1. Delete the DiskGroup resource from the appgroup service group.
  2. In the application service group (appgroup), add a resource of type RVGPrimary and configure its attributes.

    See the Veritas Cluster Server Agents for Veritas Volume Replicator Configuration Guide for more information about the resource.

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

    The appgroup now looks like:

Click the thumbnail above to view full-sized image.

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.