What I do is append the subnet to the cluster name to have a unique
cluster on each subnet.  Then Cluster1 actually becomes a gmetad grid
which polls data from each subnet cluster:

gridname "Cluster1"
data_source "Cluster1.10.1.1" 15 ServerA:port ServerB:port
data_source "Cluster1.10.1.2" 15 ServerC:port ServerD:port

"port" is the same number on all servers in Cluster1.  Cluster2 should
have a different port, and the gmeatds will all need unique xml_port and
interactive_ports.

The downside is you have to click in to each subnet to see all the
hosts, but this is good for large clusters since it automatically limits
your hosts per cluster to 254 or less.

-twitham

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:ganglia-
>[EMAIL PROTECTED] On Behalf Of C
>Sent: Friday, April 11, 2008 12:10 PM
>To: [email protected]
>Subject: [Ganglia-general] Clear directions for multiples clusters
>ondifferent subnets? Please!
>
>I have servers located in different physical locations and on different
>subnets that I need to include in the same cluster.  I _can't_ have
them in
>different ganglia clusters because they are handling the same
processing
>tasks.  Here is an example:
>
>Cluster1:    Cluster2:
>ServerA        ServerE
>ServerB        ServerF
>ServerC        ServerH
>ServerD        ServerI
>
>Locations:
>State #1:    State #2:
>10.x.x.1:    10.2.2.3:
>ServerA        ServerC
>ServerB        ServerD
>10.x.x.2:    10.x.x.4
>ServerF        ServerH
>ServerG        ServerI
>
>(That formatting should look ok on a fixed font)
>
>Its seem that may multicast isn't working across the WAN links and I've
>read it doesn't cross subnets by default (makes sense).  I've been
trying
>to figure out how to use the 'host =' statement in the gmond.conf and I
can
>get ServerA and Server C to semi-talk, i.e. I can run gstat -a on
ServerC
>and see the stats for serverA, but A can't see C.   I've tried adding
them
>both to the gmetad.conf like "data_source "Cluster1" ServerA ServerC
and
>that doesn't work either.  I've tried changing the ports as well.
>
>I do have about 5 clusters overall.  I can't find anything in the docs
that
>say you HAVE to change the port, but I've tried.   Does gmetad only
talk to
>the clients via the "tcp_accept_channel" port?
>
>I would appreciate anywho who's done something like this to share their
>config and their gmond.conf files.  I tried modeling mine after here:
>http://people.web.psi.ch/markushin/hpc/docs/Ganglia_VM_20070116.pdf
>and the part where it discusses "Unicast can be used when hosts
belonging
>to the same Ganglia cluster are on different subnets, for example", but
I'm
>just not getting something right.  I've tried a lot of combinations in
>gmond.conf and gmeta.conf and still can't seem to get the right one,
even
>after perusing all the lists and googling ganglia to death.  :)  I'm
>willing to do anything to my .conf's to make this work right!
>
>Just to clarify, the end goal for this config is for only 2 clusters to
>display in that (only) grid on ganglia.
>
>Thanks so much in advance for your help,
>
> - Curtis
>
>
>
>-----------------------------------------------------------------------
--
>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>Don't miss this year's exciting event. There's still time to save $100.
>Use priority code J8TL2D2.
>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/
java
>one
>_______________________________________________
>Ganglia-general mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/ganglia-general

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to