Chapter 3: Sharding - Lab: Deploy a Sharded Cluster

I have managed to complete the lab BUT could not understand why there were some ‘missing’ steps not detailed in activities.

I changed mongos.conf THEN I was expecting to change the shard1 27001/27002/27003 to include something similar to…

clusterRole: shardsvr

I connected to 27001 and ran rs.conf() but could not see this [or something similar] in returned output. So I ‘skipped’ this step and added shard1 via mongos, ran tests and all passed

Question: Why did we not need to change conf for 27001/2/3?

I don’t think you have to edit any config files since your replicaset is already added as shard1
Please check your lab instructions again