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.

  1. 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

  2. Suspend a pair whose primary volume is at the primary site by specifying the primary volume.

    Command example:

    pairsplit -g oraHA -d dev0 -IH0

  3. At the primary site, swap suspend the pair by specifying a consistency group.

    Command example:

    pairsplit -g oraHA -RS -IH0

    At this time, RAID Manager 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.

  4. 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.

  5. 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

  6. At the primary site, resynchronize the pair by specifying a consistency group.

    Command example:

    pairresync -g oraHA -IH0