Updated on 2024-10-29 GMT+08:00

Creating a Disaster Recovery Drill

Scenarios

Disaster recovery drills are used to simulate fault scenarios, formulate recovery plans, and verify whether the plans are applicable and effective. Services are not affected during disaster recovery drills. When a fault occurs, you can use the plans to quickly recover services, thus improving service continuity.

SDRS allows you to run disaster recovery drills in isolated VPCs (different from the disaster recovery site VPC). During a disaster recovery drill, drill servers can be quickly created based on the disk snapshot data.

  • After drill servers are created, production site servers and drill servers will independently run at the same time, and data will not be synchronized between these servers.
  • During a drill, an ECS used for system conversion will be created, with a name suffix VMwareToCloud. Do not perform any operation on this ECS. Or, the drill may fail. This ECS will be automatically deleted after the drill is complete.

To guarantee that services can be switched to the disaster recovery site when an outage occurs, it is recommended that you run disaster recovery drills regularly.

Precautions

  • If the production site servers of a protection group are added to an enterprise project, the drill servers created will not be automatically added to the enterprise project. Manually add them to the project as needed.
  • If the production site servers run Linux and use key pairs for login, the key pair information will not be displayed on the server details page, but login using the key pairs is not affected.
  • After a disaster recovery drill is created, modifications made to Hostname, Name, Agency, ECS Group, Security Group, Tags, and Auto Recovery of production site servers will not be synchronized to drill servers. Log in to the console and manually make the modifications for the drill servers.
  • During a disaster recovery drill, a primary NIC is configured for each disaster recovery site server. If a production site server uses a secondary NIC, you need to manually bind a secondary NIC for the corresponding disaster recovery site server on the server details page.

Prerequisites

  • Initial synchronization is completed for the protected instance, and the status of the protected instance is Synchronization finished or Disaster recovery drill failed.
  • Protected instance services are running at the production site.

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. Choose Asynchronous Replication. In the right pane, locate the replica pair housing the protected instance you want to run a disaster recovery drill and click the number in the Protection Groups column.

    The Protection Groups tab page is displayed.

  4. In the navigation tree, choose the target protection group.

    The protection group details page is displayed.

  5. In the Protected Instances area, locate the target protected instance and choose More > Create Disaster Recovery Drill in the Operation column.

  6. Configure the drill server information.

    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Specifications

    Select the drill server specifications.

    -

    Drill Name

    Enter a drill name.

    The name can contain letters, digits, underscores (_), hyphens (-), or periods (.), can be no more than 64 characters long, and cannot contain spaces.

    Drill-ECS02

    Network

    Select a VPC for the drill.

    The drill VPC and the VPC of disaster recovery site server must be different.

    -

    Subnet

    Select a subnet for the drill.

    -

    IP Address

    Select how the server obtains an IP address.

    • Use existing: Select this option if the subnet selected is in the same CIDR Block as the production site server. This setting keeps the IP addresses on both servers consistent.
    • DHCP: IP addresses are automatically assigned by the system.
    • Manually Assign: Manually specify an IP address.

    -

  7. Click Next. On the displayed page, confirm drill information and click Submit.

  8. The protected instance status changes to Creating disaster recovery drill. After the drill is created, the instance status changes back to Synchronization finished.

  9. After the drill is created, view the drill information on the Disaster Recovery Drills tab page. Alternatively, log in to the drill server and check whether services are running properly.