I know the question has been asked as I ran across a post from 2005, but
with the updates in versions and formats of gmond/gmetad, I've got to say
I'm quite lost.
I'm trying to implement Ganglia for the company I work at. We have multiple
sites around the world, each with several servers. Management has deemed it
useful for systems that run multiple hosts on a single frame (VM Ware, AIX
Logical Partitions, etc.) to cluster those systems together, thus preventing
me from a simple implementation. The proposed architecture then is to
create a server cluster for each AIX frame, each VM Host, and one cluster
for all of the "standalone" systems in each location.
Admittedly, I'm very new to the product, so all of the below is assuming on
my part.
Since I don't think Ganglia supports multiple clusters within clusters (i.e.
I can't create a cluster under Grid1 named Site1 with another cluster "AIX
Frame 1" under that Site1 cluster), the proposed solution is to create a
Grid per location, then within that location's grid, create clusters for the
various boxes.
What I cannot seem to figure out is how to make this happen. It's obvious
it's possible given UC Berkeley's demo page, but I have no idea how to
configure it myself.
I create my first "grid" in Site 1 with the following gmetad.conf snipit:
Site 1 gmetad.conf
--------------------------------------
data_source "Grid1" localhost
gridname "Grid1"
authority "http://sitemaster1.company.dom/ganglia"
all_trusted on
Gmond.conf for Site 1 Master contains:
-------------------------------------------------------
cluster {
name = "Site1 StandAlone"
owner = "unspecified"
latlong = "unspecified"
url = "http://sitemaster1.company.dom/ganglia"
udp_send_channel {
bind_hostname = yes
mcast_join = 239.2.11.72
port = 8649
}
udp_recv_channel {
mcast_join = 239.2.11.72
port = 8649
bind = 239.2.11.72
}
tcp_accept_channel {
port = 8649
}
>From here, I've got Ganglia loaded and up and running. I get monitoring on
the "sitemaster1" server.
So now I go to site 2 and (here's where I'm unsure of the setup).
Site 2 gmetad.conf
--------------------------------------
data_source "Grid2" localhost
gridname "Grid2"
authority "http://sitemaster2.company.dom/ganglia"
all_trusted on
Gmond.conf for Site 1 Master contains:
-------------------------------------------------------
cluster {
name = "Site2 StandAlone"
owner = "unspecified"
latlong = "unspecified"
url = "http://sitemaster2.company.dom/ganglia"
udp_send_channel {
bind_hostname = yes
mcast_join = 239.2.11.71
port = 8649
}
udp_recv_channel {
mcast_join = 239.2.11.71
port = 8649
bind = 239.2.11.71
}
tcp_accept_channel {
port = 8649
}
Then in Site1's gmetad.conf file I've added the following datasource:
data_source = "Grid2 Grid" sitemaster2.company.dom
When I load up gmetad/gmond on sitemaster2 and then reload gmetad on
sitemaster1 I get the following setup:
Grid1
--> Site1 Standalone
--> Site2 Standalone
What I'm looking for is something akin to what you see under UC Berkley's
Test Site, linked at http://monitor.millennium.berkeley.edu/
Notice in that list there's 2 different grids on the front page with summary
status on both, and a link at the bottom to the "infrastructure" grid that
takes you to a different Web Front End for the infrastructure grid.
HELP?!?!?!?!
ANY advice anyone can give I (and my company) would be MOST appreciative
of. BTW Feel free to point me at a URL or Link to something that would
explain this as well...even a copy of the UC Berkley gmetad/gmond files for
the major components would help lots.
BTW I'm not married to Multicast or anything of that nature (actually if
that could go away I think the network guys would like it better) nor any of
this setup, so if there's a BETTER way to do this, I am ALL ears.
Thanks in advance to anyone who takes the time to respond to this.
--Douglas Wagner
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general