Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

Sharded Cluster Maintenance TutorialsΒΆ

The following tutorials provide information in maintaining sharded clusters.

View Cluster Configuration
View status information about the cluster’s databases, shards, and chunks.
Migrate Config Servers with the Same Hostname
Migrate a config server to a new system while keeping the same hostname. This procedure requires changing the DNS entry to point to the new system.
Migrate Config Servers with Different Hostnames
Migrate a config server to a new system that uses a new hostname. If possible, avoid changing the hostname and instead use the Migrate Config Servers with the Same Hostname procedure.
Replace Disabled Config Server
Replaces a config server that has become inoperable. This procedure assumes that the hostname does not change.
Migrate a Sharded Cluster to Different Hardware
Migrate a sharded cluster to a different hardware system, for example, when moving a pre-production environment to production.
Backup Cluster Metadata
Create a backup of a sharded cluster’s metadata while keeping the cluster operational.
Configure Behavior of Balancer Process in Sharded Clusters
Manage the balancer’s behavior by scheduling a balancing window, changing size settings, or requiring replication before migration.
Manage Sharded Cluster Balancer
View balancer status and manage balancer behavior.
Remove Shards from an Existing Sharded Cluster
Migrate a single shard’s data and remove the shard.