questions about NLS's HA

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

questions about NLS's HA

Post by benhank »

OK. I have two nls servers.
All remote devices that are sending logs have been configured to send logs to NLSserver1.
I understand HOW NLS achieves HA and LB for the cluster.
Here is my question:
Since my devices are setup to only send data to the 1st machine, what is the process that kicks in when machine 1 goes down?

I ask this because I have had to rebuild my 1st machine, and my second one, which has a different IP was getting logs.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: questions about NLS's HA

Post by jolson »

So let's say you have 2 Nodes - Node1 and Node2. If all log sources are configured to send logs to Node1, Node1 will load balance across Node1 and Node2 as it sees fit. One day, Node1 explodes and the log data which used to be going to node1 can no longer do so. Those logs will not be received by Node2 - there is no failover mechanism in place for that. I can't speak to your setup - but many people have HAProxy/Round Robin DNS in place to avoid this type of thing from happening.

The logs that you did see may have been from localhost@Node2 - sending itself logs. Does that help answer your question?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: questions about NLS's HA

Post by benhank »

lies its all lies! JK yes thanks for clearing that up
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: questions about NLS's HA

Post by jolson »

No problem. :geek: I'll close this thread out. Thanks!

Jesse
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked