By default it works on Multicast, now if we have servers spread in different network segments / locations, this will not work.
To make this work we will have to use unicast for Ganglia configurations, for that follow the steps below:
On the Ganglia machines:
$ vi /etc/gmond.conf
1. Comment all entries of mcast and add an entry of host =
/* Feel free to specify as many udp_send_channels as you like. Gmond
used to only support having a single channel */
udp_send_channel {
#mcast_join = 239.2.11.71
host = (server host)
port = 8649
}
/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
#mcast_join = 239.2.11.71
port = 8649
#bind = 239.2.11.71
}
2. Restart the gmond service
/etc/init.d/gmond restart
(server host) = The host where Ganglia is hosted and which is collecting the data.
Now when you see the page on http://(server host)/ganglia
You will see the hosts coming up on the page.
Cheerz.
@$H
No comments:
Post a Comment