This is an old revision of the document!


As already discussed the OPS Manager is centralized based manager for Mongo. Ergo it has server and agent. Agent should be also running on the OPS Manager server, so let's check how stop start an agent:

Status of Agent process

[root@dbpafxjrl ~]# systemctl status mongodb-mms-automation-agent.service
● mongodb-mms-automation-agent.service - MongoDB MMS Automation Agent
   Loaded: loaded (/etc/systemd/system/mongodb-mms-automation-agent.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Start Agent

[root@dbpafxjrl ~]# systemctl start mongodb-mms-automation-agent.service
[root@dbpafxjrl ~]# systemctl status mongodb-mms-automation-agent.service
● mongodb-mms-automation-agent.service - MongoDB MMS Automation Agent
   Loaded: loaded (/etc/systemd/system/mongodb-mms-automation-agent.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2020-03-23 11:10:18 CET; 1s ago
  Process: 21831 ExecStartPre=/usr/bin/chown -R mongod:mongod /var/run/mongodb-mms-automation (code=exited, status=0/SUCCESS)
  Process: 21829 ExecStartPre=/usr/bin/mkdir /var/run/mongodb-mms-automation (code=exited, status=0/SUCCESS)
 Main PID: 21834 (mongodb-mms-aut)
   CGroup: /system.slice/mongodb-mms-automation-agent.service
           ├─21834 /opt/mongodb-mms-automation/bin/mongodb-mms-automation-agent -f /etc/mongodb-mms/automation-agent.config -pidfilepath /var/run/mongodb-mms-automation/mongodb-mms-automation-agent.pid >> /var/log/mongodb-mms-automati...
           ├─21936 /var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.0.6-ent/bin/mongod -f /data/db_backup/automation-mongod.conf
           ├─21937 /var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.0.6-ent/bin/mongod -f /data/db_backup/automation-mongod.conf
           ├─21938 /var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.0.6-ent/bin/mongod -f /data/db_backup/automation-mongod.conf
           ├─21944 /var/lib/mongodb-mms-automation/mongodb-mms-monitoring-agent-6.6.2.466-1.rhel7_x86_64/mongodb-mms-monitoring-agent
           └─21947 /var/lib/mongodb-mms-automation/mongodb-mms-backup-agent-6.8.6.1018-1.rhel7_x86_64/mongodb-mms-backup-agent

Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: authorization: enabled
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: keyFile: /var/lib/mongodb-mms-automation/keyfile
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: setParameter:
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: authenticationMechanisms: SCRAM-SHA-1,SCRAM-SHA-256
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: storage:
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: dbPath: /data/db_backup
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: engine: wiredTiger
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: systemLog:
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: destination: file
Mar 23 11:10:18 dbpafxjrl mongodb-mms-automation-agent[21834]: path: /data/db_backup/log/mongod.log
  • mongo_ops_operations_agent_management.1584960830.txt.gz
  • Last modified: 2020/03/23 10:53
  • by andonovj