Collections Missing in ConfigDB

Hi,
When I do show collections in using configDB it looks as it is missing some collections.

image

For e.g. actionlog, databases are not in the output as seen.
I also checked https://docs.mongodb.com/manual/core/sharded-cluster-config-servers/ and it does mention “databases” as one of the collections.

This is how sh.addShard looked
image

And this is the status of sh.status()

“collections” collection in config db also not showing details on collections that have been sharded.
image

Could this be the reason of “database” collection missing?

Please suggest what can be the reason for it.

Regards,
Pinaki

Ok, I was able to fix the above. Used different replica set which had m103 database. As per previous lectures, it is node*.conf files. Attached it to the Mongos and this is how the sh.status() looks


And now I can see database and actionlog in config db.
image

But db.databases.find().pretty() doesn’t give any output
image

Any suggestions
Regards,
Pinaki

Never mind, it is also fine. I was on wrong database :slight_smile:
Apologies for the spam

Regards,
Pinaki