Please help me understand this concept as this is something that is not clear to me.
I have configured the Config Server Replica Set (CSRS), started them on ports 26001, 26002 and 26003. For this, I have configured the replication set as m103-csrs in the configuration file. Next, I have started the mongos process, and start mongo using the port 26000.
The next step of the process according to the lecture was to start mongo on replication server m103-repl using the ports 27011, 27012 and 27013.
Now, here’s my question: We have not started m103-repl servers, and have not configured the ports in the config files node1.js, node2.js and node3.js. So, do we have to start the mongod process for the m103-repl server? If not, I don’t see how we can shut down these servers.
Did we start the replication servers earlier on these ports and then changed the configuration files to include the shard server?