Page 1 of 1

Upgrading from 5.6.7 to 5.8.3 on CentOS 6

Posted: Wed Jun 02, 2021 11:22 am
by TBT
In an effort to migrate off CentOS 6 (EOL) to Debian 10, we're planning to upgrade XI from 5.6.7 to 5.8.3 prior to migration.

Will upgrading from 5.6.7 to 5.8.3 on CentOS 6 still succeed or must we upgrade to a lesser XI release?

Re: Upgrading from 5.6.7 to 5.8.3 on CentOS 6

Posted: Wed Jun 02, 2021 5:00 pm
by vtrac
Hi,
How are you doing?

I am very sorry but you can only upgrade to Nagios XI 5.7.5 on CentOS 6.

Here's the KB for upgrade Nagios XI:
https://assets.nagios.com/downloads/nag ... ctions.pdf


As to doing the migration from CentOS to Debian, since you're changing OS versions, please remember run the restore_repair script from the backup/restore guide below after restored:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf


Best Regards,
Vinh

Re: Upgrading from 5.6.7 to 5.8.3 on CentOS 6

Posted: Thu Jun 03, 2021 2:39 pm
by TBT
Thanks for the confirmation. I also assume once 5.7.x is migrated over to the Debian server we'll then have an upgrade path from 5.7 to 5.8, correct?

Re: Upgrading from 5.6.7 to 5.8.3 on CentOS 6

Posted: Thu Jun 03, 2021 3:08 pm
by vtrac
Hi,
Hope your day is going well.

Yes, once 5.7.x is migrated over to the Debian server then you can upgrade from 5.7.x to 5.8.3.


Here's process for migration, then upgrade to latest XI.
The XI backup/restore process makes this pretty easy.
The process is this:
- Spin up new Debian server

- Install the exact same version of XI that the old server has on the new server, no need to configure it, just install it (do not try to restore over different versions you will cause issues)
https://assets.nagios.com/downloads/nag ... -Linux.pdf

- If you have a RAMDisk installed or are using RRDCacheD on the old system, set them up before restoring:
https://assets.nagios.com/downloads/nag ... giosXI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

- Backup the old/transfer to new/restore to the new
- Follow the After The Restore section from the backup/restore guide completely
- Since you're changing OS versions, run the restore_repair script from the backup/restore guide
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Upgrade to latest XI:
https://assets.nagios.com/downloads/nag ... ctions.pdf

- Shutdown (or re-IP) the old, set the old IP on the new system so you don't have to update agent configs/FW rules
https://support.nagios.com/kb/article/c ... s-549.html

That's pretty much it. Please be aware of what a single XI license entitles you to:
https://support.nagios.com/kb/article.php?id=145

If you have any issues, post the full install.log/upgrade.log/any errors you see.


Best Regards,
Vinh