Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 User's Guide   

Setting Up a Global Cluster

This section describes the steps for planning, configuring, and testing a global cluster. It describes an example of converting a single instance Oracle database configured for local high availability in a VCS cluster to a highly available, disaster-protected infrastructure using a second cluster. The solution uses VERITAS Volume Replicator to replicate changed data real-time.

In this example, a single-instance Oracle database is configured as a VCS service group (appgroup) on a two-node cluster. The service group configuration looks like:

Click the thumbnail above to view full-sized image.


Note   Note    Before beginning the process, review the prerequisites listed in the section Before Configuring Global Clusters and make sure your configuration is ready for a global cluster application.

The process involves the following steps:

Preparing the Application for the Global Environment

Install the application (Oracle in this example) in the second cluster. Make sure the installation is identical with the one in the first cluster.

Set up replication between the shared disk groups in both clusters. If your configuration uses VVR, the process involves grouping the shared data volumes in the first cluster into a Replicated Volume Group (RVG), and creating the VVR Secondary on hosts in the new cluster, located in your remote site.

Running the GCO Configuration Wizard

If you are upgrading from a single-cluster setup to a multi-cluster setup, run the GCO Configuration wizard to create or update the ClusterService group. The wizard verifies your configuration and validates it for a global cluster setup. You must have the GCO license installed on all nodes in the cluster. For more information, see Installing a VCS License.

  To run the GCO Configuration wizard

  1. Start the GCO Configuration wizard.
      # sh /opt/VRTSvcs/bin/gcoconfig
  2. The wizard discovers the NIC devices on the local system and prompts you to enter the device to be used for the global cluster. Specify the name of the device and press Enter.
  3. If you do not have NIC resources in your configuration, the wizard asks you whether the specified NIC will be the public NIC used by all systems. Enter y if it is the public NIC; otherwise enter n. If you entered n, the wizard prompts you to enter the names of NICs on all systems.
  4. Enter the virtual IP to be used for the global cluster.
  5. If you do not have IP resources in your configuration, the wizard prompts you for the netmask associated with the virtual IP. The wizard detects the netmask; you can accept the suggested value or enter another value.
  6. The wizard starts running commands to create or update the ClusterService group. Various messages indicate the status of these commands. After running these commands, the wizard brings the ClusterService group online.

Configuring Replication

VCS supports several replication solutions for global clustering. Please contact your VERITAS sales representative for the solutions supported by VCS. This section describes how to set up replication using VERITAS Volume Replicator (VVR.)

Adding the RVG Resources

  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.

    The RVG agent ships with the VVR software. If the RVG resource type is not defined in your configuration, import it, as instructed below.

    1. On the File menu, click Import Types.
    2. In the Import Types dialog box, click the file from which to import the resource type. By default, the RVG resource type is located at the path /etc/VRTSvcs/conf/VVRTypes.cf.
    3. Click Import.
  5. Configure the following attributes of the RVG resource:

    • RVG---The name of the RVG.
    • DiskGroup---The name of the diskgroup containing the RVG.
    • Primary---Whether this is the Primary.
    • SRL---The SRL associated with the RVG.
    • RLinks---Names of Rlinks associated with the RVG. You can retrieve Rlink names by using the vxprint -l command.

    • Note   Note    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

  1. 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:

      Click the thumbnail above to view full-sized image.

  2. Delete the DiskGroup resource from the appgroup service group.
  3. In the appgroup service group, add a resource of type RVGPrimary and configure its attributes:

    • RVGResourceName---The name of the RVG resource that this agent will promote.
    • AutoTakeover---A flag that indicates whether the agent should perform a takeover in promoting a Secondary RVG if the original Primary is down. Default is 1, meaning a takeover will be performed.
    • AutoResync---A flag that indicates whether the agent should configure the RVG to perform an automatic resynchronization after a takeover and once the original Primary is restored. Default is 0, meaning automatic resynchronization will not occur.

  4. Set resource dependencies such that the Mount resources depends on the RVGPrimary resource.

    The appgroup now looks like:

    Click the thumbnail above to view full-sized image.

  5. If your setup uses BIND DNS, add a resource of type DNS to the appgroup service group and configure its attributes:

    • Domain---Domain name. For example, veritas.com.
    • Alias---Alias to the canonical name. For example, www.
    • HostName---Canonical name of a system or its IP address. For example, mtv.veritas.com.
    • TTL---Time To Live (in seconds) for the DNS entries in the zone being updated. Default value: 86400.
    • StealthMasters---List of primary master name servers in the domain. This attribute is optional if the primary master name server is listed in the zone's NS record. If the primary master name server is a stealth server, the attribute must be defined.
      • Note that a stealth server is a name server that is authoritative for a zone but is not listed in the zone's NS records.

 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com