[lvs-users] ldirectord question

Aaron West aaron at loadbalancer.org
Thu Jun 19 18:20:02 BST 2014


Hi Ilo,

To my knowledge a real server failing a health check done by an agent such
as ldirectord/keepalived is pulled from the LVS table.

This will break any established connections to this server. A new
connection should then start on a remaining live server on the next
click/refresh for something like a web application or next connection retry
for something else.

How this affects your app/users depends on your application design, mostly
HTTP sessions would be fine while things like RDP/SSH/HTTPS would require
you to reconnect/re-authenticate.

Regards

Aaron West


On 19 June 2014 16:42, Ilo Lorusso <IloL at bankservafrica.com> wrote:

> Hi ,
>
>
> I have a general question of how ldirectord works, I have setup my
> virtual service and real servers
>
> I have an active connection and traffic is flowing through to the real
> server perfectly as shown below
>
>
> I want to know is it possible to move an established connection between
> the real servers without resetting or reestablishing the TCP connection ?
>
> [root at lbmaster ~]# ipvsadm -Ln
> IP Virtual Server version 1.2.1 (size=32768)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  172.16.162.190:40054 wlc persistent 300
>   -> 172.16.162.199:40054         Masq    100    1          0
>   -> 172.16.162.200:40054         Masq    99     0          0
>
> BankservAfrica is a BBBEE level 4 procurement contributor
>
> This e-mail and its attachments, if any, are subject to BankservAfrica's
> e-mail disclaimer which is available on
> http://www.bankservafrica.com/Contactus/EmailDisclaimer.aspx
>
> Please consider the environment before printing this e-mail!
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>


More information about the lvs-users mailing list