On Thu, 3 Mar 2016, Avleen Vig wrote:
Hi folks!
I'm looking at setting up some systems, where rsyslog is reading logs from
disk and forwarding them to two centralise servers at the same time.
I have a question around a specific failure scenario:
If one of the two central servers goes down, how does rsyslog behave?
Does it keep sending to the other server?
Is the tracking and queuing for each destination independent, or are logs
sent serially to each destination and one server being down would block
delivery to other remote destinations?
this all depends on how you have things configured.
the default is not to have separate queues for different outputs, but that's
something you can configure.
If you use UDP, you don't know if the log is getting to the destination or not.
If you use TCP, and the network queues fill up, processing will stop until it
clears (if you have a separate queue for that output, only processing on that
queue will stop, if you share a queue with some other output, processing for
that other output will stop as well.
each queue has a worker thread that loops through all outputs for that queue,
trying to deliver to them in turn. If one blocks that worker has the choice
(configurable) to either block, or throw away the log for that output and
continue to the next one.
by default rsyslog has one main queue. you can configure additional queues for
either actions or rulesets.
It's strongly recommended that you use a current version and the new syntax when
configuring queues. It makes it MUCH clearer what is happening.
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.