Problem solved.

On 06/30/2010 10:57 PM, quanta wrote:
> Hi all,
>
> I have somes questions about Ganglia:
>
>     1. As I mentioned in the subject, can I group 192.168.3.x and
> 192.168.7.x into a cluster? 
Yes, you can.

> On the otherhand, why do sometimes some strange hosts (same subnet)
> automatically appear in my cluster and some gmond nodes don't appear?
Because of mcast_join option in config file.
>
>     2. Why did I get the following error if I change *mcast_join*
> option in *gmond.conf* to host running gmetad?
>
> *        # gmond -d 10
> udp_recv_channel mcast_join=192.168.7.63 mcast_if=NULL port=8649
> bind=192.168.7.63
> Error creating multicast server mcast_join=192.168.7.63 port=8649
> mcast_if=NULL family='inet4'. Exiting.
> *
You should use *host* instead of *mcast_join* option, like below:
On every nodes:

*udp_send_channel {
  host = 192.168.3.140
  port = 8649
}

tcp_accept_channel {
  port = 8649
}*

192.168.3.140 is head gmond node with the following configuration:

*udp_send_channel {
  host = 192.168.3.140
  port = 8649
}

udp_recv_channel {
  port = 8649
}

tcp_accept_channel {
  port = 8649
}

*Remember to remove all lines related to mcast_join.

And on gmetad:
*data_source "cluster_name" 192.168.3.140*

> **
>     3. Which is the correct method to add *data_source* in
> *gmetad.conf*: specify multiple gmond nodes like:
>         *data_source "7x" localhost 192.168.7.x:8649, ...*
>
>         or  add only one "primary" gmond node (same to Blue Cluster in
> the following example:
> http://www.ibm.com/developerworks/wikis/display/WikiPtype/ganglia)
See above answer.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to