Documente Academic
Documente Profesional
Documente Cultură
0
Before starting ensure that firewalls are off and SELINUX is Disabled on all the nodes.
On master Node:
Note: It is the uncommented line in the file. cluster_name is the name of the cluster
here(example)
3. Go to /etcc/ganglia/gmond.conf. In this file change the following:
cluster {
name = “cluster_name”
or
/etc/init.d/gmetad start
/etc/init.d/gmond start
5. To check the status of the gmond and gmetad at any given point of time:
On client node:
All the nodes that needs to be monitored should have gmond installed.
Note: Here for example dhvanislclient is client node so all the rpms required for ganglia-gmond
are installed in the client.
Libconfuse-2.6-1.95.8-8.el6.x86_64.rpm
Compat-expat-1.95.8-8.el6.x86_64.rpm
Libganglia-3.5.0-1.x86_64.rpm
Ganglia-gmond -3.5.0-1.x86_64.rpm
cluster {
name = “cluster_name”
4. Now Start the services
5. Post installation perl rrdtool rpm was installed in the master nodes .
perl-rrdtool-1.4.5-1.el5.rf.x86_64.rpm
Cluster 1: mithuncluster
Cluster 2: dhvanicluster
IP of the nodes:
mithunmaster : 192.168.122.211
mithunclient: 192.168.122.212
dhvanislmaster: 192.168.122.216
dhvanislclient: 192.168.122.244
1. vi /etc/gmond.conf
2. Make the following changes
udp_send_channel {
# mcast_join = 192.168.122.211 ( comment this line)
host = 192.168.122.211
port = 8649
ttl = 1
}
udp_recv_channel {
#mcast_join = 192.168.122.211 (comment this line)
port = 8649
#bind = 239.2.11.71 (comment this line)
gmond.conf file for mithunmaster and mithunclient
1. vi /etc/ganglia/gmond.conf
2. Make the following changes
udp_send_channel {
# mcast_join = 192.168.122.216 ( comment this line)
host = 192.168.122.216
port = 8649
ttl = 1
}
udp_recv_channel {
#mcast_join = 192.168.122.216 (comment this line)
port = 8649
#bind = 239.2.11.71 (comment this line)
#retry_bind = true (comment this line)
gmond.conf file for dhvanislmaster and dhvanislclient
1. vi /etc/gmetad.conf
2. add the following
data_source “dhvanicluster” 192.168.122.216