You must have epel repo installed
1) Installtion :
On all nodes
# yum search ganglia-gmond
On one node
# sudo yum install ganglia-gmetad
# yum install ganglia-web.x86_64
2) Config
# /etc/ganglia/gmond.conf
# Gmond.conf
cluster {
name = "tuxhub"
}
udp_send_channel {
host = "gemtad.tuxhub.com"
port = 8649
ttl = 1
}
/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
port = 8649
}
/* You can specify as many tcp_accept_channels as you like to share
an xml description of the state of the cluster */
tcp_accept_channel {
port = 8649
}
# /etc/ganglia/gmetad.conf
data_source "tuxhub" gemtad.tuxhub.com
3) Services
Start services
On all nodes
service gmond start
On gmeta node.
service gmetad start
service httpd start
No comments:
Post a Comment