Hi,
We are planning for Nagios redundancy and have decided for an active-active solution (We intend to buy an additional license later on).
At present, the setup is as follows:
NagiosXI1 - licensed having also a subinterface which will ia acting as the "vip"
NagiosXI2 - 60-day trial, having also a subinterface which is acting as the "vip"
on NagiosXI2, I would like to load everything from NagiosXI1 in order to have them in synch, so that we can try out synchronizing them before we purchase the license.
However, I don't want to restore from backup due to the fact about the license.
First, can a backup be restored from a previous version (5.4.13) to a 5.6.1 version? As I tried this but got some errors (ssl from httpd conf error etc - couldn't start nagios after restore, so my thoughts were due to an incorrect version.
If we decide to just copy the cfg files, starting from the main, etc folder, followed by host and services files. Is this possible?
Do we need to have the same versions? (i intend to install a 5.4.13 version before restoring anything).
ideally, after I sort this out, a daily copy of cfg files is performed, followed by verification and restart of nagios (to be done via script)
Rgds,
Matthew
NagiosXI synchronization
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI synchronization
Hi Mathew,
https://assets.nagios.com/downloads/nag ... rsions.php
By the way, with every purchase we offer 3 separate activation of XI licenses. One for production, one for testing, and one for high availability. We always recommend upgrading on a test server first before making changes to the production server.
Nagios License Entitlements
https://support.nagios.com/kb/article.php?id=145
The version your that your are restoring to needs to match the version that the backup was taken from. You can download any version from the following page:First, can a backup be restored from a previous version (5.4.13) to a 5.6.1 version? As I tried this but got some errors (ssl from httpd conf error etc - couldn't start nagios after restore, so my thoughts were due to an incorrect version.
https://assets.nagios.com/downloads/nag ... rsions.php
The configuration files are used by Nagios Core and they rarely change. That said, it's probably a good practice to keep the versions the same.If we decide to just copy the cfg files, starting from the main, etc folder, followed by host and services files. Is this possible?
Do we need to have the same versions? (i intend to install a 5.4.13 version before restoring anything).
By the way, with every purchase we offer 3 separate activation of XI licenses. One for production, one for testing, and one for high availability. We always recommend upgrading on a test server first before making changes to the production server.
Nagios License Entitlements
https://support.nagios.com/kb/article.php?id=145
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI synchronization
Thanks, Benjamin.
I know about the 3 license types, however since we're after an Active-Active solution, we need to purchase another license.
However, as specified I first need to fully synchronize the secondary server.
Can I just copy all cfg that contains the grouping, contacts, etc followed by the host and services cfg files or else I can just restore from backup fr the first time?
Rgds,
I know about the 3 license types, however since we're after an Active-Active solution, we need to purchase another license.
However, as specified I first need to fully synchronize the secondary server.
Can I just copy all cfg that contains the grouping, contacts, etc followed by the host and services cfg files or else I can just restore from backup fr the first time?
Rgds,
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI synchronization
Hi @nms,
I would recommended restoring from a backup.Can I just copy all cfg that contains the grouping, contacts, etc followed by the host and services cfg files or else I can just restore from backup fr the first time?
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI synchronization
Thanks,
Restoring from backup will probably also apply the license no?
Can i then switch to trial again after?
What is the difference between pushing cfg file and restoring from backup (mgmt question
)
Rgds,
Restoring from backup will probably also apply the license no?
Can i then switch to trial again after?
What is the difference between pushing cfg file and restoring from backup (mgmt question
Rgds,
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NagiosXI synchronization
Hi @nms,
Backing Up And Restoring Your Nagios XI System
Also, the restore will contain the license information, I would reach out to [email protected] to see if it's possible to revert the trial license.
The backup is going to contain the whole installation - object configuration files, databases, performance data, logs files, program configuration files. You'll find more details on page 1 of the following guide:What is the difference between pushing cfg file and restoring from backup
Backing Up And Restoring Your Nagios XI System
Also, the restore will contain the license information, I would reach out to [email protected] to see if it's possible to revert the trial license.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!