Initial mongos configuration (mongos.conf)

I’m working through the lab and it shows us to use the following as a mongos.conf for sharding:

configDB: m103-csrs/

But, when I look through the lecture notes example the mongos.conf shows the following:

configDB: m103-csrs/,,

Would we not want to list all three (3) configuration servers that we created and started?

Thanks and let me know.


Hi @Blake_99043,

It is necessary to specify the config server replica set name, hostname and port of atleast one member of the config server replica set.
So, in the lab we can mention just one member of the replica Set.

Please refer to the following doc for more information about the configuration file options:

I hope it helps!!
Please let me know, if you still have any doubts.