In this lab, students are asked to add and remove shards from a MongoDB sharded cluster. After completing this lab, students will have hands-on experience configuring, adding, and removing shards from a MongoDB sharded cluster.
Successfully complete this lab by achieving the following learning objectives:
- Add a Shard
Configure a new shard named
shard2on the lab host with private IP
- Remove a Shard
Remove the shard named
shard1from the cluster.