Metro Mirror and Global Mirror consistency groups

You can group active-active (HyperSwap®), Metro Mirror or Global Mirror relationships into a consistency group so that they can be updated at the same time.You can group Metro Mirror or Global Mirror relationships into a consistency group so that they can be updated at the same time. A command that is issued to the consistency group is simultaneously applied to all of the relationships in the group.

Active-active (for HyperSwap® volumes), Metro Mirror or Global Mirror relationships can be based on loose or tight associations.Metro Mirror or Global Mirror relationships can be based on loose or tight associations. A more significant use arises when the relationships contain volumes with a tight association. A simple example of a tight association is the spread of data for an application across more than one volume. A more complex example is when multiple applications run on different host systems. Each application has data on different volumes, and these applications exchange data with each other. In both examples, specific rules exist as to how the relationships can be updated. These rules ensure that the set of secondary volumes contain usable data. The key property is that these relationships are consistent.

HyperSwap®, Metro Mirror or Global Mirror relationships can only belong to one consistency group; however, they do not have to belong to a consistency group. Relationships that are not part of a consistency group are called stand-alone relationships. A consistency group can contain zero or more relationships. All relationships in a consistency group must have matching primary (master) and secondary (auxiliary) systems or sites. All relationships in a consistency group must also have the same copy direction and state.

HyperSwap®, Metro Mirror or Global Mirror relationships cannot belong to the same consistency group.Metro Mirror or Global Mirror relationships cannot belong to the same consistency group. A copy type is automatically assigned to a consistency group when the first relationship is added to the consistency group. After the consistency group is assigned a copy type, only relationships of that copy type can be added to the consistency group. Global Mirror relationships with different cycling modes cannot belong to the same consistency group.

The system supports the following types of relationships and consistency groups: Change volumes can be used in a number of cases with relationships. Active-active relationships and Global Mirror relationships with cycling mode set to Multiple must always be configured with change volumes. Metro Mirror and Global Mirror with cycling mode set to None can optionally be configured with change volumes, which can be used to maintain a consistent secondary image. If necessary, you can change the copy type of a Metro Mirror or Global Mirror remote-copy relationship or consistency group without re-creating the relationship or consistency group with the different type. For example, if the latency of the long-distance link affects host performance, you can change the copy type to Global Mirror to improve host performance over high latency links. For Global Mirror relationships with multiple cycling mode, changes are tracked and copied to intermediate change volumes. The changes are transmitted to the secondary site periodically to lower bandwidth requirements. If you are changing either a Metro Mirror or Global Mirror relationship or consistency group to a Global Mirror with change volumes (cycling mode set to Multiple), you must create change volumes on both the master and auxiliary volumes that are used in the relationship or consistency group.
Note: You cannot change the type of a HyperSwap® (active-active) relationship or consistency group.
Possible relationship directions:

Consistency group states

Table 1 describes the Metro Mirror and Global Mirror consistency group states.
Table 1. and Global Mirror Consistency group states
Management GUI icon1 State Description
Icon (one of two) that is used to identify the Metro Mirror inconsistent (stopped) state.Icon (two of two) that is used to identify the Global Mirror inconsistent (stopped) state. Inconsistent (stopped) The primary volumes are accessible for read and write I/O operations, but the secondary volumes are not accessible for either operation. A copy process must be started to make the secondary volumes consistent.
Icon (one of two) that is used to identify the Metro Mirror inconsistent (copying) state.Icon (two of two) that is used to identify the Global Mirror inconsistent (copying) state. Inconsistent (copying) The primary volumes are accessible for read and write I/O operations, but the secondary volumes are not accessible for either operation. This state is entered after the startrcconsistgrp command is issued to a consistency group in the InconsistentStopped state. This state is also entered when the startrcconsistgrp command is issued, with the force option, to a consistency group in the Idling or ConsistentStopped state.
Icon (one of two) that is used to identify the Metro Mirror consistent (stopped) state.Icon (two of two) that is used to identify the Global Mirror consistent (stopped) state. Consistent (stopped) The secondary volumes contain a consistent image, but it might be out-of-date with the primary volume. This state can occur when a relationship was in the ConsistentSynchronized state and experiences an error that forces a freeze of the consistency group. This state can occur while in the ConsistentSynchronized or ConsistentCopying state following a stoprcconsistgrp command. The state can also occur when a relationship between two volumes is created and the volumes are already synchronized.
Icon (one of two) that is used to identify the Metro Mirror consistent (copying) state.Icon (two of two) that is used to identify the Global Mirror consistent (copying) state. Consistent (copying) The primary volumes are accessible for read and write I/O operations. The secondary volumes contain a consistent image, but it might be out of date with the primary volume. This state applies to consistency groups that contain Global Mirror relationships with multiple-cycling.
Icon (one of two) that is used to identify the Metro Mirror consistent (synchronized) state.Icon (two of two) that is used to identify the Global Mirror consistent (synchronized) state. Consistent (synchronized) The primary volumes are accessible for read and write I/O operations. The secondary volumes are accessible for read-only I/O operations.
Icon (one of two) that is used to identify the Metro Mirror idling state.Icon (two of two) that is used to identify the Global Mirror idling state. Idling The primary volumes and the secondary volumes are both operating in the primary role. The volumes are accessible for write I/O operations.
Icon (one of two) that is used to identify the Metro Mirror idling (disconnected) state.Icon (two of two) that is used to identify the Global Mirror idling (disconnected) state. Idling (disconnected) The volumes in this half of the consistency group are all operating in the primary role and can accept read or write I/O operations.
Icon (one of two) that is used to identify the Metro Mirror inconsistent (disconnected) state.Icon (two of two) that is used to identify the Global Mirror inconsistent (disconnected) state. Inconsistent (disconnected) The volumes in this half of the consistency group are all operating in the primary role and can accept read or write I/O operations.
Icon (one of two) that is used to identify the Metro Mirror consistent (disconnected) state.Icon (two of two) that is used to identify the Global Mirror consistent (disconnected) state. Consistent (disconnected) The volumes in this half of the consistency group are all operating in the secondary role and cannot accept read or write I/O operations.
Icon (one of two) that is used to identify the Metro Mirror empty state.Icon (two of two) that is used to identify the Global Mirror empty state. Empty The consistency group does not contain any relationships.
Metro Mirror and Global Mirror relationships that are not in a consistency group. (No state) Metro Mirror and Global Mirror relationships that are not in a consistency group.

1 In rows where two Management GUI icons are shown, the first icon indicates a synchronous-copy Metro Mirror state. The second icon in each row indicates an asynchronous-copy Global Mirror state.

Note: Volume copies are synchronized when their contents are consistent. If write operations take place on either the primary or secondary volume after a consistent (stopped) or idling state occurs, they might no longer be synchronized.