Recovering Remote Copy groups in a failsafe state with auto_synchronize off

In this example, the failed and recovered storage system is the primary system (SystemA). The failover storage system is the secondary system (SystemB).

Prerequisites
  • Both storage systems are ready to resume normal operations.

Procedure
  1. Log in to the failover storage system.
  2. Confirm the Remote Copy links are up.
    cli% showrcopy links
    • If the links are up, go to the next step.

    • If the links are not up, troubleshoot the problem. See HPE Primera OS: Troubleshooting your Remote Copy configuration. Wait for the links to come up and then continue to the next step.

  3. Recover the target group.
    cli% setrcopygroup recover -t <sync target>

    Where: <sync target> is the name of the target Remote Copy group on the primary system (SystemA).

    The Remote Copy group on SystemA is changed from primary to secondary-rev.

  4. Wait for the volumes to synchronize (the SyncStatus shows Synced).
    cli% showrcopy
  5. Reverse the role of the Remote Copy group.
    cli% setrcopygroup reverse -natural -t <sync target>

    The Remote Copy group on SystemA is changed from secondary-rev to secondary. The Remote Copy group on SystemB is changed from primary-rev to primary.

  6. (Optional) To change the groups back to the original configuration:
    cli% setrcopygroup switchover -t <sync target>

    The Remote Copy group on SystemA is changed to primary. The Remote Copy group on SystemB is changed to secondary. The replication direction changes so that SystemA replicates to SystemB.