Need help in Lab: Deploy a Sharded Cluster

I am posting to ask if anyone can help with this lab.
I added the shrding line to the conf file. and ran mongos -f mongos.conf command and this shows I waited for it for a while but it does not return anything. Am I doing something wrong?

Looks like your mongos running in foreground
You have to open another session and connect to your mongos
Did you add fork in your config file?

The lab specifies

Some components have already been configured for you:

the Configuration Server Replica Set csrs is running on csrs/localhost:27004,localhost:27005,localhost:27006

but you specified m103-csrs/localhost:27004,localhost:27005,localhost:27006 in your configuration file.

Just to be clear the replica set name of the configuration server is wrong.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.