Page 1 of 1

how to create DR for nagiosXI

Posted: Sun Jul 19, 2020 6:46 pm
hi Team,

i want to create DR for nagiosXI.

i am using psychical server for primary nagios. i want to create DR for the server.

Re: how to create DR for nagiosXI

Posted: Mon Jul 20, 2020 3:54 pm
by jbrunkow
You can schedule backups with XI by navigating to Admin using the top bar > clicking Schedule Backups under the System Backups section on the left pane > and filling in all relevant fields on that page.

If you are more comfortable in the terminal, you could also run the following script...

Code: Select all

/usr/local/nagiosxi/scripts/backup_xi.sh
...then transport the backup to the server you want to store it on via ftp or ssh (scp).

Code: Select all

scp /store/backups/nagiosxi/*.tar.gx <username>@<DR server IP>:/store/backups/nagiosxi/. 
Please see the document linked below for more detailed information on performing backup and restores in Nagios XI.
BACKING UP AND RESTORING WITH NAGIOS XI

I should probably also mention that every XI license entitles you to a production, test, and backup instance. This means that your DR solution could include running another backup XI server, or just keeping one or more backups of it offsite.

Re: how to create DR for nagiosXI

Posted: Sun Jul 26, 2020 10:04 pm
thanks for update,
how can i create DR Server in other server and when primary server gose down how all nagios clients will communicate to DR Server

Re: how to create DR for nagiosXI

Posted: Mon Jul 27, 2020 2:31 pm
by jbrunkow
If the route to the backup server is different than that of the original, you may have to reconfigure each host for the backup server as well.

If you are replicating all of your servers to an offsite DR hosting solution, you may be able to use the current configuration for a running backup.

It may be safest to store a backup of your XI server as well as run a backup.

To monitor your XI server from another, I recommend following the steps outlined in the following document.
MONITORING A NAGIOS XI SERVER

If you are wondering about achieving high availability ( ...or "HA") with Nagios, you may want to check out the following document. It outlines the steps to convert your instance to a cluster.
HIGH AVAILABILITY IN XI

Re: how to create DR for nagiosXI

Posted: Mon Aug 17, 2020 10:39 am
hi,

the provided options are not fulfilling my requirements.

i would like to have different Data Center Nagios in active backup.
primary Nagios in one DC and seconder Nagios in other DC.

Re: how to create DR for nagiosXI

Posted: Tue Aug 18, 2020 3:55 pm
by jbrunkow
Unfortunately, Nagios XI does not currently have a mechanism that will cause it to automatically perform checks on a backup server in the event of a failure. That certainly sounds like a nice feature though!

The closest thing would be one of our HA options or even monitoring an XI server with another XI server. Your license entitles you to a production, backup, and test server.