Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.2

...

To set up your MongoDB installation for use with Parasoft products manually (without using the scripts included with the Data Repository Pack), configure the server.conf file in the /scripts folder of your Data Repository Server directoryMongoDB installation. For example:

Code Block
### See https://www.mongodb.com/docs/v3.6/reference/configuration-options/
### Path references are resolved relative to the environment's current directorynet:
   port: 2424
   bindIpAll: true
   ipv6: true
   #ssl:
      #mode: requireSSL
      #PEMKeyFile: selfsigned.pem
processManagement:
   fork: true
security:
   authorization: enabled
storage:
   dbPath: repositories
systemLog:
   quiet: true
   path: logs/repo.log
   destination: file 

...

An example user is shown below. Note that the specific roles are required.

Code Block
{db.createUser(
    {
        'user' : 'admin',
            'pwd' : 'passwordPrompt(), // or cleartext password
            'roles' : [
                {'role' : 'root', 'db' : 'admin'},
            ]
        } 
)

Configuring Remote Data Repository Server to Use SSL

...