Kyrre Frli <[EMAIL PROTECTED]> wrote: > I'm new to Ganglia .... > > Why do all servers end up in the same 'cluster' ? > > I should have two clusters, each with two servers (AIX LPARs; AIX > 5.3), as configured in /etc/gmond.conf, and /etc/gmetad.conf on the > gmetad-server.
It doesn't work like it seems it should. Instead, it works like this: gmetad goes to a data_source listed first on a data_source line, and contacts that node. It gets the XML from that node, which has information about a bunch of hosts and metrics for those hosts, and it considers all of those hosts to be a cluster. I believe the cluster name is whatever cluster name that node claims to be in, which comes from its gmond.conf. Even if you configure several clusters in your gmetad.conf, and even if your gmond nodes have different cluster names, if your first gmond node that gmetad contacts has information about all your nodes, then they will all be one cluster. To separate clusters using multicast (the default configuration), you need to change either the port or the multicast IP in your gmond.conf files. All nodes that have the same multicast IP and same port and are on the same local net or otherwise able to see each others' multicasts, will all have each others' metrics and be one cluster. If half of your hosts use 239.192.0.120 in their gmond.conf and the other half use 239.192.0.130, then you'll have two separate clusters. Or if half multicast on UDP port 8649 and the other half on 8650. etc. -- Cos ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

