10-22-2014 06:07 AM
I did an airwave server migration today, and all seems to have gone well and it is now receiving data again, however graphing does not seem to be working, either system performance graphs. Is there something wrong here?
The only thing I have changed was the time in amp_install after the initial restoral was done.
System > Status shows all in green
Is there something I need to restart here?
10-22-2014 08:28 AM
Some investigate shows errors in /var/log/messages
Oct 22 11:21:22 localhost rrdcached: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_29/B8_EE_6
Oct 22 11:21:25 localhost rrdcached: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_20/88_03_5
Oct 22 11:21:53 localhost rrdcached: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_B5/E4_98_D
Oct 22 11:22:25 localhost rrdcached: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_20/88_03_5
Oct 22 11:26:27 localhost rrdcached: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_20/88_03_5
10-22-2014 03:17 PM
Was the time before you made the time change in the future? If so, then the RRDs already populated themselves with data up to that point in time. This means that you won't see updates until that time is passed. What is the time of the RRD files? You would probably see files in the future listed in /var/airwave/rrd/rrd_check.
If you're not seeing anything in that file, you can initialize the check with:
# touch /tmp/base
# perl -e 'utime time+600, time+600, "/tmp/base"'
# /usr/bin/find /var/airwave/rrd -newer /tmp/base -type f > /var/airwave/rrd/rrd_check
If this was based off of a backup restored, you can do:
# mv /var/airwave/rrd /tmp/old_rrd
Then restore just the RRD portion by extracting the /var/airwave/rrd directory from the backup file (tar -xvf nightly_data.tar.gz /var/airwave/rrd), wherever you restore the RRD files, you can just move into /var/airwave/rrd.
If you don't happen to care about the past graph data, you can blow away the RRDs and recreate the base RRDs:
# rm -rf /var/airwave/rrd
# cd /root/svn/mercury
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company