yep, one thing to keep in mind when making your logs HA is that the fewer
dependencies you have, the less likely you are to have your logs fail when you
need them to troubleshot why things aren't working :-)
keepalived and corosync/pacemaker both do the job by managing a virtual IP on
the syslog servers themselves, so nothing else (other than the switch) needs to
be working and they can both be set to very fast failovers. They also give you
the ability to get a health check on rsyslog itself (have some source of logs
that is frequent and watch for them to stop arriving). Keepalived is simpler,
Corocync/Pacemaker allows for load sharing and multi-site clusters (only send
alerts from one system, even across datacenters for example)
external load balancers (HAProxy, F5, etc) have a much harder time dealing with
health checks for non-webservers.
David Lang
On Thu, 9 Jul 2020, Benoit DOLEZ via rsyslog wrote:
HAProxy is a good solution for tcp/relp LB but do not manage HA part of
himself nor UDP LB. For HA, it is easier to use keepalived. Add script
check to look for rsyslog process. For UDP LB, you can use LVS.
Benoit
Le 09/07/2020 à 02:46, David Lang via rsyslog a écrit :
on the sending side, enble rebindinterval so that the sender disconnects
periodically to let the load balancer have a chance of doing it's job.
also be aware that tcp syslog can loose data in a failover (see
https://rainer.gerhards.net/2008/04/on-unreliability-of-plain-tcp-syslog.html
) rsyslog supports the RELP protocol to be reliable in the face of
network failures (relp has one known failure mode that can loose a log,
but so far nobody has cared enough to sponsor a fix for it)
David Lang
_______________________________________________
rsyslog mailing list
https://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.
--
Benoit DOLEZ
GSM: +33 6 21 05 91 69 mailto:[email protected]
_______________________________________________
rsyslog mailing list
https://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.
_______________________________________________
rsyslog mailing list
https://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.