Page 1 of 2
Nagiosxi HA version upgrade
Posted: Wed Aug 05, 2020 12:57 am
by mejokj
Hello,
We are planning to update the our NagiosXI version 5.5.10 to the Nagios latest version and our Nagios is crm two node cluster with DRBD storage.
So kindly provide the procedure for upgrading the nagios XI version with this HA enviornment.
Re: Nagiosxi HA version upgrade
Posted: Wed Aug 05, 2020 3:31 am
by mejokj
Also I need to know, Is there any issue with the drbd packages during the upgrade.
Re: Nagiosxi HA version upgrade
Posted: Wed Aug 05, 2020 9:51 am
by benjaminsmith
Hi,
My best recommendation here is to utilize the test server activation included with your Nagios XI license to test out the upgrade before making any changes to your production server. We currently do not QA this setup since it's not incorporated as a feature of Nagios XI.
https://support.nagios.com/kb/article.php?id=145
If your looking for a fully supported implementation, I would recommend contacting Linbit directly.
https://www.linbit.com/tech-guide/ha-na ... -on-rhel7/
More information about high availability options for Nagios XI are in the following guide.
How To Achieve High Availability
Let us know if you have any questions.
Re: Nagiosxi HA version upgrade
Posted: Thu Aug 06, 2020 6:24 am
by mejokj
Hello,
I have tested it on the test server and after upgrade I can see the ndo2db service is not there so the cluster resource shows error. So kindly let me which service is replaced by this ndo2db service, so that I can add this to the cluster resources. Also Is the performance graph should work with out this ndo2db ?
Re: Nagiosxi HA version upgrade
Posted: Thu Aug 06, 2020 3:53 pm
by benjaminsmith
Hi,
We re-wrote the backend database in 5.7.x, so there is no longer a separate service the needs to be managed, it's handled by the nagios service now using ndo3.
Let me know if you have any more questions.
Re: Nagiosxi HA version upgrade
Posted: Mon Aug 10, 2020 9:08 am
by mejokj
Hello,
For a two node nagios cluster with shared storage for mysql with drbd. Do we need to update the nagosxi on both node or on only one node. Could you recommend which one is the best?
Re: Nagiosxi HA version upgrade
Posted: Mon Aug 10, 2020 9:27 pm
by mejokj
Also kindly provide the steps for offloading MySQL db for new nagios version 5.7.2.
Re: Nagiosxi HA version upgrade
Posted: Tue Aug 11, 2020 12:57 pm
by benjaminsmith
HI,
No problem. Here are the instructions for offloading the database.
Offloading MySQL to Remote Server
As far as handling upgrading the nodes, this is out scope for product support, but it seems logical that each node should be running the same version.
Re: Nagiosxi HA version upgrade
Posted: Tue Aug 11, 2020 7:09 pm
by mejokj
Hello
This doc is based on ndo2db. Now on the new version it's not there.
So kindly assist on this.
Re: Nagiosxi HA version upgrade
Posted: Wed Aug 12, 2020 2:41 pm
by benjaminsmith
Hi,
Thanks for pointing that out to us. We're getting that updated right now. In the meantime, I can help you get this setup. The instructions are essentially the same, but 5.7.x no longer uses the ndo2bd service. So on page 12 of the guide, for the Cent 7 case, you'll no longer need to stop this service. That part can be skipped, the other major change is the new configuration file for ndo3.
Code: Select all
systemctl stop nagios.service
systemctl stop ndo2db.service
Change to:
Instead of adjusting this file for the ndo2db settings:
add the new server ip address and authentication credentials to the following file. This is the configuration file for the new backend databse.
Let me know if you any questions or need any assistance.
Reference:
https://assets.nagios.com/downloads/nag ... Server.pdf