- Create or Import a MongoDB Deployment >
- Deploy a Standalone MongoDB Instance
Deploy a Standalone MongoDB Instance¶
On this page
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¶
Click Deployment, then the Processes tab.¶
Choose New Standalone.¶
- Click the Add New dropdown menu.
- Select New Standalone.
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 . |
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:
- Click Add Option.
- Select a Startup Option.
- Set an acceptable value for that Startup Option.
For descriptions of Advanced Options, see Advanced Options for MongoDB Deployments.
Click Apply.¶
Click Review & Deploy to review your changes.¶
Click Confirm & Deploy to deploy your changes.¶
Otherwise, click Cancel and you can make additional changes.