Page 1 of 1

Migrating from 2014R2.0 to 5

Posted: Mon Nov 09, 2015 3:45 am
by Frédéric GRANAT
Hi,
I would like to migrate to v 5, I deployed the virtual machine (VM) V5.
Now I want to export the data from my old VM to my new VM.
Please tell me how to proceed.

Rgds,

Frederic

Re: Migrating from 2014R2.0 to 5

Posted: Mon Nov 09, 2015 9:08 am
by BanditBBS
You can't migrate data from one version to the next, you need to migrate from same version to same version, using the backup/restore scripts. Is there a reason you don't want to upgrade in place?

Re: Migrating from 2014R2.0 to 5

Posted: Mon Nov 09, 2015 10:43 am
by hsmith
The older versions of XI use both Postgres and MySQL. In XI5, we made the decision to move everything to MySQL. Since that is the case, a fresh installation of XI5 will only use MySQL, and the data that was in Postgres will be missing. Upgrading is the only way to take care of this need currently.

Re: Migrating from 2014R2.0 to 5

Posted: Tue Nov 10, 2015 2:41 am
by Frédéric GRANAT
Why I would like to start from a fresh install ?
No risk to corrupt the production.
No service cut.
Test the new version and when validated, switch off the old server et switch on the new server.

What is the reference document to upgrade to v5 ?

Re: Migrating from 2014R2.0 to 5

Posted: Tue Nov 10, 2015 10:37 am
by lmiltchev
Each Nagios XI license is approved for up to three installations: one primary monitoring/production, one backup/failover, and one test environment. The safest way to migrate to XI 5 would be:

1. Backup your old Nagios XI 2014R2.0 instance, following this document.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

2. Install Nagios XI 2014R2.0 on the new (test) server (it is preferable to have a "clean" install on the same OS/Architecture as on the old server)

3. Move the backup you made in step 1 to the new server

4. Restore from the backup that you transferred earlier following the same document (step 1)

5. Upgrade Nagios XI 2014R2.0 to Nagios XI 5 by following our upgrade guide:

https://assets.nagios.com/downloads/nag ... nstall.pdf

Tips:
1. Disable notifications temporarily, until you make sure that everything works fine
2. Don't remove the old instance, before you make sure the new one functions properly.
1. After everything is running smoothly, stop the old server, change the IP of the new test box to be the same as the "old" server. This will eliminate the need to add the new IP on all remote machines that you are monitoring via NRPE, NSClient++, etc.

Re: Migrating from 2014R2.0 to 5

Posted: Tue Nov 10, 2015 11:16 am
by Frédéric GRANAT
Hi,
Thanks, you can close the thread.