ganglia - clustering gmetad and pull data from other gmetad -
i new ganglia , trying play around clustering of gmetad project
i have cluster of around 500 nodes , hence want distribute load of gmetad(aggregator) multiple nodes , using central gmetad /gweb show results.
also, have limitation can not have data nodes on 1 machine, wanted know if there options below,
- if configure cluster of gmetad, central gmetad contain data in rrd(central) other gmetads?
- is possible stream data real-time on central gmetad gweb display instead of storing in rrd?
please find sample configuration below,
central configuration
data_source "grid1" xx.xx.xxx.xxx gridname "central" trusted_hosts xx.xx.xxx.xxx all_trusted on rrd_rootdir "/ganglia/rrds" case_sensitive_hostnames 1
grid1 configuration
data_source xx.xx.xxx.xxx gridname "grid1" rrd_rootdir "/ganglia/rrds" case_sensitive_hostnames 1
i have tried above configuration , able see data on web data gmetads copied central gmetad.
thanks in advance
yes. when configure entry of
data_source
in gmetad.conf, tcp polling thread starts fetch metrics data gmond or gmetad, store polled metrics data in rrd files host host, no matter polls gmond or gmetad.no. gweb application depends on rrd files single source of metrics data. however, can avoid using rrd files integrating
graphite
, gmetad send polled data directly configured carbon server. see answer question sending data ganglia graphite
one solution replacing sub-gmetad gmond in mute mode means kind of gmond used collect metrics other gmond in same cluster, let single gmetad pull these mute gmond, there's 1 gmetad pull metrics rrds in clusters.
- you need configure mute gmond via
mute = yes
- only configure these mute gmond in
data_source
entries of single gmetad
Comments
Post a Comment