Hi Max:
On Wed, Oct 1, 2008 at 1:02 AM, <[EMAIL PROTECTED]> wrote:
> I Just started using ganglia and am really impressed! The default setup worked
> out of the box. Really nice "plug&play". I changed the Setup from Multicast to
> Unicast, still works as expected!
>
> Now i want to add another Cluster but keep my 2pc setup.
>
> i tried the setup below, but cant seem to get pc2 to be viewed
> as part of work-cluster, it still gets rendert in mgmt-cluster.
>
> i use the latest ganglia 3.1.1.
>
> pc2 is deaf! - but that could be changed if its needed == if a
> client->monitorhost
> push setup doesnt work with multiple clusters.
>
> id be happy to hear what i am doing wrong, or where i can find information on
> setting
> up a multicluster ganglia setup.
>
> thanks
> Max
>
> below - my (dream)setup (stripped down) ....that doesnt actually do what i
> think it should :)
> -------------------------------------------------------
>
> pc1 = gmond, gmetad, ganglia webinterface
> gmond.conf:
> ....
> cluster
> {
> name=mgmt-cluster
> }
>
> udp_send_channel {
> host = localhost
> port = 8649
> ttl = 1
> }
>
> udp_recv_channel {
> port = 8649
> }
>
> gmetad.conf:
> ....
> data_source 10 "mgmt-cluster" localhost
> data_source 10 "work-cluster" localhost
>
> ------------------------------------------------------
> pc2 = gmond
> gmond.conf:
> ....
> cluster
> {
> name=work-cluster
> }
> udp_send_channel {
> host = pc1
> port = 8649
> ttl = 1
> }
Ganglia does not partition clusters based on "name", it is actually by
"port". So even though for your pc2, you configure the name to be
"work-cluster", the port is the same as mgmt-cluster, which is 8649.
What you need to do is change work-cluster's port to something other
than 8649 (you can use 8650, or something else, just stay away from
8651 and 8652 as those are default Ganglia gmetad ports). You will
also need to modify your data_source line slightly by adding the port
and host, i.e.:
data_source 10 "work-cluster" pc2:8650
I am not too familiar with unicast setup, but I believe for your pc2
gmond.conf, you should change host to pc2 and port again to 8650.
This should give you the desired setup.
Hope this helps.
Cheers,
Bernard
-------------------------------------------------------------------------
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