Mms는 10gen에서 제공하는 무료 MongoDB 모니터링 툴이다.
참고 링크
http://gomi97.tistory.com/645
https://mms.10gen.com/help/install.html#registering-for-mms
서버 환경 구성.
CentOS 6.2 64bit
MMS 10gen 전용 웹사이트에서 가입
https://mms.10gen.com/user/login
MMS 설치 및 실행
가. SoftWare 설치
- 파이썬 설치 툴을 설치 (python2.4+)
sudo yum install python-setuptools
- 파이 몽고 설치(1.9+)
http://api.mongodb.org/python/current/installation.html mkdir /usr/bin/mms-agent/
/usr/bin/mms-agent/ 폴더에 압축 해제 후 업로드
나. 실행
- 실행
[root@TPSVR01 ~]# cd /usr/bin/mms-agent/[root@TPSVR01 mms-agent]# nohup python agent.py > /var/log/mongo_mmm_agent.log 2>&1 &
[3] 27521
[2] Exit 2 nohup python agent.py > /var/log/mongo_mmm_agent.log 2>&1
- 로그 정보 확인
[root@TPSVR01 mms-agent]# tail -f /var/log/mongo_mmm_agent.log
nohup: ignoring input
2012-10-16 10:19:10,174 INFO Starting agent parent process - version: 1.4.6
2012-10-16 10:19:10,174 INFO Note: If you have hundreds or thousands of databases, disable dbstats on the settings page before running the MMS agent.
2012-10-16 10:19:10,175 INFO Started agent parent process - version: 1.4.6
2012-10-16 10:19:15,254 INFO Starting agent process - version 1.4.6
2012-10-16 10:19:15,257 INFO Started agent process - parent pid: 29394 - version: 1.4.6
- Mms site에 가서 확인
Agent에 의해서 서버내의 mongodb 성능 정보를 전송합니다.
- Time zone 변경
기본 시간이 글로벌 시간이니, Seoul으로 변경하면, 현재 시간으로 확인할 수 있다.
- 확인하기
'Etc' 카테고리의 다른 글
(BigData) HDInsight Service (0) | 2012.10.25 |
---|---|
spanner 소개 (0) | 2012.10.23 |
Tempdb Checkpoint (1) | 2012.10.10 |
여러개 로그 파일이 좋을까??? (0) | 2012.09.25 |
Spanner: Google’s Globally-Distributed Database (1) | 2012.09.17 |