Help Center > > Getting Started> Configuring Cross-AZ DR for Servers> Step 2: Create a Protected Instance

Step 2: Create a Protected Instance

Updated at: Jun 27, 2019 GMT+08:00

Scenarios

You can create protected instances using the servers that you want to perform DR protection. If the current production site encounters an unexpected large-scale server failure, you can call the related protection group API to perform a failover, ensuring that services running on protected instances are not affected.

Select a protection group for each server to be replicated and create a protected instance using the server. When you create a protected instance, the server and disk will be created at the DR site for the production site server and disk. The server specifications can be configured as required. Specifically, the specifications of the DR site server and disk can be different from those of the production site server and disk, and the disks can automatically form a replication pair.

The server at the DR site is in the Stopped state after the protected instance created. These automatically created resources, including the DR site servers and disks, cannot be used before a failover.

Figure 1 Creating a protected instance

Notes

  • When a protected instance is created, the default name of the server at the DR site is the same as that of the server at the production site, but their IDs are different.
  • To modify a server name, click the server name on the protected instance details page to switch to the server details page and modify it.
  • After you create a protected instance and enable protection for the protection group, modifications to the Hostname, Name, Agency, ECS Group, Security Group, Tags, and Auto Recovery configurations of the production site server will not synchronize to the DR site server. You can log in to the management console and manually add the configuration items to the servers at the DR site.
  • If protection is enabled for servers created during capacity expansion of an Auto Scaling (AS) group, these servers cannot be deleted when the capacity of the AS group is reduced.
  • If the server at the production site runs Windows and you choose the key login mode, ensure that the key pair of the server exists when you create a protected instance. Otherwise, the server at the DR site may fail to create, causing the protected instance creation failure.
    NOTE:

    If the key pair of the server at the production site has been deleted, create a key pair with the same name.

  • If the DR site server of the protection group is added to Enterprise Project, the created DR drill server will not be automatically added to Enterprise Project. You need to manually add it to Enterprise Project if needed.

Prerequisites

  • No shared disk is attached to the production site server.

    If some services need to use shared disks, perform steps in Creating a Replication Pair to create a replication pair for the shared disks. Then, perform steps in Attaching a Replication Pair to attach the replication pair to the protected instance.

  • No protected instances have been created for the production site server.
  • The server that you use to create a protected instance and the protection group are in the same VPC.

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. In the pane of the protection group for which protected instances are to be added, click Protected Instances.

    The operation page for the protection group is displayed.

  4. On the Protected Instances tab, click Create Protected Instance.

    The Create Protected Instance page is displayed.

  5. Configure the basic information about the protected instance, as described in Table 1.

    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Protection Group Name

    Indicates the name of the protection group to which the protected instance to be created belongs. You do not need to configure it.

    None

    Protection Group ID

    Indicates the ID of the protection group to which the protected instance to be created belongs.

    None

    DR Direction

    Indicates the replication direction of the protection group to which the protected instance to be created belongs. You do not need to configure it.

    None

    Production Site

    Indicates the AZ of the production site server. You do not need to configure it.

    None

    Deployment Model

    Indicates the deployment model of the protection group to which the protected instance to be created belongs. You do not need to configure it.

    None

    VPC

    Indicates the VPC of the protection group to which the protected instance to be created belongs. You do not need to configure it.

    None

    Production Site Server

    This parameter is mandatory.

    In the server list, select the server and specifications to be used to create the protected instance.

    NOTE:

    The specifications of the production site server and DR site server can be different. Select the specifications from the DR Site Server Specifications drop-down list.

    ecs-test > s3.small.1

    DR Site VPC

    Indicates the VPC of the DR site server.

    Its value is the same as the VPC value and do not need to be configured.

    None

    DR Site Disk

    This parameter is mandatory.

    The following two options are available:
    • EVS
    • DSS

      If you select DSS for DR Site Disk, Storage Pool is mandatory.

    EVS

    Storage Pool

    • If you select EVS for DR Site Disk, Storage Pool is not required.
    • If you select DSS for DR Site Disk, Storage Pool is mandatory.

    None

    Protected Instance Name

    This parameter is mandatory.

    Enter the protected instance name. It is used for protected instance classification and search.

    Protected-Instance-test

    NOTE:

    DR Site Disk and Storage Pool are available only when DSS is enabled.

  6. Click Create Now.
  7. On the Confirm page, you can confirm the protected instance information.

    • If you do not need to modify the information, click Submit.
    • If you need to modify the information, click Previous.

  8. Click Back to Protection Group Details Page and view the protected instances of the protection group.

    If the protected instance status changes to Available, the protected instance has been created successfully.

    NOTE:

    After a protected instance is created, the system automatically creates replication pairs for the disks of the protected instance and backs up all the disks.

    Query the replication pairs.

    1. Switch to the operation page for the protection group.
    2. Click the Replication Pairs tab.

      On this tab, you can query the statuses of the replication pairs, target protected instance, and production site disk.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel