Configuring Disbatch 4

Configure /etc/disbatch/config.json

  1. Copy /etc/disbatch/config.json-example to /etc/disbatch/config.json
  2. Make sure that only the process running Disbatch can read and edit /etc/disbatch/config.json
  3. Edit /etc/disbatch/config.json
    1. Change mongohost to the URI of your MongoDB servers
    2. Change database to the MongoDB database name you are using for Disbatch
    3. Ensure proper SSL settings in attributes, or remove it if not using SSL
    4. Change passwords in auth for the respective MongoDB users, or delete the field or set its value to null if not using MongoDB authentication
    5. Set plugins to the name(s) of the plugins you want accessible for queue creation.
    6. Set activequeues or ignorequeues per DEN if used
    7. Remove the rest, which is optional and configured for development.

See also Configuring and Using SSL with MongoDB and Configuring and Using SSL with the Disbatch Command Interface.

Create MongoDB users for Disbatch if using authentication

See also Configuring and Using Authentication with MongoDB.