Updated on 2026-07-28 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.

Constraints

  • This function is not applicable to API monitors.
  • 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.

Switching a Monitor

  1. Log in to the MAS console. On the Multi-Active Instances page, click an instance whose namespace type is Intra-city multi-active.
  2. On the Applications tab, click Switch Over Monitor.

    • One-click switchover

    On the Monitoring Status tab page in the dialog box, click Switch Over. Click OK. A dialog box is displayed, indicating that batch switchover has been started. You can check the results in the task list.

    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.

    This may cause data loss.

    Figure 1 Switching a monitor by force
    • One-click switchback

    On the Monitoring Status tab page in the dialog box, click Switch Back. Click OK. A dialog box is displayed, indicating that batch switchback has been started. You can check the results in the task list.