Skip to content

Checking the Database


Checking the Status

  1. Open a PowerShell (Administrator).

  2. 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

  1. Open a PowerShell (Administrator).

  2. Execute the following command:

    & "C:\Program Files\mongosh\mongosh.exe" --tls --tlsAllowInvalidCertificates --eval 'rs.conf()'
    

Back to top