Jorge Medina <[email protected]> wrote:
> I want the IT department to have access to the Ganglia UI
> from a single server. A1 (running Apache+PHP+Ganglia UI)
>
> I get summary information on the UI, but if I need some more
> detailed information - I clicked in the grid graphs- it sends me to
> a URL on G1 or G2.  Since I did not configure Apache+PHP+Ganglia in
> G1 or G2 I get an error.  Do I need to install the Ganglia UI on
> each server running gmetad ?

Off the top of my head, one way around this would be to give the
Apache server on A1 access to all of the clusters' RRD files, either
by NFS export, or by regularly scheduled rsync, or some other method,
You'd then need to either configure A1'a Apache to handle web requests
for G1 and G2's hostnames (possible if G1 and G2 are behind a firewall
and you can set their IPs to point to A1 outside the firewall, or you
could run proxy http servers on G1 and G2 which might defeat your
purpose), or you could hack the Ganglia-Web PHP code to always put
A1's name in the URLs.

Another way around this would be to run multiple gmetad's on A1, with
different configs: One to aggregate your first grid, one to
aggregate your second grid, and one to aggregate the two grids.
I haven't tried this myself so I'm not sure whether you'd need to do
anything unusual to make it work with Ganglia-Web.  You'd probably
need to maintain a separate RRD directory tree for each gmetad, so you
might need multiple Ganglia-Web instances, one for each RRD tree.

You could still run gmetad instances on G1 and G2, there's nothing
preventing separate gmetad nodes from aggregating exactly the same
sets of gmond nodes (in fact, I always do this on purpose, for
robustness: I can take one gmetad node down or have it crash, bring it
back up, and restore the data from the other one, and never have gaps).
  -- Cos

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to