Docs Home → MongoDB Ops Manager
Add a Shard to a MongoDB Cluster
You can use Ops Manager to add a shard to a MongoDB sharded cluster.
Navigate to the Clusters view for your deployment.
If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it is not already displayed, select your desired project from the Projects menu in the navigation bar.
If it is not already displayed, click Deployment in the sidebar.
Click the Clusters view.
In the Member Configuration section, add a shard.
Expand SHARD SETTINGS.
Click Add a Shard to add ~bin.mongod processes to the shard.
To add additional ~bin.mongod processes to the shard, click the Add a Mongod link.
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 Ops Manager Automation deploys the replica set member. The menu only lists hosts under Ops Manager Automation. For complete documentation on adding servers to Ops 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 ~bin.mongod process. This setting
corresponds to the The ~bin.mongod must have exclusive access to the specified port. If deploying multiple ~bin.mongod processes to a single host, you must select a unique unused port for each process. |
Votes | Specify the number of votes that the replica set member has during
elections. This setting corresponds to the
|
Priority | Specify the priority of the member during elections. Replica set
members with a priority of |
Delay | Specify the number of seconds "behind" the primary member this
member should "lag". This setting corresponds to the
|
Build Indexes | Specify |
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 |