TECHIES WORLD

For Techs.... Techniques.... Technologies....

BashLinux

How to identify master server from Mongodb cluster

We can identify master server from Mongodb cluster by running the following query in Mongodb shell.

>rs.status();

The output will containts the list of cluster nodes and their current replication status.

That's all…

Leave a Reply