Nagios Update from Nagios XI 2014R2.7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Nagios Update from Nagios XI 2014R2.7

Post by sgoffar »

As I am keeping VM Snapshot backup so no question of restoring the same environment from Nagios Backup.

I mean by following the attached steps, as you stated up-gradation will be fine. My concern is:

Case1: Up-gradation is successful and we have taken a back up on upgrade version on 2nd day of migration. Now after n(5 ,6 or 30 days) numbers of Day for some reason I need's to restore from back up.
I mean then restoring from latest backup taken on 2nd day of up-gradation will work without any issue.

Case2: What will be the role of pgsql after successful migration.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Update from Nagios XI 2014R2.7

Post by rkennedy »

As I am keeping VM Snapshot backup so no question of restoring the same environment from Nagios Backup.
Could you please clarify this? I would take a VM snapshot before _anything_ is done at all, and have this as your failover should something not work properly. Then, you can always restore BACK to your current environment.

1. A restore will be fine, but if you spin up a new machine you will want to follow what @dwhitfield mentioned.

2. psql runs the nagiosxi database since your upgrading from a pre-XI5 version.
Former Nagios Employee
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Nagios Update from Nagios XI 2014R2.7

Post by sgoffar »

I means as VM level Snapshot backup is there. So in case of any issue we will restore VM snapshot. On restoring VM Snapshot no impact on old Nagios 2014R2.7
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Update from Nagios XI 2014R2.7

Post by ssax »

There are a couple of things to make clear:

1. The backup/restore functionality is only meant to be run on the EXACT same versions of XI. You can't restore XI 2014R2.7 over the top of XI 5.3.3, you would need to upgrade 2014R2.7 to 5.3.3 then take the backup and then restore with the XI 5.3.3 backup file.

2. XI 5+ only uses mysql not postgresql on FRESH INSTALLATIONS ONLY.
- If you install XI 5+ on a new server it will not install postgresql by default

3. You can upgrade a pre-XI 5+ system to XI 5+ and the backup will include the postgresql DB data, when you try to restore it the restore_xi.sh script checks the backup file and if it needs postgresql installed it will install it at that time.

---

With those things in mind you can still restore from any XI backup to the same version (regardless of whether or not the previous system used postgresql), the script is smart enough to do it.
- Just note that you're NOT supposed to backup and restore to different versions (like backup XI 2014R2.7 and restore it to a server with a different version).

As long as you have the full backups created by the scheduled backups OR by the /usr/local/nagiosxi/scripts/backup_xi.sh script you will be able to revert to them (given the data is good).

Thank you
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Nagios Update from Nagios XI 2014R2.7

Post by sgoffar »

Thanks for the details. Can you please provide the link to download NagiosXi 5.3.

When I am using below command it's downloading 5.4.

wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Update from Nagios XI 2014R2.7

Post by ssax »

You can find the previous releases here:

https://assets.nagios.com/downloads/nag ... rsions.php
Locked