This is an old revision of the document!
Overview
So, if we want to add existing server, under the wing of MongoOps Manager, we have to do the following:
- Download & Install the RPM on the
- Configure the agents with the MongoOps using ApiKey and Endpoint URL
That is that. After that, we will be able to install whatever we want from the MongoOps manager. So let's get started:
Download & Install
In fact, when you go to MongoOps → All clusters → Agents → Download & Settings, there is a easy way how to do the steps. Just follow them :)
Download & Install
[root@dbpahfgcl ~]# curl -OL http://secretMongoOpsUrl:8080/download/agent/automation/mongodb-mms-automation-agent-manager-10.2.18.5978-1.x86_64.rhel7.rpm % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13.5M 0 13.5M 0 0 208M 0 --:--:-- --:--:-- --:--:-- 211M [root@dbpahfgcl ~]# [root@dbpahfgcl ~]# [root@dbpahfgcl ~]# rpm -U mongodb-mms-automation-agent-manager-10.2.18.5978-1.x86_64.rhel7.rpm [root@dbpahfgcl ~]#
You see, wasn't so hard :) Now for the tricky part.
Configure the Agent
To configure the agent we need:
- GroupId
- ApiKey
- MongoOps URL
In my case they are:
- Secret
- Secret
- and Secret
You have to configure them in:
Configure the Agent
/etc/mongodb-mms/automation-agent.config
Start
Once all this is done, we can start the agent as follows:
Start the agent
systemctl start mongodb-mms-automation-agent.service
TODO
https://docs.opsmanager.mongodb.com/v4.0/tutorial/add-servers-automation/