Migrate to new server OS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tworan2la
Posts: 2
Joined: Tue Feb 08, 2022 12:58 pm

Migrate to new server OS

Post by tworan2la »

Hi folks, new to the forums and NagiosXI here...hello!

We are currently running Nagios 5.6.2 on CentOS 6.2 (originally provisioned via prebuilt VMWare OVF from Nagios).
Considering CentOS deprecation, I am looking in to building a fresh Ubuntu server, installing Nagios, and then migrating all data from the old server to the new server.

Can anyone out here point me in the right direction for gathering info on a procedure that will work for this project? Any advise or documentation you have is most appreciated.

Cheers!
Dave
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Migrate to new server OS

Post by pbroste »

Hello @tworan2Ia

The XI backup/restore process makes migration pretty easy:

The process is this:
- Spin up new server running the latest supported distro of your choosing

- Install the exact same version of XI that the old server has on the new server, no need to configure it, just install it and go through the initial setup (do not try to restore over different versions of XI you will cause issues)

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

https://assets.nagios.com/downloads/nag ... -Linux.pdf

- If you have a RAMDisk installed, are using RRDCacheD, or are running Mod_Gearman 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
https://assets.nagios.com/downloads/nag ... ios_XI.pdf

If you are monitoring vmware/oracle you'll need to reinstall the proper supporting packages on the new server again following these guides:

https://assets.nagios.com/downloads/nag ... ios-XI.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

- 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

Then apply configuration and upgrade the new server to the latest XI version.

If your current system is 32-bit you need to follow this as well to migrate the performance data, if it's 64-bit already, no need to follow this:

https://support.nagios.com/kb/article.php?id=166

Regards,
Perry
tworan2la
Posts: 2
Joined: Tue Feb 08, 2022 12:58 pm

Re: Migrate to new server OS

Post by tworan2la »

Thanks for this info Perry, much appreciated! Would you recommend installing the VMWare monitoring package prior to running a restore on the new server, or should that wait?

Dave
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Migrate to new server OS

Post by pbroste »

Hello @tworan2la

Recommend with the restore and then spin up the VMWare Monitoring.

Thanks,
Perry
Locked