Assistance requested for fresh install / migration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kowalczyk86
Posts: 4
Joined: Mon Jul 30, 2018 1:09 pm

Assistance requested for fresh install / migration

Post by kowalczyk86 »

I am preparing to install a fresh instance of Nagios XI, and have read over a handful of supporting documentation on the forums, HOWEVER I was looking for any advice/tips moving forward. I assume the import prep tool is a necessity (https://assets.nagios.com/downloads/nag ... p-Tool.pdf), but I am not understanding the process completely. Any help is appreciated!

- XI 5.4.13 , ~300 hosts, ~13 groups --> XI 5.5.4 (migrating over all configs, hosts, etc)

- XI machines and hosts are all VMs in an OFFLINE environment

Nagios XI 5.5.4 is installed and in place in the offline environment -- on the same subnet as 5.4.13, which will be replaced.

-----------------------------------------------------------------------

What version of Nagios XI are you using? Migrating from 5.4.13 to 5.5.4

Linux Distribution and version? CentOS 7, 1804

32 or 64bit? 64

VMware Image or Manual Install of XI? Manual

Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? No
Last edited by kowalczyk86 on Tue Oct 02, 2018 2:58 pm, edited 1 time in total.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Assistant requested for fresh install / migration

Post by benjaminsmith »

If you are moving from one XI server to another, this can be achieved by making a backup on your current system and restoring this on the upgraded server. Please note:

1. Take a snapshot of your VM and backup before proceeding.

2. You can only backup and restore between the same versions of Nagios XI. Either upgrade the existing server, and start with 5.1.13 on the new server and then upgrade. Software Archives available on your website:

https://www.nagios.com/downloads/nagios ... downloads/

3. We have a knowledgebase article explaining the process here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let us know if you need anything else.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kowalczyk86
Posts: 4
Joined: Mon Jul 30, 2018 1:09 pm

Re: Assistant requested for fresh install / migration

Post by kowalczyk86 »

Thanks Benjamin --

Based on your reply, it is impossible to do an upgrade from 5.4.13 to 5.5.4?

Can you clarify: Either upgrade the existing server, and start with 5.1.13 on the new server and then upgrade. Software Archives available on your website:

My machines are both in an offline environment - what would be the best method moving forward?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Assistant requested for fresh install / migration

Post by benjaminsmith »

Based on your reply, it is impossible to do an upgrade from 5.4.13 to 5.5.4?
Yes. You can perform the upgrade to 5.5.4 after restoring your previous version. We have short video on the process on our YouTube channel that I recommend watching.

https://www.youtube.com/watch?v=LsE6A0HyMaU


Ssome updated instructions and downloads for offline environments:

Nagios Offline Repositories:
https://repo.nagios.com/?repo=offline#install

Knowledgebase article: Installing Nagios XI In An Offline Environment for Offline
https://assets.nagios.com/downloads/nag ... onment.pdf

Let me know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Assistance requested for fresh install / migration

Post by ssax »

Based on your reply, it is impossible to do an upgrade from 5.4.13 to 5.5.4?
No, you can upgrade to whatever version you'd like, he's saying that you can only backup and restore to the exact same version of XI. See my answer below for more information.
Can you clarify: Either upgrade the existing server, and start with 5.1.13 on the new server and then upgrade. Software Archives available on your website:
So because you can only backup and restore to the exact same XI version, he's saying that you have two options:

1. Backup your old server (5.4.13) and restore to a new server that has XI 5.4.13 installed (not 5.5.4, they have to be the same version to backup/restore), then upgrade your new server from 5.4.13 to 5.5.4.

OR

2. Upgrade your old server to XI 5.5.4, take a backup, install XI 5.5.4 on the new server, and then restore to the new server.


The point is to keep the old server XI version and the new server XI version the same exact version when using the backup/restore functionality, which will make it an exact copy of your old server configuration. So you can either upgrade the old first or upgrade the new last.

Let me know if I can clarify anything further.


Thank you
kowalczyk86
Posts: 4
Joined: Mon Jul 30, 2018 1:09 pm

Re: Assistance requested for fresh install / migration

Post by kowalczyk86 »

Is it possible to prep import, then use core config to ingest the configs from an older version? I've given this a shot once, but am lacking hosts and services.cfg from the export.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Assistance requested for fresh install / migration

Post by benjaminsmith »

The backup and restore process should have brought over the configurations for the hosts and services, so it should not be necessary to use the import prep tool. This tool is for migrating from Nagios Core to Nagios XI.
Nagios XI 5.5.4 is installed and in place in the offline environment -- on the same subnet as 5.4.13, which will be replaced.
Did you upgrade the older 5.4.13 server to 5.5.4 before performing the backup and restore to the new server?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kowalczyk86
Posts: 4
Joined: Mon Jul 30, 2018 1:09 pm

Re: Assistance requested for fresh install / migration

Post by kowalczyk86 »

I was able to finally finish this today - simply put, I used the RPM tarball to upgrade versions (with some modifications to deleted tables in 5.5.4).

Thx
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Assistance requested for fresh install / migration

Post by scottwilkerson »

kowalczyk86 wrote:I was able to finally finish this today - simply put, I used the RPM tarball to upgrade versions (with some modifications to deleted tables in 5.5.4).

Thx
glad you were able to get it upgraded!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked