Configuring Cluster Server to replicate the database volume using VVR

After configuring both clusters for global clustering and setting up the database for replication, configure Cluster Server (VCS) to provide high availability for the database. Specifically, configure VCS agents to control the cluster resources, including the replication resources.

Table: Tasks for configuring VCS to replicate the database volume using VVR

Task

Description

Modify the VCS configuration on the primary site

Modifying the VCS configuration on the secondary site

The following resources must be configured or modified for replication:

Table: VCS resource modifications for replication with VVR

Resource

Modification

Log owner service group

Create a log owner service group including the RVGLogowner resources. The RVGLogowner resources are used by:

  • RLINKs for the RVG

  • RVGLogowner resource. The RVG and its associated disk group are defined as attributes for the RVGLogowner resource.

Replicated Volume Group (RVG) service group

Create an RVG group that includes the RVGShared resource replication objects. Define the RVGShared resource and CVMVolDg resource together within a parallel service group. The group is defined as parallel because it may be online at the same time on all cluster nodes.

The RVG log owner service group has an online local firm dependency on the service group containing the RVG.

VCS uses the following agents to control the following resources:

  • RVGLogowner agent to control the RVGLogowner resource

  • RVGShared agent to control the RVGShared resource

CVMVolDg resource

The CVMVolDg resource does not have replicated service volumes specified for the CVMVolume attribute; the volumes are contained in the RVG resource. The CVMVolume attribute for the CVMVolDg resource is empty because all volumes in the RVG are defined by the RVG attribute of the RVGShared resource. The RVG service group has an online local firm dependency on the CVM service group.

RVGSharedPri resource

Add the RVGSharedPri resource to the existing database service group. The CVMVolDg resource must be removed from the existing database service group.

Database service group

The existing database service group is a parallel group consisting of the database resource, CVMVolDg resource, and CFSMount resource (if the database resides in a cluster file system). Define the database service group as a global group by specifying the clusters on the primary and secondary sites as values for the ClusterList group attribute.

For more information on service replication resources:

See the Cluster Server Bundled Agents Guide

Review the following illustrations that display the changes to the VCS configuration, after setting up replication on the existing database. All of the dependencies between parent and child groups are online local firm. The CVM service group is the same in all illustrations because its definition requires no changes.

Configuration before modification for replication:

Figure: Dependencies before modification for replication of Oracle RAC

Dependencies before modification for replication of Oracle RAC

Figure: Dependencies before modification for replication of Sybase ASE CE

Dependencies before modification for replication of Sybase ASE CEprod_sfsybasece

Configuration after modification for replication:

Figure: Dependencies after modification for replication of Oracle RAC

Dependencies after modification for replication of Oracle RAC

Figure: Dependencies after modification for replication of Sybase ASE CE

Dependencies after modification for replication of Sybase ASE CEprod_sfsybasece

More Information

Modifying the Cluster Server (VCS) configuration on the primary site

Modifying the VCS configuration on the secondary site