Updated on 2024-12-19 GMT+08:00

Detaching a Replication Pair

Scenarios

Detach replication pairs from protected instances. After a replication pair is detached from a protected instance, the replication relationship between the two disks remains, but the server data can no longer be written to the disks.

Prerequisites

  • The protection group is in the Available, Protecting, Failover complete, Enabling protection failed, Disabling protection failed, Switchover failed, or Failover failed state.
  • The protected instance is in the Available, Protecting, Failover complete, Enabling protection failed, Disabling protection failed, Switchover failed, Failover failed, Deletion failed, Re-enabling protection failed, Modifying specifications failed, Invalid, or Faulty state.
  • The replication pair is in the Available, Protecting, Failover complete, Attaching failed, Detaching failed, Enabling protection failed, Disabling protection failed, Switchover failed, Failover failed, Deletion failed, Re-enabling protection failed, Expansion failed, Invalid, or Faulty state.
  • The replication pair has been attached.
  • Disks in the In-use state have been attached to the production and DR site servers.
  • A system disk (attached to /dev/sda or /dev/vda) can be detached only when the server is in the Stopped state. Therefore, stop the server before detaching the system disk.
  • Data disks can be detached online or offline, which means that the server containing the disks can either be in the Running or Stopped state.

    For details about how to detach a disk online, see Disk > Detaching an EVS Disk from a Running ECS in the Elastic Cloud Server User Guide.

Procedure

  1. Log in to the management console.
  2. Click Service List and choose Storage > Storage Disaster Recovery Service.

    The Storage Disaster Recovery Service page is displayed.

  3. Locate the protection group where you want to detach replication pairs and click Protected Instances.

    The protection group details page is displayed.

  4. On the Protected Instances tab, locate the row containing the desired protected instance and click Detach in the Operation column.

    The Detach Replication Pair page is displayed.

  5. Select the replication pair to be detached and click Yes.

    After the operation succeeds, the server data can no longer be written to the disks.