Help Center > > User Guide> Managing Protection Groups> Performing a Planned Failover

Performing a Planned Failover

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

Scenarios

After you perform a planned failover, services at the production site are failed over to the DR site, and services at the DR site are failed over to the production site. Table 1 shows the direction change.

Table 1 DR direction change after a planned failover

-

Production Site

DR Site

Before

AZ1

AZ2

After

AZ2

AZ1

After the failover, data synchronization continues, but the DR direction is changed (from the DR site to the production site). You can perform a planned failover when you are certain that the production site will encounter an interruption. For example, if the production site (AZ1) is going to encounter a power failure, you can perform a planned failover to fail over services in AZ1 to the DR site (AZ2). The failover will not affect data synchronization of the protection group.

NOTE:
  • Check the status to ensure that all the servers in the protection group are stopped before the planned failover.
  • During the planned failover, do not start the servers in the protection group. Otherwise, the planned failover may fail.
  • Once a planned failover is complete, data synchronization will not stop, only the synchronization direction will reverse.
  • After the planned failover is complete, the status of the protection group changes to Available. Then, you need to switch to the protected instance details page and start the production site server.
Figure 1 Performing a planned failover

Notes

For Linux servers with Cloud-Init installed, if you have changed hostname of the production site server before you perform a planned failover for the first time, this modification will not synchronize to the DR site server.

To resolve this problem, see What Can I Do If hostname of the Production Site Server and DR Site Server Are Different After a Planned Failover or Failover?.

Prerequisites

  • All the servers in the protection group are stopped.
  • The protection group has protected instances and replication pairs.
  • Protection is enabled for the protection group, and the protection group is in the Protecting or Planned failover failed state.
  • The protected instances and replication pairs in the protection group are in the Protecting or Planned failover failed state.

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 desired protection group, click Protected Instances.
  4. On the operation page of the protection group, click Execute Planned Failover in the upper right corner.
  5. In the displayed dialog box, check whether all the servers in this protection group are stopped.

    • If yes, go to step 6.
    • If no, select the servers to be stopped and click Stop.

  6. In the Execute Planned Failover dialog box, click Execute Planned Failover.

    NOTE:

    During the planned failover, do not start the servers in the protection group. Otherwise, the planned failover may fail.

Follow-Up Procedure

  • After the planned failover is complete, the status of the protection group changes to Available. Then, you need to switch to the protected instance details page and start the production site server.
  • After the planned failover, the protection group is in the Protection disabled state. To synchronize the data, click Enable Protection.

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