Pair resynchronization updates the S-VOL (or P-VOL) by copying the differential data accumulated since the pair was suspended. The volume that was not receiving update data while the pair was suspended is resynchronized with the volume that was receiving update data. When resynchronization completes, the host can read from and write directly to the P-VOL or the S-VOL.
To resynchronize a GAD pair, you can use either of the following methods:
- Specify the P-VOL to resynchronize a GAD pair. Data in the P-VOL is copied to the S-VOL, and the pair is resynchronized.
- Specify the S-VOL to resynchronize a GAD pair (swap resync). The P-VOL is replaced with the S-VOL. The new P-VOL data is copied to the S-VOL, and the pair is resynchronized.
When resynchronizing a pair that is registered to a consistency group, you can also resynchronize all GAD pairs in the consistency group to which that pair is registered. When resynchronizing a pair that is not registered to a consistency group, you can register that pair to a consistency group.
When resynchronizing GAD pairs by consistency group, the resynchronize pair operations are completed first, and then the GAD pair statuses change to Mirroring or Mirrored. After you perform the pair resynchronization, confirm that the status of all pairs in the consistency group has changed to Mirroring or Mirrored. When many pairs are registered to the consistency group, it might take a few minutes for all pair statuses to change to Mirroring or Mirrored. If the pair statuses do not change to Mirroring or Mirrored after a few minutes, the pair status transitions might have failed due to some error condition.
For details about storage system support (firmware) for consistency groups, see Requirements and restrictions.
- In the storage system in which the secondary volume is located, resynchronize the pairs without specifying the consistency group ID. If you resynchronize a pair in the storage system in which the secondary volume is located, the primary volume and the secondary volume are reversed (swap resynchronization).
- Suspend the GAD pair in the storage system in which the primary volume (the secondary volume before swap resynchronization) is located.
- In the storage system in which the primary volume is located, specify the consistency group ID to resynchronize the pair.
Prerequisite
- The GAD pair must be suspended (the status of both pair volumes must be PSUE).
Command example
pairresync -g oraHA -IH0