Lab - Shard a Collection - error

Hi all,

trying to add second shard with command sh.addShard(“m103-repl-2/”), I get this error:

can’t add shard ‘m103-repl-2/’ because a local database ‘m103’ exists in another m103-repl-2

any suggestion how to solve it? thank you in advance for your cooperation…

May be some mixup with earlier labs
You have to add from mongos
MongoDB Enterprise mongos> sh.addShard(“m103-repl-2/”)
What does rs.status(),sh.status() indicate
Cleanup other mongod’s which are not needed

Thank you for your prompt reply!

I confirm I was running the command from mongos… I cleanup all and re-make all from the beginning and now it is solved.
Thank you.