InfoScale™ 9.0 Disaster Recovery Implementation Guide - Linux
- Section I. Introducing Storage Foundation and High Availability Solutions for disaster recovery
- About supported disaster recovery scenarios
- About campus cluster configuration
- About replicated data clusters
- About global clusters
- VCS global clusters: The building blocks
- About global cluster management
- About serialization - The Authority attribute
- Planning for disaster recovery
- About supported disaster recovery scenarios
- Section II. Implementing campus clusters
- Setting up campus clusters for VCS and SFHA
- About setting up a campus cluster configuration
- About running a fire drill in a campus cluster
- About setting up a campus cluster configuration
- Setting up campus clusters for SFCFSHA, SFRAC
- Setting up campus clusters for VCS and SFHA
- Section III. Implementing replicated data clusters
- Configuring a replicated data cluster using VVR
- Configuring a replicated data cluster using third-party replication
- Section IV. Implementing global clusters
- Configuring global clusters for VCS and SFHA
- Setting up VVR replication
- Creating a Replicated Data Set
- Creating a Primary RVG of an RDS
- Adding a Secondary to an RDS
- Changing the replication settings for a Secondary
- Synchronizing the Secondary and starting replication
- Starting replication when the data volumes are zero initialized
- Configuring clusters for global cluster setup
- Configuring service groups for global cluster setup
- Configuring a global cluster with Storage Foundation Cluster File System High Availability, Storage Foundation for Oracle RAC, or Storage Foundation for Sybase CE
- Configuring the secondary site
- Configuring global clusters with VVR and Storage Foundation Cluster File System High Availability, Storage Foundation for Oracle RAC, or Storage Foundation for Sybase CE
- Setting up replication on the primary site using VVR
- Setting up replication on the secondary site using VVR
- Configuring Cluster Server to replicate the database volume using VVR
- Configuring global clusters for VCS and SFHA
- Section V. Reference
- Appendix A. Sample configuration files
- Sample Storage Foundation for Oracle RAC configuration files
- About sample main.cf files for Storage Foundation (SF) for Oracle RAC
- About sample main.cf files for Storage Foundation (SF) for Sybase ASE CE
- Appendix A. Sample configuration files
How VCS campus clusters work
This topic describes how VCS works with VxVM to provide high availability in a campus cluster environment.
In a campus cluster setup, VxVM automatically mirrors volumes across sites. To enhance read performance, VxVM reads from the plexes at the local site where the application is running. VxVM writes to plexes at both the sites.
In the event of a storage failure at a site, VxVM detaches all the disks at the failed site from the disk group to maintain data consistency. When the failed storage comes back online, VxVM automatically reattaches the site to the disk group and recovers the plexes.
See the Storage Foundation Cluster File System High Availability Administrator's Guide for more information.
When service group or system faults occur, VCS fails over service groups based on the values you set for the cluster attribute SiteAware and the service group attribute AutoFailOver.
For campus cluster setup, you must define sites and add systems to the sites that you defined. A system can belong to only one site. Sit e definitions are uniform across VCS, You can define sites Arctera InfoScale Operations Manager, and VxVM. You can define site dependencies to restrict connected applications to fail over within the same site.
You can define sites by using:
Arctera InfoScale Operations Manager
For more information on configuring sites, see the latest version of the Arctera InfoScale Operations Manager User guide.
Depending on the value of the AutoFailOver attribute, VCS failover behavior is as follows:
0 | VCS does not fail over the service group. |
1 | VCS fails over the service group to another suitable node. By default, the AutoFailOver attribute value is set to 1. |
2 | VCS fails over the service group if another suitable node exists in the same site. Otherwise, VCS waits for administrator intervention to initiate the service group failover to a suitable node in the other site. This configuration requires the HA/DR license enabled. Arctera recommends that you set the value of AutoFailOver attribute to 2. |
Sample definition for these service group attributes in the VCS main.cf is as follows:
cluster VCS_CLUS ( PreferredFencingPolicy = Site SiteAware = 1 ) site MTV ( SystemList = { sys1, sys2 } ) site SFO ( Preference = 2 SystemList = { sys3, sys4 } )
The sample configuration for hybrid_group with AutoFailover = 1 and failover_group with AutoFailover = 2 is as following:
hybrid_group ( Parallel = 2 SystemList = { sys1 = 0, sys2 = 1, sys3 = 2, sys4 = 3 } ) failover_group ( AutoFailover = 2 SystemList = { sys1 = 0, sys2 = 1, sys3 = 2, sys4 = 3 } )
Table: Failure scenarios in campus cluster lists the possible failure scenarios and how VCS campus cluster recovers from these failures.
Table: Failure scenarios in campus cluster
Failure | Description and recovery |
---|---|
Node failure |
If the value of the AutoFailOver attribute is set to 0, VCS requires administrator intervention to initiate a fail over in both the cases of node failure. |
Application failure | The behavior is similar to the node failure. |
Storage failure - one or more disks at a site fails | VCS does not fail over the service group when such a storage failure occurs. VxVM detaches the site from the disk group if any volume in that disk group does not have at least one valid plex at the site where the disks failed. VxVM does not detach the site from the disk group in the following cases:
If only some of the disks that failed come online and if the vxrelocd daemon is running, VxVM relocates the remaining failed disks to any available disks. Then, VxVM automatically reattaches the site to the disk group and resynchronizes the plexes to recover the volumes. If all the disks that failed come online, VxVM automatically reattaches the site to the disk group and resynchronizes the plexes to recover the volumes. |
Storage failure - all disks at both sites fail | VCS acts based on the DiskGroup agent's PanicSystemOnDGLoss attribute value. See the Cluster Server Bundled Agents Reference Guide for more information. |
Site failure | All nodes and storage at a site fail. Depending on the value of the AutoFailOver attribute, VCS fails over the service group as follows:
Because the storage at the failed site is inaccessible, VCS imports the disk group in the application service group with all devices at the failed site marked as NODEVICE. When the storage at the failed site comes online, VxVM automatically reattaches the site to the disk group and resynchronizes the plexes to recover the volumes. |
Network failure (LLT interconnect failure) | Nodes at each site lose connectivity to the nodes at the other site The failure of all private interconnects between the nodes can result in split brain scenario and cause data corruption. Review the details on other possible causes of split brain and how I/O fencing protects shared data from corruption. Arctera recommends that you configure I/O fencing to prevent data corruption in campus clusters. When the cluster attribute PreferredFencingPolicy is set as Site, the fencing driver gives preference to the node with higher site priority during the race for coordination points. VCS uses the site-level attribute Preference to determine the node weight. |
Network failure (LLT and storage interconnect failure) | Nodes at each site lose connectivity to the storage and the nodes at the other site Arctera recommends that you configure I/O fencing to prevent split brain and serial split brain conditions.
|