Check MongoDB cluster status

To check the status of your MongoDB cluster, log in to the master or primary database server host using SSH, start the MongoDB command-line client using your administrative credentials, and run the following command within it:


The output of this command will be a list of cluster nodes and their current replication status.

Last modification September 5, 2018