Nagios XI failover design

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MOHANREDDY
Posts: 81
Joined: Tue Apr 10, 2018 4:14 pm

Nagios XI failover design

Post by MOHANREDDY »

Hi,

I have been working on designing failover/failback scenario in our organisation. As of now have database offloaded to a separate server, and master-master replication in place for Databases.

we are planning to fail over if any service is down for a while(more than 10 mins) or host is down failover to secondary server and failback to primary when everything is good ?

so what all service and configuration we need to take care off ?
and also to stop duplicate monitoring from secondary server what services should be stopped on secondary server?
To keep both Primary and secondary servers in sync what all config files and logs should be synced and how often they needs to be in sync?


Thanks,
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI failover design

Post by cdienger »

We don't support failover implementations directly but it isn't uncommon for customers to make backups of their primary server and import it into their secondary in case of failure. This would be a manual failover or require additional scripting/set up in the environment to automate it.

Backup and restore:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

High Availability:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Document from Linbit stepping though HA setup:
https://www.linbit.com/en/576-ha-nagios ... -on-rhel7/

"High Availability and Failover Solutions for Nagios XI" presentation from 2014 conference:
https://www.youtube.com/watch?v=KW5Qkl8brcA
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
MOHANREDDY
Posts: 81
Joined: Tue Apr 10, 2018 4:14 pm

Re: Nagios XI failover design

Post by MOHANREDDY »

ok, Thanks

we have been implementing failover with our automated scripts. To avoid Monitoring from secondary server what all services has to be stopped?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI failover design

Post by cdienger »

The nagios service would need to be stopped to disable monitoring:

service nagios stop
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked