Well, I have some theories as to why this isn't
working, even though it's supposedly restricted to
localhost.  I telnetted to localhost on ports 8649 and
8651, and they showed no statistics, just the names of
what it was supposed to be collecting. 

This is what I gather from the README, in addition to
some questions.  Please correct me on any of these
points if I'm wrong. 

1) Even if I'm only collecting data on localhost, the
fact that the gmond.conf and gmetad.conf specify a
multicast address means the daemons are still trying
to access that multicast address, even for localhost. 

2) Multicast traffic has to be enabled on the
router/switch that the cluster nodes are on, and in
order to avoid flooding the network with traffic, it's
best to restrict it to only the hosts that need it. 
For machines on the same subnet and VLAN, enabling
only at the switch is necessary. Otherwise, enabling
at both the switch and router is necessary. For
details, see
http://www.cisco.com/warp/public/473/38.html. To test
if this is set up correctly, you can ping 239.2.11.71
from any of the cluster nodes. 

3) I do not have to use ifconfig on any of the systems
to set the address on any of the NICs to the multicast
ddresses specified in gmetad.conf or gmond.conf. 
E.g., ifconfig -a does not need to show a listing for
eth0:1 for 239.2.11.71.

3) If iptables is used in the environment where you're
setting up ganglia *and* if your machines are on
different subnets, you need to put in rules to allow
multicast traffic on ports 8649 and 8651.  If they are
on the same subnet and there is no firewall on any of
the cluster nodes, no iptables changes are necessary.

--- Burv <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I just installed ganglia 3.0.3, following the
> instructions at
> http://ganglia.info/docs/ganglia.html
> and  http://ganglia.info/docs/gmond.conf.html.  I
> configured, compiled and installed with no errors on
> an x86_32 machine running RHEL 4 update 3.  make
> check
> also ran OK.  
> 
> I installed the gmetad and gconfd startup scripts
> after configuring gconfd.conf and gmetad.conf, and
> started the services.  As a baseline before
> configuring ganglia for cluster nodes, I figured I'd
> just configure gmetad.conf for localhost, with the
> default polling period of 10 and the default port,
> like this:
> 
> data_source "Webserver" localhost
> 
> The gmetad and gmond processes are running and
> listening on the right ports:
> 
> [EMAIL PROTECTED] ~]# lsof -i | grep gmeta
> gmetad    21357  nobody    4u  IPv4 259736       TCP
> *:8651 (LISTEN)
> gmetad    21357  nobody    5u  IPv4 259737       TCP
> *:8652 (LISTEN)
> You have new mail in /var/spool/mail/root
> [EMAIL PROTECTED] ~]# lsof -i | grep gmond
> gmond     11836  nobody    3u  IPv4 179801       TCP
> *:8649 (LISTEN)
> 
> but gstat shows nothing:
> [EMAIL PROTECTED] ~]# gstat --all
> CLUSTER INFORMATION
>        Name: test
>       Hosts: 0
> Gexec Hosts: 0
>  Dead Hosts: 0
>   Localtime: Sat Sep  2 09:56:16 2006
> 
> 
> 
> ---------------------
> Burvil  * http://www.burvil.org *
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 


---------------------
Burvil  * http://www.burvil.org *

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to