On Fri, Nov 28, 2008 at 10:59:41AM +0200, Johann Spies wrote:
> 
> /usr/local/sbin/gmond -t > /etc/ganglia/gmond.conf

presume  you restarted gmond after changing the configuration

> sudo gstat -a
> CLUSTER INFORMATION
>        Name: unspecified
>       Hosts: 1
> Gexec Hosts: 0
>  Dead Hosts: 0
>   Localtime: Fri Nov 28 10:55:13 2008
> 
> CLUSTER HOSTS
> Hostname                     LOAD                       CPU
> Gexec
>  CPUs (Procs/Total) [     1,     5, 15min] [  User,  Nice, System,
>  Idle, Wio]
> 
> head001.sun.ac.za
>     4 (    1/  293) [  0.94,  0.56,  0.76] [  24.9,   0.0,   0.7,
>     73.2,   1.3] OFF
> 
> With no information from comp001-comp021 although gmond is running on
> each one of them.

if iptables is off in all of them and they are all (including head001) in the 
same network
segment, then you have a network problem.

# tcpdump host 239.2.11.71

should show you are getting multicast messages from all the nodes, but
probably only shows packets from head001 instead.

> The reason for my previous mail was that the person described a
> solution in his/her situation using monocasting and not multicasting.
> I suspect multicasting is not working on my system.

to change to unicast what you have to do is change the configuration
from :

/* Feel free to specify as many udp_send_channels as you like.  Gmond 
   used to only support having a single channel */ 
udp_send_channel { 
  mcast_join = 239.2.11.71 
  port = 8649 
  ttl = 1 
} 

/* You can specify as many udp_recv_channels as you like as well. */ 
udp_recv_channel { 
  mcast_join = 239.2.11.71 
  port = 8649 
  bind = 239.2.11.71 
} 

into (assuming all your nodes can resolve that name, otherwise use the ip)

udp_send_channel {
  host = head001.sun.ac.za
  port = 8649
}

udp_recv_channel {
  port = 8649
}

then restart all your gmond with the new configuration (presume iptables
is disabled in all the other nodes as well)

Carlo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to