If you can use imptcp,  you can specify the listen address. But it doesn't
do tls. Not sure if it is present in your ancient version .

Hth Rainer

Sent from phone, thus brief.
Am 03.04.2015 11:59 schrieb "Johan Ryberg" <[email protected]>:

> Hi,
>
> Running Redhat 6.6, rsyslog 5.8.10 <- Old, yes =(
>
>
> I'm running keepalived on two hosts (1.1.1.4 and 1.1.1.5) for a HA
> syslog receiver and the sending part are using the VIP (1.1.1.10)
> address that are shared between the two hosts.
>
> I would like to distribute the load equally between the two receivers
> and tried to add the following to keepalived config:
>
> virtual_server 1.1.1.10 514 {
>     delay_loop 6
>     lb_algo rr
>     lb_kind DR
>     protocol UDP
>
>     real_server 1.1.1.4 514 {
>         weight 1
>         TCP_CHECK {
>         connect_timeout 3
>         connect_port 514
>         }
>     }
>
>     real_server 1.1.1.5 514 {
>         weight 1
>         TCP_CHECK {
>         connect_timeout 3
>         connect_port 514
>         }
>     }
> }
>
> Once this is in place rsyslog starts to spam with this error:
> rsyslogd-2165: netstream session 0x7f0974001de0 will be closed due to error
>  [try http://www.rsyslog.com/e/2165
>
>
> I'm thinking this might be due to rsyslog and keepalived are both
> listening to the "virtual_server" IP?
>
> Is it possible to exclude rsyslog to listen on a specific IP?
>
> Regards Johan
> _______________________________________________
> 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.
>
_______________________________________________
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.

Reply via email to