Restoring pair statuses in the consistency group when the primary volume is at the primary site
When a GAD pair is suspended due to a failure, when the primary volume is at the primary site, you can restore pair statuses in the consistency group after recovering from the failure.
Resynchronize or swap resynchronize a suspended pair.
- When the I/O mode of the primary volume is Local, resynchronize the pair by specifying the primary volume.
Command example:
pairresync -g oraHA -d dev0 -IH0
- When the I/O mode of the secondary volume is Local, swap resynchronize the pair by specifying the secondary volume.
Command example:
pairresync -g oraHA -swaps -d dev1 -IH1
- When the I/O mode of the primary volume is Local, resynchronize the pair by specifying the primary volume.
Suspend a pair whose primary volume is at the primary site by specifying the primary volume.
Command example:pairsplit -g oraHA -d dev0 -IH0
At the primary site, swap suspend the pair by specifying a consistency group.
Command example:pairsplit -g oraHA -RS -IH0
At this time, CCI does not return the command prompt, which causes the system to wait for a response. You should wait for a minute, then press Cntl+C to stop waiting for the response.
At the primary site, ensure that there are no pairs whose pair statuses are PAIR.
Command example:pairdisplay -g oraHA -fxce -IH0
If there are pairs whose status is PAIR, go back to Step 3.
At the primary site, swap resynchronize a pair whose status is SSWS by specifying the secondary volume.
Command example:pairresync -g oraHA -swaps -d dev1 -IH0
At the primary site, resynchronize the pair by specifying a consistency group.
Command example:pairresync -g oraHA -IH0
