How to Sync 2 Nagioxi servers located at separate sites

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

How to Sync 2 Nagioxi servers located at separate sites

Post by gsl_ops_practice »

How to Sync 2 Nagioxi servers located at separate sites ?

Scenario:
I have 2 Nagiosxi server at 2 sites.
Site 1 is the primary and will monitor all the servers.
Incase if Primary site goes down, i need to switch the monitoring to be done by the secondary Nagiosxi server.
The secondary site Nagiosxi server will be on cold standby only (i.e will be activated only when it is needed)

Questions:
* How can I sync the configuration from primary site to secondary site as all the changes will be done on only primary site ?

* Backup and restore might take long time, and backup file now is 1.5gb and copying across the site each week or day will be burden to NW Bandwidth. So wondering if there is any other way to rsync the key files to achieve this ?

* What i need is to have a 2 node cluster of Nagiosxi and activate the standby only when needed
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to Sync 2 Nagioxi servers located at separate sites

Post by ssax »

Nagios XI doesn't currently have any built-in HA functionality so most customers just do the scheduled backups to the other server, and then run a cron job to restore them on the backup, then update Admin > System Settings > Program URLs when cutting over.

The only other method would be to use LinBit's DRBD solution (see the guide below) or implement some other custom solution that you would need to architect (DRBD/Corosync/Pacemaker/CRM/etc):

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: How to Sync 2 Nagioxi servers located at separate sites

Post by gsl_ops_practice »

Thanks SSAX.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to Sync 2 Nagioxi servers located at separate sites

Post by ssax »

No problem, let us know if you have any related questions.
Locked