Hello Ofer Inbar,

Wednesday, November 12, 2008, 2:30:33 AM, you wrote:

> Lozgachev Ivan <[EMAIL PROTECTED]> wrote:
>> I have 3 clusters. On each node of clusters started daemon
>> service gmond. But
>> I have 1 cluster in my web-ganglia interface. All clusters
>> belong to the same LAN. My configuration files:
>> 
>> gmetad.conf
>> data_source "UNN cluster" localhost
>> 
>> gmond.conf
>> cluster {
>>   name = "UNN cluster"
>> }
>> udp_send_channel { 
>>   host = 127.0.0.1
>>   port = 8649
>> }
>> 
>> gmetad service started on 1 main node in first cluster.
>> 
>> Nodes belonging to different clusters are contained in one list.
>> How to divide the entire list of all nodes into 3 parts named (for
>> example) "cluster1", "cluster2", "cluster3"?

> This is another one of those counterintuitive things about Ganglia
> you
> probably would miss from reading the docs: the cluster name= in
> gmond.conf does *not* actually define clusters.  Rather, it puts a
> string in the right field for gmond to get a cluster name from when
> it
> uses that node as a data source.  Which hosts are members of the
> cluster is determined by which hosts that node knows about.  If all
> your gmond nodes read each others' multicasts and have all of them
> in
> the XML, then they're one cluster.

> To have separate clusters, you need to separate out the traffic so
> that gmond nodes in each cluster only see multicast traffic from
> other
> nodes in the same cluster.  You can do this in two ways:
>  - use a different port for each cluster
>  - use a different multicast IP address for each cluster

> Or, you can use unicast, and explicitly decide which gmond talks to
> which collector gmond.  Just make sure each collector gmond only
> gets
> updates from other nodes in the same cluster, and not from others.

> gmetad will get the cluster's name from the name= in the gmond it
> uses
> as a date source, but the cluster *membership* doesn't depend on
> name.
>   -- Cos

I try to use the different port. But all nodes contains in one list.
What is the problem? Must I run the gmetad daemon on main nodes of
clusters? Please send to me a example of configuration files.

P. S.
I used the next configurations:

cluster {
  name = "cluster1"
}
udp_send_channel {
  host = 127.0.0.1
  port = 8649
}


cluster {
  name = "cluster2"
}
udp_send_channel {
  host = 127.0.0.1
  port = 8648
}


cluster {
  name = "cluster3"
}
udp_send_channel {
  host = 127.0.0.1
  port = 8647
}
-- 
Best regards,
 Lozgachev Ivan.                           mailto:[EMAIL PROTECTED]


-------------------------------------------------------------------------
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