Adding a MongoDB Cluster

You can add a MongoDB cluster.

Procedure

  1. From the Command Center navigation pane, go to Protect > Big data.

    The Big data page appears.

    Note

    If Big data is not listed under Protect menu in the navigation pane, then go to Service catalog and click Configure on the Big data tile to add your first MongoDB cluster.

  2. Click Add cluster.

    The Configure Big Data App page appears.

  3. Select MongoDB, and then click Next.

    The Configure MongoDB Cluster page appears.

  4. Select an existing backup plan or create a new backup plan.

  5. Click Next

    The Add MongoDB Cluster page appears.

  6. In the Cluster name box, enter a name for the cluster.

  7. From the Master node list, select the master node.

    Note

    • If the selected master node is not available due to a network failure or any other reason and a backup is in progress, then the Commvault software does the following:

    • For the replica set environments, the software picks another node as master node from the replica set for backup operation.

    • For sharded cluster environments, the node with mongos (routing service) is picked as master node.

  8. In the Binary path box, enter the path to the folder that contains the mongod or mongos executable file.

    The Commvault software uses mongo/mongosh, mongod, mongodump, and mongorestore for backup and restore operations. Keep the binaries in bin path and verify that the bin path is same across all the nodes in the cluster.

  9. In the OS user name box, enter the OS user name that you want to use to run the MongoDB servers.

    Commvault software uses the OS user name to start the MongoDB servers after the restore operation.

    Note

    The OS user must have the permissions to do the following:

    • Start/stop the MongoDB service.

    • Read/write access to the files in dbPath and log directories.

    • Execute permissions on MongoDB binaries.

    • Access to the configured network ports.

  10. In Port number box, enter the mongod or mongos port number.

  11. Click Next.

    The Authentication page appears.

  12. From the Database credential list, select an existing credential or create new credentials.

    Steps to add credentials
    1. Click the + icon beside the Database credential list.

      The Add Credential dialog box appears.

    2. In the Credential name box, enter the credential name.

    3. In the Username box, enter the user name of the MongoDB user account.

    4. In the Password box, enter the password of the database user.

    5. In the Description box, enter a description, and then click Save.

    Note

    • The MongoDB authentication user account must be associated with the admin database.

    • For sharded cluster environments, you must create the same database user on all the sharded servers and the config server.

  13. From the SSL configuration list, select an existing credential or create new credentials.

    Steps to add credentials
    1. Click the + icon beside the SSL configuration list.

      The Add Credential dialog box appears.

    2. In the Credential name box, enter the credential name.

    3. In the SSL CA Certificate path box, enter the full path to the Certificate Authority (CA) file that will be used with the mongo commands.

    4. In the SSL PEM key file box, enter the full path to the client pem key file that will be used with the mongo commands, to connect to the MongoDB server.

    5. In the SSL PEM key password box, enter the password to decrypt the client certificate key file.

    6. In the Description box, enter a description, and then click Save.

    Note

    • Verify that the parameters in the TLS/SSL CA certificate file and the TLS/SSL pem key file have the same names across all nodes of the cluster. The TLS/SSL pem key password value must be the same on all the nodes of the cluster.

    • If you have customized TLS/SSL CA certificate file and the TLS/SSL pem key files across nodes, then you can configure the bEnableMongoSSL, sMongoSSLClientCAFile, sMongoSSLClientPEMKeyFile and pMongoSSLClientPEMKeyPassword additional settings.

  14. Click Next.

    The Summary page appears.

  15. Click Finish.

Page contents

×

Loading...