There are a few places you can verify that everything is matching up.  
Everything I'm writing here is for unicast.  I'm not sure how much of the gmond 
info applies to multicast, but the gmetad & web parts should be the same for 
uni/multicast.

Unicast clusters have normal nodes & head nodes.  A head node is one which 
knows the state of all other nodes in the cluster, and can be polled by gmetad. 
 Just for redundancy and clarity and redundancy: A head node is also a 'normal' 
node, in that it knows it's own state as well as others'.

1. normal gmond udp_send_channel (host&port) must match a head-node 
udp_recv_channel.
2. gmetad's data_source must match a head-node gmond tcp_accept_channel.
3. web's conf.php $ganglia_ip/$ganglia_port must match gmetad's xml_port.

Your XML looks like 1 & 2 are true, but I'd still double-check.  What about #3?

I've never seen the symptoms you're describing, so I'm guessing to some degree. 
 You might try shutting down all the daemons, and bringing up just 1 gmond & 
gmetad.  See how that looks, then bring up more gmonds one at a time, and see 
where things start to fail.  Check gmond & gmetad XML output at every stage, as 
well as the web.

alex

On Dec 21, 2010, at 3:52 PM, Tarabas wrote:

> Hi Bernard,
> 
> I am setting it up with unicast. The structure is as follwows:
> 
> server-A - Port 8649 gmond/gmetad
> server-B - Port 8661 gmond
> 
> Both clusters just have only one host (same server).
> 
> Gmetad on Server-A collects data from Server-A and Server-B gmond.
> 
> data_source "server-A" <ip-server-A>:8649
> data_source "server-B" <ip-server-B>:8660
> 
> The XML from the gmetad looks like this, which in my view looks okay:
> 
> [...]
> <GANGLIA_XML VERSION="3.1.7" SOURCE="gmetad">
> <GRID NAME="mediaskill" AUTHORITY="http://smurfette/ganglia/";
> LOCALTIME="1292967617">    
> <CLUSTER NAME="server-A" LOCALTIME="1292967606" OWNER="mediaskill"
> LATLONG="unspecified" URL="unspecified">
> <HOST NAME="smurfette" IP="<ip-smurfette>"
> REPORTED="1292967599" TN="18" TMAX="20" DMAX="0" LOCATION="Berlin"
> GMOND_STARTED="1292965419">   
> [...]
> </HOST>
> </CLUSTER>
> <CLUSTER NAME="server-B" LOCALTIME="1292967609" OWNER="mediaskill"
> LATLONG="unspecified" URL="unspecified">
> <HOST NAME="eva" IP="<ip-eva>" REPORTED="1292967606" TN="11"
> TMAX="20" DMAX="0" LOCATION="Berlin" GMOND_STARTED="1292963565">     
> [...]
> </HOST>
> </CLUSTER>
> </GRID>
> </GANGLIA_XML>
> 
> The web-frontend always defaults to Server-A and is not able to
> correctly display any other server (B, C, D) which I also added in the
> same manner with increasing port numbers starting at 8660.
> 
> I did not see any errors with debug enabled in any of the gmond or the
> gmetad ... only the web interface seems to have some problems
> displaying the hosts. I configured it to the 8651 port of the gmetad
> on localhost.
> 
> Best regards
> Manuel
> 
> 
> Tuesday, December 21, 2010, 10:10:08 PM, you wrote:
> 
> BL> Hi Manuel:
> 
> BL> Can you please clarify whether you are trying to setup Ganglia with
> BL> unicast or multicast?
> 
> BL> You can also get more troubleshooting information by running
> BL> gmetad/gmond in debug mode (-d 2) and looking at your apache error
> BL> logs.
> 
> BL> Cheers,
> 
> BL> Bernard
> 
> 
> ------------------------------------------------------------------------------
> Forrester recently released a report on the Return on Investment (ROI) of
> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
> within 7 months.  Over 3 million businesses have gone Google with Google Apps:
> an online email calendar, and document program that's accessible from your 
> browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 


------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to