Checking the Database¶
Checking the Status¶
sudo mongosh --tls --tlsAllowInvalidCertificates --eval 'printjson(rs.status())'
The output has to contain the following line:
"ok" : 1
Showing the Configuration¶
sudo mongosh --tls --tlsAllowInvalidCertificates --eval 'printjson(rs.conf())'
Checking the Installed Version¶
rpm -qa | grep mongo