Migrating from 2014R2.0 to 5

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Migrating from 2014R2.0 to 5

Post 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
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Migrating from 2014R2.0 to 5

Post 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?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Migrating from 2014R2.0 to 5

Post 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.
Former Nagios Employee.
me.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Migrating from 2014R2.0 to 5

Post 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 ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Migrating from 2014R2.0 to 5

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Migrating from 2014R2.0 to 5

Post by Frédéric GRANAT »

Hi,
Thanks, you can close the thread.
Locked