MongoDB Documentation, Release 3.0.4 10.3 Sharded Cluster Tutorials The following tutorials provide instructions for administering sharded clusters . For a higher-level overview, see Shard- ing (page 661). Continue reading from Sharded Cluster Deployment Tutorials (page 690) for additional tutorials. The following tutorials provide information on deploying sharded clusters. 10.3.1 Sharded Cluster Deployment Tutorials Chapter 10. Sharding 690 Sharded Cluster Deployment Tutorials (page 690) Instructions for deploying sharded clusters, adding shards, select- ing shard keys, and the initial configuration of sharded clusters. Deploy a Sharded Cluster (page 691) Set up a sharded cluster by creating the needed data directories, starting the required MongoDB instances, and configuring the cluster settings. Considerations for Selecting Shard Keys (page 694) Choose the field that MongoDB uses to parse a collec- tion’s documents for distribution over the cluster’s shards. Each shard holds documents with values within a certain range. Shard a Collection Using a Hashed Shard Key (page 696) Shard a collection based on hashes of a field’s val- ues in order to ensure even distribution over the collection’s shards. Sharded Cluster Maintenance Tutorials (page 705) Procedures and tasks for common operations on active sharded clusters. View Cluster Configuration (page 706) View status information about the cluster’s databases, shards, and chunks. Remove Shards from an Existing Sharded Cluster (page 719) Migrate a single shard’s data and remove the shard. Migrate Config Servers with Different Hostnames (page 708) 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 (page 707) procedure. Manage Shard Tags (page 730) Use tags to associate specific ranges of shard key values with specific shards. Add Shards to a Cluster (page 697) Add a shard to add capacity to a sharded cluster. Sharded Cluster Data Management (page 722) Practices that address common issues in managing large sharded data sets. Continue reading from Sharded Cluster Maintenance Tutorials (page 705) for additional tutorials. Troubleshoot Sharded Clusters (page 735) Presents solutions to common issues and concerns relevant to the admin- istration and use of sharded clusters. Refer to FAQ: MongoDB Diagnostics (page 779) for general diagnostic information. Deploy a Sharded Cluster (page 691) Set up a sharded cluster by creating the needed data directories, starting the required MongoDB instances, and configuring the cluster settings. Considerations for Selecting Shard Keys (page 694) Choose the field that MongoDB uses to parse a collection’s doc- uments for distribution over the cluster’s shards. Each shard holds documents with values within a certain range. Shard a Collection Using a Hashed Shard Key (page 696) Shard a collection based on hashes of a field’s values in order to ensure even distribution over the collection’s shards. Add Shards to a Cluster (page 697) Add a shard to add capacity to a sharded cluster.