Mailing List Archive

[lvs-users] Connection Sync with only VRRP in keepalived(1.2.20)
Hello, guys.
Is ably to sync tcp connections without virtual_server ?
I have 2 nodes with VRRP_Instance setup and I need to sync connections from
MASTER to BACKUP node.

My keepalived config from node:



















*global_defs { lvs_sync_daemon enp4s0 vi_0}vrrp_instance vi_0 {
state BACKUP virtual_router_id 10 priority 32
garp_master_delay 5 garp_master_refresh 10 garp_master_refresh_repeat
4 authentication { auth_type PASS auth_pass PSS1 }
interface enp4s0 virtual_ipaddress { 172.20.1.235 }} *

in logs I saw that sync thead started:


*IPVS: sync thread started: state = MASTER, mcast_ifn = enp4s0, syncid = 0,
id = 0*
But on vrrp MASTER transaction all TCP connections aborts/rst.

Keepalived have build-in HAVE_IPVS_SYNCD:

*Build options: KRNL_2_6 WITH_LVS HAVE_IPVS_SYNCD WITH_VRRP HAVE_VRRP_VMAC
WITHOUT_ADDR_GEN_MODE WITHOUT_SNMP WITHOUT_SNMP_KEEPALIVED
WITHOUT_SNMP_CHECKER WITHOUT_SNMP_RFC WITHOUT_SNMP_RFCV2 WITHOUT_SNMP_RFCV3
HAVE_LIBNL3 WITH_VRRP_AUTH WITH_SO_MARK HAVE_LIBIPTC WITHOUT_LIBIPSET
HAVE_IPV4_DEVCONF WITHOUT_IF_H_LINK_H_COLLISION*

Thanks!
--
With best regards,
Sboychakov Dmitry
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] Connection Sync with only VRRP in keepalived(1.2.20) [ In reply to ]
On Tuesday 19 April 2016 15:32:41 Dmitry Sboychakov wrote:
> Hello, guys.
> Is ably to sync tcp connections without virtual_server ?
> I have 2 nodes with VRRP_Instance setup and I need to sync connections from
> MASTER to BACKUP node.

Hi,

you are looking for http://conntrack-tools.netfilter.org/conntrackd.html

best regards
Patrick

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users