Consistency groups

Consistency groups are used for controlling error situations and for maintaining data consistency at a recovery site.

You can create paths from a source LSS to a target LSS that have the consistency group option enabled. All volume pairs in remote mirror and copy relationships from this source to target LSS (sharing the same paths) belong to the consistency group. Other volumes pairs are not affected.

With the consistency group option enabled, when an error occurs on any volume pairs or on the links that are associated with these LSS pairs, an alert is issued and I/O to all duplex remote mirror and copy volumes on LSS pairs will be queued either until a consistency group created operation is run or the consistency group timeout time expires, allowing external automation to use the consistency group created operation to create a dependent write consistent set of target volumes over any number of LSS and disk storage units.

External automation or command-line interface commands can issue a "freeze" to all LSS pairs that relate to the application, affecting the set of source volumes in the consistency group. The freeze operation causes the source volumes to suspend and their associated paths to end. Therefore, all associated updates at the recovery site are halted, resulting in a consistent data checkpoint. The automation program is not a part of the software provided with the storage unit; it must be supplied by the user. However, IBM has offerings to assist with this automation. For more information, contact your IBM storage representative.

A consistency grouping timeout function gives automation software the time to issue the automated requests to ensure consistency. The consistency grouping timeout is a value that specifies the length of time that the volume remains in long-busy (unavailable) following an error. The default value for this parameter is set to two minutes.

Note: The consistency group option is not required for Global Mirror or for Global Copy. The Global Copy target volumes at the recovery site are likely to be inconsistent. Consistency of the volume pairs can be ensured only when all updates are transmitted and copied to the recovery site while the application write operations are quiesced. Global Mirror uses a function called a session to control the formation of consistency groups. (A session is a collection of volumes across multiple storage units that are managed together to create consistent copies of data.) The formation of these consistency groups is coordinated by the "master" storage unit, which sends commands over remote mirror and copy links to its "subordinate" storage units.
The following describes the behavior of these volume pairs when an error occurs that affects a volume in a consistency group:

A critical mode determines the behavior of the remote mirror and copy pairs or consistency groups after a failure in communication between the source and target storage units when all the paths between a pair are lost.