Navigation

Deploy a Standalone MongoDB Instance

Overview

You can deploy a standalone MongoDB instance managed by Ops Manager. Use standalone instances for testing and development. Do not use these deployments, which lack replication and high availability, for production systems. For all production deployments use replica sets. See Deploy a Replica Set for production deployments.

Prerequisites

You must provision a server to which to deploy. For testing purposes, you can use your localhost.

Procedure

1

Click Deployment, then the Processes tab.

2

Choose New Standalone.

  1. Click the New Deployment dropdown menu.
  2. Select New Standalone.
3

Configure the standalone MongoDB instance.

In the Process Configuration section, complete the following fields.

Name Type the name for your standalone MongoDB deployment.
Version

Select the MongoDB version for your standalone MongoDB deployment.

Note

If the dropdown menu does not include the MongoDB version you want for your deployment, you must enable it in the Version Manager.

Auth Schema Version Select the schema for storing the user data for your deployment. MongoDB 3.0 uses a different schema for user data than previous versions. For compatibility information, see the Security Changes in the MongoDB 3.0 release notes.
Feature Compatibility (Optional) Select the feature compatibility set. This field appears if your deployment MongoDB version is 3.4 or later.
Hostname Type the FQDN for the server hosting your MongoDB deployment.
Port Type the IANA port number for your MongoDB deployment. The default for MongoDB deployments is 27017.
Number of Cores Type the number of CPU cores to bind to this deployment. If you set this value to 0, no action is taken and CPU core management is delegated to the operating system.
DB Directory Path Type the system path to the database directory for this deployment. The default is /data/myProcess.
Log File Path Type the system path to the log file setting for this deployment. The default is /data/myProcess/mongodb.log.
4

Set any Advanced Configuration options for the standalone MongoDB instance.

In the Advanced Options section, add any additional runtime options you want to set for your MongoDB deployment.

To add an option:

  1. Click Add Option.
  2. Select a Startup Option.
  3. Set an acceptable value for that Startup Option.

For descriptions of Advanced Options, see Advanced Options for MongoDB Deployments.

4

Click Apply.

5

Click Review & Deploy to review your changes.

6

Review and approve your changes.

Ops Manager displays your proposed changes.

  1. If you are satisfied, click Confirm & Deploy.
  2. Otherwise, click Cancel and you can make additional changes.