mongoDB Ops Manager

1.安装mongo库
tar -zxvf mongodb-linux-x86_64-3.2.4.tgz 
mkdir -p /data/mongodbdata_config/logs/
mkdir -p /data/mongodbdata_config/data
vi /etc/mongodb.conf 
 /opt/mongodb-linux-x86_64-3.2.4/bin/mongod -f /etc/mongodb.conf


2.安装mms
cd /opt/
wget https://downloads.mongodb.com/on-prem-mms/rpm/mongodb-mms-3.4.0.383-1.x86_64.rpm
rpm -ivh mongodb-mms-3.4.0.383-1.x86_64.rpm

/etc/init.d/mongodb-mms start
Generating new Ops Manager private key...
Starting pre-flight checks
Successfully finished pre-flight checks

Migrate Ops Manager data
   Running migrations...[  OK  ]
Start Ops Manager server
   Instance 0 starting......................[  OK  ]
Starting pre-flight checks
Successfully finished pre-flight checks

Start Backup Daemon...[  OK  ]


查看端口
netstat -antpl|grep 8080
tcp6       0      0 :::8080                 :::*                    LISTEN      10494/mms-app

3.配置mms
a.注册账号
b.添加agent
c.添加监控对象


 

posted @ 2020-06-23 09:17  不可以是英文名吗  阅读(96)  评论(0)    收藏  举报