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.
-- ?(((=((===???(((================================================
Hi Ricardo
I'd take any opportunity to do a clean install rather than an upgraded one.
If you want to minimise gaps in your graphs, it would be best to minimise the cut-over time, and make "IP address change" be the cutover event. I'd build a second server, probably using the Terabithia repo, use rsync to replicate the RRD files and history, on command, and test the new server before cutover. I'd probably update one or two clients with two IP addresses in XYMSERVERS, as part of my testing.
My only concern with a VM is that VMware apparently introduces time jitter, so if you're doing anything time-sensitive (eg using Smokeping, testing NTP services) you may see artefacts in your graphs.
Cheers Jeremy
On Thu, 13 Aug 2020 at 06:48, Ricardo Stella <stella at rider.edu> 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
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
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
participants (4)
-
jeremy@laidman.org
-
martin.flemming@desy.de
-
stef.coene@docum.org
-
stella@rider.edu