You can discover the nodes for a MongoDB cluster on the Command Center.
If the MongoDB agent is not previously installed on the nodes, after discovery you can install the agent on these nodes.
Before You Begin
In sharded cluster MongoDB deployments, verify that the data directories are different for each shard.
Example of different data directories
- ShardA
Node |
Data directory |
---|---|
Node1 |
/dataA |
Node2 (backup secondary node) |
/dataA |
Node3 |
/dataA |
- ShardB
Node |
Data directory |
---|---|
Node1 |
/dataB |
Node2 (backup secondary node) |
/dataB |
Node3 |
/dataB |
Procedure
-
From the navigation pane, click Protect > Big Data.
The Instances page appears.
-
Click the MongoDB instance to which you want to add the cluster nodes.
The instance details page appears.
-
Click the Configuration tab.
-
In the Nodes section, click Discover nodes.
The nodes on the MongoDB cluster are listed.
-
To install the agent, in the Status column for the corresponding node, click Install.