集群监控之Ganglia的部署
轉(zhuǎn)載地址:https://www.slothparadise.com/how-to-install-ganglia-on-centos-7/
找了一堆文章,全都誤導(dǎo)了,這篇正解。
總結(jié)步驟如下:
1、server端 :
yum install -y ganglia-gmetad ganglia-web ganglia-gmond rrd-tool rrd-tool-devel
2、clent端
yum install -y ganglia-gmond
3、配置與分發(fā)
1)server : gmetad.conf
: gmond.conf
需要把所有的要監(jiān)控節(jié)點(diǎn)的Ip信息寫入udp_send,如:
cluster {
name = “buhpc”
owner = “unspecified”
latlong = “unspecified”
url = “unspecified”
}
udp_send_channel {
host = 1.buhpc.com
port = 8649
ttl = 1
}
udp_send_channel {
host = 2.buhpc.com
port = 8649
ttl = 1
}
udp_send_channel {
host = 3.buhpc.com
port = 8649
ttl = 1
}
udp_send_channel {
host = 4.buhpc.com
port = 8649
ttl = 1
}
udp_send_channel {
host = 5.buhpc.com
port = 8649
ttl = 1
}
udp_send_channel {
host = 6.buhpc.com
port = 8649
ttl = 1
}
udp_recv_channel {
port = 8649
retry_bind = true
}
2) client: 分發(fā)server端改好的gmond.conf至每個(gè)節(jié)點(diǎn)的 /etc/ganglia/目錄下
4、重啟服務(wù)
1)server: service gmetad start
service gmond start
service httpd start
2) client端:
service gmond start
總結(jié)
以上是生活随笔為你收集整理的集群监控之Ganglia的部署的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jQuery 教程02-jQuery 语
- 下一篇: 求最大公约数——欧几里得算法(JAVA)