ApsaraDB for MongoDB provides the zone distribution of nodes. You can view the zone distribution information in the console.

Prerequisites

Replica set or sharded cluster instances must be used.

Deployment tips

ApsaraDB for MongoDB provides a zone-disaster recovery solution for replica set instances to meet the high reliability and data security requirements. This solution deploys the nodes of a replica set instance or the components of a sharded cluster instance in three different zones. When either of the three zones loses communication due to force majeure factors such as power failure or network failure, the high-availability system automatically triggers a switchover. This ensures the continuous availability and data security of the entire instance. For more information, see Create a multi-zone replica set instance and Create a multi-zone sharded cluster instance.

Note For more information about comparison of node deployment policies for single and multiple zones, see Node deployment policies of a replica set instance and Node deployment policy for a sharded cluster instance.

View zones of nodes

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the region of the instance.
  3. In the left-side navigation pane, click Replica Set Instances or Sharding Instances.
  4. Find the instance and click its ID.
  5. In the left-side navigation pane, click Service Availability to view the current zone distribution.
    • Replica set instances
    • Sharded cluster instances

References

  • Migrate instances across zones

    Migrate instances to other zones within the same region. For example, you can migrate instances from a single zone to multiple zones. After instances are migrated to other zones, the attributes, specifications, and connection strings of instances remain unchanged.

  • Switch node roles

    You can switch the node roles of an ApsaraDB for MongoDB instance based on your business deployment. This allows your applications to connect to the nearest nodes.