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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Add a Shard
Configure a new shard named
shard2
on the lab host with private IP10.0.0.101
.- Remove a Shard
Remove the shard named
shard1
from the cluster.