- Manage Deployments >
- Add a Shard to a MongoDB Cluster
Add a Shard to a MongoDB Cluster¶
You can use Cloud Manager to add a shard to a MongoDB sharded cluster.
Click Modify on the cluster where you want to add a shard.¶
Review and update settings for the new shard as needed:¶
Setting | Description |
---|---|
Member | Select one of the following replica set member roles from the menu:
|
Hostname | Select from the menu the host to which Cloud Manager Automation deploys the replica set member. The menu only lists hosts under Cloud Manager Automation. For complete documentation on adding servers to Cloud Manager Automation, see Provision Servers for Automation. This hostname can be a hostname, an FQDN, an IPv4 address, or an IPv6 address. |
Port | Specify the IANA port
number for the The |
Votes | Specify the number of votes that the replica set member has during
elections. This setting corresponds to the
votes mongod
replica set configuration option. |
Priority | Specify the priority of the member during elections. Replica set
members with a priority of 0 cannot become the primary
and cannot trigger elections. This setting
corresponds to the
priority
mongod replica set configuration option. |
Delay | Specify the number of seconds “behind” the primary member this
member should “lag”. This setting corresponds to the
slaveDelay
mongod replica set configuration option. |
Build Indexes | Specify true to direct the mongod to build
indexes. This setting
corresponds to the
buildIndexes
mongod replica set configuration option. |
Tags | Specify the tag or tags associated to the replica set.
This setting corresponds to the
For complete documentation on replica set tags, see Replica Set Tags |