e.g. like this
#!/bin/sh #There was one gotcha that took us some time: the language variables on #the two machines were set to different values and our restored rrds #got mangled with wrong min/max values. To avoid this you can simply #set the LANG Variable when dumping and restoring. We used the #following commands:
#on the old machine:
#cd /usr/lib/xymon/server/data/rrd
for i in find /usr/lib/xymon/server/data/rrd -type f -name "*.rrd";do
LANG=C rrdtool dump "$i" /mnt"$i.xml";done
#transfer the xml files to the new machine
#on the new machine:
#cd /var/lib/xymon/rrd && for i in find ./ -type f -name "*.rrd.xml";
#do LANG=C rrdtool restore "$i" ${i%.xml};done
On Thu, 13 Aug 2020, Stef Coene wrote:
Hi,
If you go from 32bit to 64bit, you also have to migrate the rrd files. Export them to xml on the old 32bit and import the xml on the new 64 bit server.
Stef
On 2020-08-12 22:40, Ricardo Stella wrote:
We have an old instance running 4.3.24 under RHEL6 and in an old physical server.
Would like a complete upgrade including moving he server to our VM cluster. What would you recommend? P2V, OS upgrade to RHEL7, and Xymon upgrade? Or complete new installation including possibly using Terabithia's?RPMs and migrating logs and such? Since we have several local clients reporting back, it'll have to be the same original IP address. Test new server, down old one and change IP address?
Welcome any/all suggestions. TIA.
-- ?(((=((===???(((================================================
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon