On 01/06/2011 07:23 PM, Bernard Li wrote:
> Hi Taimur:
>
> If all your hosts are in one multicast channel, your data_source line
> in gmetad.conf should look like:
>
> data_source "test" server1
>
> You could add additional hosts for redundancy like:
>
> data_source "test" server1 server2 server3
>
> However this is not strictly necessary.
>
> If you're still having problems, perhaps there is some communication
> problem between server3 and the rest of the servers -- are the servers
> on the same switch? Does your switch support multicast?
>
> You could telnet/nc to any of the host and you should be able to
> retrieve metric information in XML format for *all* three hosts, eg.
>
> # nc localhost 8649
>
> on server1, should give you an XML stream of all three hosts with
> metric information.
>
> When in doubt, please post your stream to www.pastebin.com and
> reference it here so we can have a look.
>
> Cheers,
>
> Bernard
>
Hi Bernard,
Just to clarify my setup: server1 (webfront with gmetad) should be
monitoring a cluster "test" composed of two nodes (server2 and server3)
[r...@server1 ~]# gmetad -d 2
Going to run as user nobody
Sources are ...
Source: [test, step 15] has 2 sources
xx.xx.xxx.150
xx.xx.xxx.151
xml listening on port 8651
interactive xml listening on port 8652
cleanup thread has been started
Data thread 1155418432 is monitoring [test] data source
xx.xx.xxx.150
xx.xx.xxx.151
[test] is a 2.5 or later data stream
...
Based on this it looks like gmetad is setup correctly. As of right now
only one node (server2) is showing up on the webfront. What is really
confusing is that if I remove server2 from data_source and just have
server3 then server3 (node 2) shows up. More weirdness if I dont restart
gmetad with gmond stopped on node 1 then they both show up for a few
seconds which is how it should be but then shows as down once new data
is sent??
Please help troubleshoot. I can post the full XML if that helps.
Thanks!
PS the clients nodes are on the same rack so not a communication issue.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general