FlashCopy consistency groups Consistency groups Remote Copy consistency groups

This topic provides an overview of FlashCopy consistency groups.

To copy a VDisk, it must be part of a FlashCopy mapping or of a consistency group.

When you copy data from one virtual disk (VDisk) to another, that data might not include all that you need to enable you to use the copy. Many applications have data that spans multiple VDisks and that include the requirement that data integrity is preserved across VDisks. For example, the logs for a particular database usually reside on a different VDisk than the VDisk that contains the data.

Consistency groups address the problem when applications have related data that spans multiple VDisks. In this situation, FlashCopy must be performed in a way that preserves data integrity across the multiple VDisks. One requirement for preserving the integrity of data being written is to ensure that dependent writes are run in the intended sequence of the application.

A consistency group is a container for mappings. You can add many mappings to a consistency group. The consistency group is specified when the mapping is created. You can also change the consistency group later. When you use a consistency group, you prepare and trigger that group instead of the various mappings. This ensures that a consistent copy is made of all the source VDisks. Mappings that you want to control at an individual level instead of at a consistency group level, should not be put into a consistency group. These mappings are known as stand-alone mappings.

FlashCopy consistency-group states

At any point in time, a FlashCopy consistency group is in one of the following states:

Idle or copied
The source and target VDisks act independently even if a FlashCopy consistency group exists. Read and write caching is enabled for the source VDisks and target VDisks.
Copying
The copy is in progress.
Prepared
The consistency group is ready to start. While in this state, the target VDisks are offline.
Preparing
Any changed write data for the source VDisks is flushed from the cache. Any read or write data for the target VDisks is discarded from the cache.
Stopped
The consistency group is stopped because either you issued a command or an input/output (I/O) error occurred. Preparing and starting the consistency group again can restart the copy.
Suspended
The consistency group was started, but it did not complete. The source VDisks might be unavailable, or the copy bitmap might be offline. If the consistency group does not return to the copying state, stop the consistency group to reset the consistency group.
Related topics Consistency groups Remote Copy consistency groups

(C) Copyright International Business Machines Corporation 2003, 2004