Checking the Database¶
Checking the Status¶
-
Open a PowerShell (Administrator).
-
Execute the following command:
& "C:\Program Files\mongosh\mongosh.exe" --tls --tlsAllowInvalidCertificates --eval 'rs.status()'
The output has to contain the following line:
"ok" : 1
Showing the Configuration¶
-
Open a PowerShell (Administrator).
-
Execute the following command:
& "C:\Program Files\mongosh\mongosh.exe" --tls --tlsAllowInvalidCertificates --eval 'rs.conf()'