Updated on 2024-11-20 GMT+08:00

Switching a Monitor

This section describes how to switch monitors. It is not recommended to switch from data center 1 to 2 if there are no exceptions.

Procedure

  1. Log in to the MAS console. On the Multi-Active Instances page, click an instance to go to its console.
  2. Go to the Applications tab page, click Switch Over Monitor, and click Switch Over on the Monitoring Status page.

    You cannot perform switchovers on API monitors.

  3. Click OK.

    If the target data center is abnormal but you have to switch over the monitor, select the checkbox to confirm the switchover, and click OK.

    Figure 1 Switching a monitor by force
    • When the service database is abnormal, the automatic switchover will be triggered and take 10 seconds to complete. During this period, services may be interrupted.
    • After data center 1 recovers, click Switch Back in the row that contains the target monitor.
    • If DC 1 (active) is abnormal, MAS automatically sets DC 2 to active. However, MAS will not perform automatic switchover if DC 2 is active and becomes abnormal.