To expand on what Jason wrote, the name doesn't actually decide which cluster the node's data gets included in. If you are using multicast as it appears you are (my guess), You will need to take an additional step of segregating each cluster by using different ports. With your example:

gmetad.conf
data_source "Servers" 60 localhost:8649
data_source "Opterons" 60 hsd380:8655 hsd400:8655
data_source "Athlons" 60 hsd250:8656 hsd258:8656

Opterons gmond.conf
udp_send_channel {
mcast_join = 239.2.11.71
port = 8655
}

etcetera

Ian

[EMAIL PROTECTED] wrote:

Ganglia developers,

I am trying to implement Ganglia on a 500+ node cluster.  My goal is to use the 
grid functionality to have the data split up into several groupings (by 
architecture -- it is a non-homogeneous cluster).  The issue I am having is 
that every one of my nodes is showing up for all “data_source” definitions.  In 
other words, the metrics from all ~500 nodes shows up under each data_source 
heading even though I have defined distinct “cluster names” in the 
/etc/gmond.conf files.

My config files are provided below for reference.

Thanks for any advice you can provide,
Mike

GANGLIA FRONT-END CONFIGS (web front-end / gmetad / gmond)
/etc/gmetad.conf
# data_source "my cluster" 10 localhost  my.machine.edu:8649  1.2.3.5:8655
# data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
# data_source "another source" 1.3.4.7:8655  1.3.4.8
data_source “Servers” 60 localhost
data_source "Opterons" 60 hsd380 hsd400
data_source "Athlons" 60 hsd250 hsd258
#

/etc/gmond.conf
}

/* If a cluster attribute is specified, then all gmond hosts are wrapped inside
* of a <CLUSTER> tag.  If you do not specify a cluster tag, then all <HOSTS> 
will
* NOT be wrapped inside of a <CLUSTER> tag. */
cluster {
 name = "Servers"
}


GANGLIA NODE CONFIGS /etc/gmond.conf (on Opteron nodes)
}

/* If a cluster attribute is specified, then all gmond hosts are wrapped inside
* of a <CLUSTER> tag.  If you do not specify a cluster tag, then all <HOSTS> 
will
* NOT be wrapped inside of a <CLUSTER> tag. */
cluster {
 name = "Opterons"
}


/etc/gmond.conf  (on Athlon nodes)
}

/* If a cluster attribute is specified, then all gmond hosts are wrapped inside
* of a <CLUSTER> tag.  If you do not specify a cluster tag, then all <HOSTS> 
will
* NOT be wrapped inside of a <CLUSTER> tag. */
cluster {
 name = "Athlons"
}



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general



Reply via email to