Carlo Marcelo Arenas Belon wrote:
> On Mon, Oct 29, 2007 at 04:14:51PM +0800, Cherife Li wrote:
>   
>> i. Once I move the rrds dir to another place, eg. another server running
>> gmetad or another dir, then the rrd data couldn't be displayed.
>>     
>
> if you mean displayed as in "through the web interface" then you also have to
> move the ganglia frontend to that server or arrange for it to be able to read
> the RRD files from its filesystem (using NFS or any other kind of network file
> system).
>   
yes, I mean that through the web interface I just can see the pictures,
but without any data presentment.
>> I
>> confirm that there isn't any configuration error, just change the
>> working-dir of the rrd data.
>>     
>
> by this you mean :
>
> 1) shutdown gmetad
> 2) move directory with the RRDs somewhere else preserving permissions
> 3) update gmetad.conf's rrd_rootdir (better make a symbolic link and if not
> update conf.php's $gmetad_root as well)
> 4) start gmetad
>   
I tarred the web front file and preserved permissions to another server.
The two servers have the same username and UID to run gmetad.
yeah, exactly. I changed the gmetad.conf's rrd_rootdir and conf.php's
$gmetad_root manually.
>> ii.Today, I moved the rrd data from A server to B, because I was going
>> to change the role of some servers. When on B server, the gmetad
>> couldn't read the rrd data as before, so I clear up the rrds dir on
>> server B and start gmetad again, BUT, unfortunately, gmetad can not
>> write any data to the rrds anymore. I couldn't get any useful info even
>> if after checking the system log or reading the output of "gmetad -d10".
>> Furthermore, gmetad on A server represent exactly the same as gmetad on
>> B server. Now I couldn't got neither ganglia system running:(
>>     
>
> does the user that gmetad runs as write access to the directory where the RRDs
> are and execute permission to all directories before that starting from /?
>   
yeah.
> was the time modification from the files preserved when copied from system A
> to system B, and both systems have the same valid time?
>
> Carlo
>   
yes, I checked this issue, I have issued ntpdate on the two systems but
still helpless. The two system should have almost the same clock.
The time modification I didn't noticed, I'll check that.
It's the first problem that moved rrds won't output data info on web
pages. Now the second problem that gmetad won't write rrd data to rrds
dir on the server which previously only ran gmond. The rrds dir was
empty, and "telnet localhost 8649" output normal data but "telnet
localhost 8651" output the ganglia XML table with no data.
Just now I found the problem as this. When I moved all the hostnames
from /etc/hosts, but still use hostnames in gmetad.conf, gmetad can
write rrds dir with host IPs and "telnet localhost 8651" can output
data, but when I added hostnames to /etc/hosts, the problem that rrds
won't be writen recured. But I only want the web images to display
hostnames not IPs.
I checked the /etc/hosts.conf is "order hosts,bind", but why gmetad on
this system won't soved hostnames?
I've got confused. I have two grids running ganglia smoothly, even after
upgrading ganglia to ver.3.0.5. It's the first time I encounter this
strange problem. The same installation, the same configuration on the
other system worked well, why this system could have this strange problem?
BTW, the two system are all running CentOS 5.0, this system is mainly
running sendmail, lighttpd.
Any idea? Thanks to all.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to