| United States-English |
|
|
|
![]() |
Designing Disaster Tolerant High Availability Clusters: > Chapter 4 Designing
a Continental ClusterDesigning a Disaster Tolerant Architecture for use with Continentalclusters |
|
The Continentalclusters product operates as a configuration of two Serviceguard clusters, which can run a package on a cluster and a Recovery Cluster. The key elements providing disaster tolerance in a continental cluster are:
You have a great deal of latitude in selecting these elements for your configuration. It is recommended that you record your choices on worksheets which can be reviewed and updated periodically. For mutual recovery, any cluster in a continental cluster may contain both primary and recovery packages for any recovery group. Recovery groups may be defined, for example, such that cluster A and cluster B contain recovery packages. In this case, cmrecovercl could be run on cluster B to recover packages from cluster A, or on cluster A to recover packages from cluster B. Each Serviceguard cluster in a continental cluster provides high availability for an application at the local level at that particular site. For optimal performance and to assure adequate capacity on the recovery cluster, it is best to have similar hardware on both clusters. For example, if one cluster contains two V class HP 9000 systems with 1Gb of memory each, it is not a good idea to have a low-end K series HP 9000 with 128 Mb of memory in the other cluster. Each cluster may have as many nodes as are permitted in an ordinary Serviceguard cluster, and each may be running packages that are not configured to fail over between clusters.
Data replication between the Serviceguard clusters extends the scope of high availability to the level of the continental cluster. You must select a technology for data replication between the two clusters. There are many possible choices, including:
Table 4-3 “Data Replication and Continentalclusters” is a brief discussion of how a data replication method affects a continental cluster environment. A detailed description of data replication can be found in Chapter 1, in the section titled “Disaster Tolerant and Recovery in a Serviceguard Cluster.” Specific guidelines for configuring the HP StorageWorks E Disk Array XP Series and the EMC Symmetrix Disk Array for physical data replication in a continental cluster are provided in Chapters 5 and 6. In order to use these data replication solutions in a Continentalclusters environment you will need to purchase Metrocluster/CA and Metrocluster/SRDF products separately. White papers describing specific implementations are also available from http://docs.hp.com/hpux/ha. If you choose a data replication technology that is not mentioned above, and if you want to do your own integration, you have to use the guidelines described in section, Using the Recovery Command to Switch All Packages. In that case, note the following:
Table 4-3 Data Replication and Continentalclusters
Logical data replication may require the use of packages to handle software processes that copy data from one cluster to another or that apply transactions from logs that are copied from one cluster to another. Some methods of logical data replication may use a logical replication data sender package; others may use a logical replication data receiver package; some may use both. Logical replication data sender and receiver packages are configured as part of the data recovery group, as shown below under “Creating the Continentalclusters Configuration.” For physical data replication Continentalclusters had two pre-integrated solutions. One uses XP/CA and other uses EMC/SRDF. In order to use these data replication solutions in a Continentalclusters environment you will need to purchase the Metrocluster/CA or Metrocluster/SRDF products separately. Physical data replication generally does not require the use of separate sender or receiver packages, but it does require specialized logic in the package control scripts to handle the transfer of control from the storage units of one cluster to the storage units at the other cluster. The packages that use physical data replication with the HP StorageWorks E Disk Array XP Series with Continuous Access XP should have created a specific environment file using template /opt/cmcluster/toolkit/SGCA/xpca.env; for packages that are using physical data replication with EMC Symmetrix and the SRDF facility should be created using /opt/cmcluster/toolkit/SGSRDF/srdf.env. Both of these templates can be purchased separately with the product Metrocluster/CA or Metrocluster/SRDF. Details on configuring the special Continentalclusters control scripts are in Chapters 5 and 6. Some additional notes are provided below. Disaster tolerant networking for Continentalclusters is directly tied to the data replication method. In addition to the reliability of the redundant lines connecting the remote nodes, you also need to consider what bandwidth you need to support the data replication method you have chosen. A continental cluster that handles a high number of write transactions per minute will not only require a highly available network, but also one with a large amount of bandwidth. Details on highly available networking can be found in Chapter 1, in the section titled “Disaster Tolerant Architecture Guidelines.” White papers describing specific implementations are also available from http://docs.hp.com. Continentalclusters provides the cmrecovercl command that fails over all applications on the primary cluster that are protected by Continentalclusters. However, application failover also requires well-defined processes for the two sites. These processes and procedures should be written down and made available at both sites. Some considerations for site management are as follows:
Planning is an essential effort in creating a robust continental cluster environment. It is recommended that you record the details of your configuration on planning worksheets. These worksheets can be filled in partially before configuration begins, and then completed as you build the continental cluster. Both the site with the cluster and the site with the Recovery Cluster should have a copy of these worksheets to help coordinate initial configuration and subsequent changes. Complete the worksheets in the following sections for each pair of clusters that will be monitored by the Continentalclusters monitor. The following worksheet will help you describe your specific data center configuration. Fill out the worksheet and keep it for future reference.
The following worksheet will help you organize and record your specific recovery groups. Fill out the worksheet and keep it for future reference.
The following worksheet will help you organize and record the cluster events you wish to track. Fill out a worksheet for each primary or recovery cluster that you wish to monitor. You must monitor each cluster containing a recovery package.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||