I see that upgrade steps are pretty well documented for moving from BB to xymon, and even upgrading from hobbit 4.2 to 4.3x on the same server. I am looking at upgrading both my server and my install of xymon to a new server (this is for my remaining monitoring server in another network location). So I wanted to be sure I am reading this correctly.
I am moving from Centos 5 to Centos 6. Moving from Hobbit 4.2 to Xymon 4.3.7 (plus dnstimeout.patch). I will copy manually the bb-hosts contents to hosts.cfg. The rest of the configs are pretty standard default installation stuff, and I will modify as needed those config files. What I'm most concerned with is the historical data.
I see that the build/upgrade430.sh script basically renames files, but nothing to do with stuff in data/hist, data/histlogs, and rrd files. Am I going to be ok with simply rsyncing those files over to the new server?
Is there anything else I should be thinking about before making this move?
Thanks, -Ben
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
I've tried this. I found that having the old server's name in the /etc/hosts file of the new server made the scripts run where they didn't work without it. The good part about this is that you can try it first if you're not using the same server.
-- Sent from my Palm Pre On Jun 25, 2012 22:32, Poppy, Ben <poppy.ben at marshfieldclinic.org> wrote:
I see that upgrade steps are pretty well documented for moving from BB to xymon, and even upgrading from hobbit 4.2 to 4.3x on the same server. I am looking at upgrading both my server and my install of xymon to a new server (this is for my remaining monitoring server in another network location). So I wanted to be sure I am reading this correctly. I am moving from Centos 5 to Centos 6. Moving from Hobbit 4.2 to Xymon 4.3.7 (plus dnstimeout.patch). I will copy manually the bb-hosts contents to hosts.cfg. The rest of the configs are pretty standard default installation stuff, and I will modify as needed those config files. What I’m most concerned with is the historical data. I see that the build/upgrade430.sh script basically renames files, but nothing to do with stuff in data/hist, data/histlogs, and rrd files. Am I going to be ok with simply rsyncing those files over to the new server? Is there anything else I should be thinking about before making this move? Thanks, -Ben
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
On 26-06-2012 04:03, Poppy, Ben wrote:
I am moving from Centos 5 to Centos 6. Moving from Hobbit 4.2 to Xymon 4.3.7 (plus dnstimeout.patch). I will copy manually the bb-hosts contents to hosts.cfg. The rest of the configs are pretty standard default installation stuff, and I will modify as needed those config files. What I’m most concerned with is the historical data.
I see that the build/upgrade430.sh script basically renames files, but nothing to do with stuff in data/hist, data/histlogs, and rrd files. Am I going to be ok with simply rsyncing those files over to the new server?
The data files haven't changed, so yes - rsync'ing those to the new server should keep all of your history.
Regards, Henrik
I did a test run on this, and everything worked as far as history, but the RRD files did not work. When you would click on the magnifying glass, it would just go to a blank screen. Is there anything special we have to do to carry over the RRD?
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of Henrik Størner [henrik at hswn.dk] Sent: Tuesday, June 26, 2012 12:51 AM To: xymon at xymon.com Subject: Re: [Xymon] upgrade to new server
On 26-06-2012 04:03, Poppy, Ben wrote:
I am moving from Centos 5 to Centos 6. Moving from Hobbit 4.2 to Xymon 4.3.7 (plus dnstimeout.patch). I will copy manually the bb-hosts contents to hosts.cfg. The rest of the configs are pretty standard default installation stuff, and I will modify as needed those config files. What I’m most concerned with is the historical data.
I see that the build/upgrade430.sh script basically renames files, but nothing to do with stuff in data/hist, data/histlogs, and rrd files. Am I going to be ok with simply rsyncing those files over to the new server?
The data files haven't changed, so yes - rsync'ing those to the new server should keep all of your history.
Regards, Henrik
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
On Tuesday, June 26, 2012 10:52:04 AM Poppy, Ben wrote:
I did a test run on this, and everything worked as far as history, but the RRD files did not work. When you would click on the magnifying glass, it would just go to a blank screen. Is there anything special we have to do to carry over the RRD?
Did you go from 32 bit to 64 bit as part of the server upgrade? If so, you need to unload the RRD files on the 32-bit system and reload them on the 64- bit system.
I did go to 64-bit. How do I go about unloading/reloading?
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Tom Kauffman Sent: Tuesday, June 26, 2012 1:24 PM To: xymon at xymon.com Subject: Re: [Xymon] upgrade to new server
On Tuesday, June 26, 2012 10:52:04 AM Poppy, Ben wrote:
I did a test run on this, and everything worked as far as history, but the RRD files did not work. When you would click on the magnifying glass, it would just go to a blank screen. Is there anything special we have to do to carry over the RRD?
Did you go from 32 bit to 64 bit as part of the server upgrade? If so, you need to unload the RRD files on the 32-bit system and reload them on the 64- bit system.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
On Tuesday, June 26, 2012 03:08:04 PM Poppy, Ben wrote:
I did go to 64-bit. How do I go about unloading/reloading?
Oh boy! It's been over six years since I did it, and I retired three years ago, so I'm going from a very rusty memory. (Anyone else want to step in here??)
As I remember it, I set up an ssh key on the new server for the xymon id on the old server and ran the process from the old server.
Essentially you run rrddump on each and every rrd and redirect the output to a file. Ship the file to the new server and run rrdrestore with the new file input from stdin. You will need to manually recreate the directory structure on the new server to match the old.
I did the entire process with a script run on the old server for each subdirectory under each host, IIRC - it's been bit too long and the memory is fuzzy (I don't even have rrdtool installed on this system - I'm watching this list out of a sense of nostalgia :-) ).
Anyway - man rrddump, man rrdrestore, and man rrdtool should get you started, then it's just a bit of trial & error to build and test the scripts.
Tom
I used the example in http://lists.xymon.com/archive/2011-September/032466.html when I did a similar migration several months ago.
Cheers.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Poppy, Ben Sent: Tuesday, June 26, 2012 2:08 PM To: xymon at xymon.com Subject: Re: [Xymon] upgrade to new server
I did go to 64-bit. How do I go about unloading/reloading?
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Tom Kauffman Sent: Tuesday, June 26, 2012 1:24 PM To: xymon at xymon.com Subject: Re: [Xymon] upgrade to new server
On Tuesday, June 26, 2012 10:52:04 AM Poppy, Ben wrote:
I did a test run on this, and everything worked as far as history, but the RRD files did not work. When you would click on the magnifying glass, it would just go to a blank screen. Is there anything special we have to do to carry over the RRD?
Did you go from 32 bit to 64 bit as part of the server upgrade? If so, you need to unload the RRD files on the 32-bit system and reload them on the 64- bit system.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On Tuesday, June 26, 2012 04:45:17 PM Dugan, Darin D [EIT] wrote:
I used the example in http://lists.xymon.com/archive/2011-September/032466.html when I did a similar migration several months ago.
Cheers.
That's the fundamentals. I automated the process to the point that I would invoke the script once for each major subdirectory under the host - and it did the dump, scp, and remote execution for each rrd. I had, IIRC, about 100 hosts at the time. I forget how long it took - relates to the size and number of rrd files anyway - but I had both servers running at the time and any given rrd file dropped at most one entry. in the dump/copy/reload.
Tom
Thanks for the help. I will be migrating tonight and will give this a try. I don't care as much about the graphs as the historical data itself, so if it doesn't work, not a huge deal.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Tom Kauffman Sent: Tuesday, June 26, 2012 4:10 PM To: xymon at xymon.com Subject: Re: [Xymon] upgrade to new server
On Tuesday, June 26, 2012 04:45:17 PM Dugan, Darin D [EIT] wrote:
I used the example in http://lists.xymon.com/archive/2011-September/032466.html when I did a similar migration several months ago.
Cheers.
That's the fundamentals. I automated the process to the point that I would invoke the script once for each major subdirectory under the host - and it did the dump, scp, and remote execution for each rrd. I had, IIRC, about 100 hosts at the time. I forget how long it took - relates to the size and number of rrd files anyway - but I had both servers running at the time and any given rrd file dropped at most one entry. in the dump/copy/reload.
Tom
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
Hmm, I ran that script and it gave me the same error that the RRD files were made with a different architecture. Not a big deal, I am not as concerned with the graph that we hardly look at, as the html page of history, which copied over perfectly..
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Tom Kauffman Sent: Tuesday, June 26, 2012 4:10 PM To: xymon at xymon.com Subject: Re: [Xymon] upgrade to new server
On Tuesday, June 26, 2012 04:45:17 PM Dugan, Darin D [EIT] wrote:
I used the example in http://lists.xymon.com/archive/2011-September/032466.html when I did a similar migration several months ago.
Cheers.
That's the fundamentals. I automated the process to the point that I would invoke the script once for each major subdirectory under the host - and it did the dump, scp, and remote execution for each rrd. I had, IIRC, about 100 hosts at the time. I forget how long it took - relates to the size and number of rrd files anyway - but I had both servers running at the time and any given rrd file dropped at most one entry. in the dump/copy/reload.
Tom
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The contents of this message may contain private, protected and/or privileged information. If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within. Please contact the sender and advise of the erroneous delivery by return e-mail or telephone. Thank you for your cooperation.
participants (5)
-
dddugan@iastate.edu
-
henrik@hswn.dk
-
novosirj@umdnj.edu
-
poppy.ben@marshfieldclinic.org
-
tommyk66@newsguy.com