Christopher,
You need one gmond headnode (master) per cluster.
ganglia master 1 gmond.conf on localhost :
udp_recv_channel {
port = 8649
family = inet4
}
ganglia master 2 gmond.conf on otherhost:
udp_recv_channel {
port = 8649
family = inet4
}
farm2 gmond.conf:
udp_send_channel {
host = otherhost.domain.tld
port = 8649
}
gmetad.conf :
data_source "farm1" localhost
data_source "farm2" otherhost.domain.tld
Cheers,
Ian
Christopher McCrory wrote:
Hello...
I've been using ganglia for several months. Very cool!
It seems to me the following should work, but I cannot seem to get the
configs right. I have multiple grids that I would like to keep track of
with ganglia; SGE, database, webserver etc. Maybe ten or twenty
separate farms groups. I would like to have one (maybe a second as
backup) collector for all the different farms so that I can see all the
groups via one gmetad web frontend.
So far I have not been able to get one central server to split up the
various groups. Every server ends up in the same grid. The only way
seems to be to have a 'leaf' server for each farm group with the central
server collecting data from each leaf.
In my situation I have multiple switches, VLANs, networks, and
locations, so multicast doesn't work.
e.g. ( this does not work)
cluster {
name = "farm1"
}
udp_send_channel {
host = ganglia-master
port = 8649
}
cluster {
name = "farm2"
}
udp_send_channel {
host = ganglia-master
port = 8650 # different port
}
on ganglia-master:
gmond.conf:
udp_recv_channel {
port = 8649
family = inet4
}
udp_recv_channel {
port = 8650
family = inet4
}
...
gmetad.conf:
data_source "farm1" localhost
data_source "farm2" localhost:8650
Am I missing something?