- Ops Manager Overview >
- Install a Simple Test Ops Manager Installation
Install a Simple Test Ops Manager Installation¶
Warning
This setup is not suitable for a production deployment.
To evaluate Ops Manager, you can install the Ops Manager Application and Ops Manager Application Database on a single host. This setup provides all the functionality of Ops Manager monitoring and automation but provides no failover or high availability.
Considerations¶
This test installation includes the following caveats:
- It uses one
mongod
for the Ops Manager Application database. In production, the database requires a dedicated replica set. - It uses MongoDB Community Edition. MongoDB Community doesn’t need additional libraries.
- It doesn’t include backup functionality.
Procedure¶
To install and configure an evaluation version of Ops Manager on hosts running Red Hat Enterprise Linux 8.0:
Provision an Ops Manager host.¶
Provision a host for Ops Manager. This host must meet the following requirements:
System Memory | 15 GB |
---|---|
Disk Capacity | 50 GB in / (The root directory of this host) |
Host OS Permissions | root |
Host OS | Red Hat Enterprise Linux 8.0 |
Cloud-based instances must meet the memory and storage requirements.
To verify the needed capacity, log in to the instance and execute the following commands:
This instance has 16 GB of RAM.
This instance has 73 GB of storage capacity.
Important
Verify that the ulimit
settings meet the
minimum requirements.
Configure yum
to install MongoDB.¶
Create a /etc/yum.repos.d/mongodb-org-5.0.repo
file so
that you can install MongoDB directly using yum
:
Install MongoDB.¶
Invoke the following command to install the latest stable release of MongoDB Community:
Create the Ops Manager Application Database directory.¶
Invoke the following command to create the data directory:
Invoke the following command to change ownership of the data directory to MongoDB:
Update the MongoDB configuration file.¶
The installer creates a configuration file saved at
/etc/mongod.conf
.
Open the MongoDB file with your preferred text editor.
Edit the file to make the following changes:
Save the file when you have made the edits.
Start the Ops Manager Application Database mongod instance.¶
Download the Ops Manager package.¶
- Navigate to the Ops Manager Download Center.
- From the Platforms drop-down menu, click Red Hat + CentOS 6, 7, 8 / SUSE 12 + 15 / Amazon Linux.
- From the Packages drop-down menu, click RPM.
- Click Download.
Note
MongoDB names the downloaded package
mongodb-mms-<version>.x86_64.rpm
. <version>
represents the
version number for Ops Manager.
Optional: Copy the Ops Manager .rpm
package to your host.¶
If you install Ops Manager on a remote host, such as a cloud service
provider instance, use scp
to copy the installer to your host:
Install Ops Manager.¶
To install the .rpm
package, invoke the following command.
<version>
represents the Ops Manager version in the .rpm
package:
This command creates the following artifacts:
Artifact | Value |
---|---|
Ops Manager software base directory | /opt/mongodb/mms/ |
New system user that owns the Ops Manager processes | mongodb-mms . |
Ops Manager configuration file with the
connection string to access the Application Database . Don’t change this value defaults from
locahost:27017 . |
/opt/mongodb/mms/conf/conf-mms.properties |
Start Ops Manager.¶
Invoke the following command:
Open the Ops Manager home page and register the first user.¶
In a browser, enter the following URL using the hostname. If do not have a hostname, use the public IP address instead:
Click the Sign Up link.
Follow the console prompts to register the first user and create the first organization and project. Ops Manager assigns the Global Owner role to the first user.
Configure Ops Manager.¶
Ops Manager opens the configuration console. Ops Manager marks required settings with an asterisk.
Enter the information as appropriate. When you finish the configuration, Ops Manager opens the Deployment page.
Set up your first deployment.¶
Click MongoDB Ops Manager in the upper left corner of the page to return to the Deployment page.
Click Add New to deploy a MongoDB instance.
See also