Skip to content

Checking the Database


Checking the Status

sudo mongo --tls --tlsAllowInvalidCertificates --eval 'printjson(rs.status())'

The output has to contain the following line:

"ok" : 1


Showing the Configuration

sudo mongo --tls --tlsAllowInvalidCertificates --eval 'printjson(rs.conf())'

Checking the Installed Version

rpm -qa | grep mongo

Back to top