The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.

Viewing node information

Last updated: 2025-02-08 10:23:46

Overview

<TencentDB for MongoDB allows you to view the instance node information, including node ID, role, running status, used capacity, and other information. In addition, it supports node management operations, such as adjusting node specification, promoting replica node to primary node, enabling read-only replica, and configuring primary/replica failover. You can use node management to efficiently manage instance nodes and locate node-related exceptions during operation.

Operation Steps

2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Instance. The operations for Replica Set Instance and Sharded Instance are similar.
3. On the right side, select a region at the top of the Instance List page.
4. In the Instance List, find the target instance whose node you want to view.
5. Click the instance ID to enter the Instance Details page, and click the Node Management tab.
6. View the mongod and mongos node information.
Mongod node

Parameter Name
Parameter interpretation
Node ID
<Mongod node ID number.>
Monitoring
Click

, and you can view the monitoring views of various metrics of the node on the monitoring panel on the right. For more information, see Viewing Monitoring Data.
Status
The running status of the current node.
Availability Zone
The AZ of the region to which the current node belongs.
Role
The role of the current node.
PRIMARY: Primary node.
SECONDARY: Secondary node.
READONLY: Read-only node.
Priority
The priority of a node for being elected as the primary node. The greater the value, the higher the priority.
Hidden
Whether the node is hidden. Default value: false.
Master-slave latency (seconds)
The latency in syncing data from the primary node to the replica node in seconds.
Disk Utilization
Utilization of the node disk.
Mongos node
Parameter Name
Parameter interpretation
Node ID
Mongos node ID number.
Monitoring
Click

, and you can view the monitoring views of various metrics of the node on the monitoring panel on the right. For more information, see Viewing Monitoring Data.
Status
The operational status of the node.
Availability Zone
AZ of the mongos node.