Page 1 of 1
migrating from CentOS 6 to Oracle Linux 8
Posted: Wed May 19, 2021 8:27 am
by warapp
We are currently running NagiosXI 5.4.13 on CentOS 6. We need to migrate this configuration to a new clean, Oracle Linux 8 box. What is the
recommended path?
In addition, pgsql is used in my current configuration, but, I'd like to upgrade this to mysql. In a previous post,
https://support.nagios.com/forum/viewto ... 16&t=57789, you indicated that I follow the db upgrade steps here,
https://support.nagios.com/kb/article/c ... i-560.html. When do you recommend that I perform the pgsql to mysql upgrade?
Thanks in advance for any help you can provide.
-wr
Re: migrating from CentOS 6 to Oracle Linux 8
Posted: Wed May 19, 2021 11:35 am
by gsmith
Hi,
Here is what I recommend you do:
1. NagiosXI 5.4.13 on CentOS 6 - migrate from postgresql to mysql
2. if time allows, after verification of step 1, wait a full week
3. migrate from NagiosXI 5.4.13 on CentOS 6 to NagiosXI 5.4.13 on Oracle Linux 8
At this point you can upgrade Nagios xi on your Oracle Linux 8
Let me know if you have any questions.
Thanks
Re: migrating from CentOS 6 to Oracle Linux 8
Posted: Thu Jun 10, 2021 2:50 pm
by warapp
Started down this path and I'm at the point of installing NagiosXI 5.4.13 on Oracle Linux 8. The issue is that the installer complains at the repo check step with the following error:
Configuring Repos...
el8 is not currently supported. Please use CentOS or RHEL versions 6 or 7 instead.
Looks like 5.4.13 does not support OL8.
Any recommendations on how best to proceed?
Thanks,
-wr
Re: migrating from CentOS 6 to Oracle Linux 8
Posted: Thu Jun 10, 2021 3:48 pm
by gsmith
Hi,
5.7.0 is the first to support EL8, so you should take the CentOS6 box
to 5.7.5. You will need to do this to upgrade on EL6 though:
https://www.getpagespeed.com/server-set ... 6-went-eol
Next install XI 5.7.5 on the Oracle 8 machine, and do a backup and restore from the CentOS6 machine to the
OL8 machine
Alternatively you could migrate to EL7, and then EL8. Use this as a guide
as to what version of Nagios XI is available for which OS:
https://www.nagios.com/downloads/nagios-xi/change-log/
Let me know if you need more guidance please.
Thanks