• Documentation
  • Tutorials
  • Case studies
  • White papers
  • Product

What's on this Page

  • Supported version
  • Installation
  • Configuration
  • Activate authentication (optional)
  • Installation as a Service (optional, Windows only)
  • step
  • Admin guide
  • Database installation
Categories: ADMIN GUIDE DATABASE
This article references one of our previous releases, click here to go to our latest version instead.

Database installation

This page contains information on installing and configuring MongoDB to be used with step.

Supported version

We do support MongoDB version starting from 3.6.x up to 4.0.x.

Installation

Follow instructions at : MongoDB documentation

Configuration

If you want to tune your MongoDB instance, you will find all necessary information on the official website at : MongoDB configuration and maintenance.

Activate authentication (optional)

For activating the authentication between the controller and the MongoDB server, the following actions have to be taken:

  • Start the MongoDB server without authentication (use the --noauth option upon startup)
  • Create your user on the step database:
    use step;
    db.createUser({ user: "[myUser]", pwd: "[myPassword]", roles: [{ role: "dbOwner", db: "step"}]})
  • Restart the MongoDB server with authentication enabled (add the --auth option to the startup script)
  • Add the following properties to the …/conf/step.properties file:
    db.username=[myUser]
    db.password=[myPassword]

Installation as a Service (optional, Windows only)

In order to install MongoDB as a Windows service, follow below steps :

  • download nssm at https://nssm.cc/download
  • open a new command prompt as Administrator and navigate to the nssm executable location
  • execute the following command :

nssm install

  • nssm GUI will open, you can now specify the “startMongo.bat” location (usually located into the Controller bin folder) and the service name, then click on “Install service” :
nssm-mongodb-installation-settings.png
  • You should then be prompted that the service installation has been successful :
nssm-mongodb-installation-success.png
  • you can double-check into Windows service list that the service has been properly installed and then you can start it :
nssm-mongodb-installation-service.png

See Also

  • Agent installation
  • Backup & Restore
  • Controller installation
  • Housekeeping
  • Migration
  • Getting Started
  • Whats new?
  • Admin guide
    • Database installation
    • Controller installation
    • Agent installation
    • Backup & Restore
    • Housekeeping
    • Migration
    • Customization
    • Project management
    • Admin Views
    • Troubleshooting
  • User guide
  • Developer guide
  • Plugins
  • Resources
Step Logo
    • Documentation
    • Tutorials
    • Case studies
    • White papers
    • Product
    • Getting Started
    • Whats new?
    • Admin guide
      • Database installation
      • Controller installation
      • Agent installation
      • Backup & Restore
      • Housekeeping
      • Migration
      • Customization
      • Project management
      • Admin Views
      • Troubleshooting
    • User guide
    • Developer guide
    • Plugins
    • Resources