All Products
Search
Document Center

ApsaraDB for MongoDB:View the zones of nodes in an instance

Last Updated:Dec 20, 2023

You can view the zones in which the nodes of an ApsaraDB for MongoDB instance are distributed in the ApsaraDB for MongoDB console.

Prerequisites

The instance is a replica set or sharded cluster instance.

Deployment policies

ApsaraDB for MongoDB provides a zone-disaster recovery solution to achieve high reliability and high data security. In the zone-disaster recovery solution, the nodes of a replica set or sharded cluster instance are deployed across three zones in the same region. If one of the zones becomes unavailable due to force majeure factors such as a power or network failure, the high-availability (HA) system switches over services to another zone. For more information about how to create a multi-zone instance, see Create a multi-zone replica set instance and Create a multi-zone sharded cluster instance.

Note

For more information about the differences between multi-zone deployment and single-zone deployment, see the "Node deployment policies" section of the Create a multi-zone replica set instance and Create a multi-zone sharded cluster instance topics.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.

  2. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances.

  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.

  4. Click the ID of the instance that you want to manage or click Manage in the Actions column.

  5. In the left-side navigation pane of the page that appears, click Service Availability. In the Zone Distribution section of the page that appears, view the zones of the nodes.

What to do next

  • Migrate an ApsaraDB for MongoDB instance to different zones in the same region

    Migrate instances to other zones in the same region. For example, you can migrate instances from a single zone to multiple zones. After an ApsaraDB for MongoDB instance is migrated to a different zone, the attributes, specifications, and endpoint of the instance 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.