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.
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 The |
Votes | |
Priority | |
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 |
Click Save to add the new shard to the cluster.
If you enable multi-region backups, this sharded cluster initializes in a Misconfigured state, indicated in the Continuous Backup dashboard. While the cluster is in the Misconfigured state, Ops Manager won't take any new snapshots, although oplog tailing continues uninterrupted for cluster members with assigned regions. You must select a deployment region for each of the newly created shards.