Maybe I'm going about the config the wrong way, who knows ;)

The problem:

Clients->TCP->ServerA

If ServerA fails, we have it configured to fail over to ServerB. The case is if ServerA and ServerB are unavailable (network outage, nic card failure, spantree insanity, etc), we want to still see those messages on ServerA/ServerB when the connection is restored. At the same time, we want the ability to have a large portion of the disk available so we don't overrun memory or cause other problems we can create with a poorly configured rsyslog client.

We're not looking for just reliable transport (TCP/RELP) but in the case of a failure, to have a good sized buffer to store those messages and process them when the failure is resolved.

Does that make sense?

Jacob

On 4/16/2011 5:02 AM, Rainer Gerhards wrote:
I have never thought about such a case. So in which case you want the
failover to happen? When the disk queue is full?

In any case, I don't see a way how this could be achieved with current code.
Maybe it can be added, but I need to understand the use case behind it.

Rainer

-----Original Message-----
From: [email protected] [mailto:rsyslog-
[email protected]] On Behalf Of Jacob Steinberger
Sent: Saturday, April 16, 2011 4:53 AM
To: rsyslog-users
Subject: Re: [rsyslog] Configuration - disk cache on remote action
failure



On 4/4/2011 2:12 PM, Rainer Gerhards wrote:
Is there a way for an Action Queue to buffer to disk, if none of the
remote destinations are available? I don't mean a standard&
/var/log/moo, I mean something that rsyslog will reprocess if any of
the remote connections are reestablished.

http://www.rsyslog.com/doc/rsyslog_reliable_forwarding.html


# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
*.* @@loadbalancedhostname
$ActionExecOnlyWhenPreviousIsSuspended on
&   @@hostname1
&   @@hostname2
$ActionExecOnlyWhenPreviousIsSuspended off

With the linked config, we were able to get disk caching, which was
excellent, but we couldn't find a config to work with it, that would
also failover/failback.

Suggestions? Will the above ActionExecOnlyWhenPreviousIsSuspended work
with disk assist?

Jacob
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to