On 10/4/05, Branimir Ackovic <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have two clusters in my laboratory and I want to monitor them with ganglia.
> I installed ganglia from ganglia-3.0.1-1.src.rpm on my nodes on both clusters
> (only gmond) and complete gmond, gmetad and web on one of servers. I have few
> problems:
>
> One of clusters (PARADOX) is Oscar cluster with RedHat9 and do not have real
> IP addresses on nodes. It have two eth cards on server (that server have
> gmetad and web interface). One of that cards have real IP and it is used for
> uplink, the other is without real IP and this one is connected with nodes. I
> can not see any node in web interface.

What do you mean by a real IP address versus a non-real IP address? 
Either way, the web view/gmetad machine needs the address that can be
seen by all the other machines, if using unicast (multicast, it's
probably worse, because multicast won't always transverse routers).

Actual IP address masks would be helpful (e.g. 192.168.3.x versus
10.x.x.x versus 254.32.4.x), although if you don't want to list any
world-accessable masks, that's fine.  (Just mark them as
world-accessable.)

> Then I install gmond on worker nodes of second cluster (AEGIS - GRID cluster
> with Scientific Linux 3.0.4). This nodes have real IPs. I set them
> in /etc/gmond.conf with other cluster_name (AEGIS) than the first one
> (PARADOX).
>
> Then in web interface I found two clusters PARADOX and AEGIS, but in AEGIS was
> only one node, and in PARADOX were all AEGIS nodes and server from PARADOX.
> There was not any PARADOX nodes.
>
> How can I configure gmond.conf and gmetad.conf to see my clusters correctly?

I'm not sure if I am properly understanding your problem, but let me
see if I can get it right:

For multicast,
All the gmond clients should be broadcasting on the SAME interface;
preferably a dedicated interface for just gmond, although any should
be fine.  Make sure your TTL is high enough for the packets to reach
all the PCs that it needs to.

(For example, ALL the gmond clients should have the same interface
(for simplicity's sake) connected to the same router(s) which are
interconnected (if more than one), and then use that one for
multicast.)

Then configure gmetad to read off of that same interface.

I haven't tried unicast yet, although IIRC, you have to list the IP
address of the web host's gmetad/gmond (which has to be reachable from
ALL gmond processes) and then use that.

Finally, I say this all on experience over a virtual interface; I have
not tried gmond with physical routing hardware and ethernet cards, so
I may have a degree of inaccuracy in my results and experience.

If you have any further questions, reply; becuase I don't believe I've
explained myself all that clearly.  Other list members may be able to
give better advice, also.

--
~Mike
 - Just my two cents
 - No man is an island, and no man is unable.

Reply via email to