Forum Discussion

uzzii194_320831's avatar
uzzii194_320831
Icon for Nimbostratus rankNimbostratus
Sep 16, 2017

HTTP Node Mirroring

We have one BIG-IP LTM and two Web servers running HTTP servers. I have created a VIP using two web servers (Server 1 and Server 2). When one server (e.g. Server 1) down, users connected to this server shifted to Server 2 but all their session has been lost and they have to login the web application. Is there any way that user sessions maintain and no session lost in case of server failure.

 

2 Replies

  • Hi Guy,

     

    Firstly, a session is different from a connection. F5 LTM can only synchronize their connections.

     

    Secondly, A session is created on your web servers, not on your F5 LTM. Therefore, there is a mechanism on your web servers to synchronize the all session information.

     

    To sum up, You cannot do this on your F5 LTM.

     

    Hope it helps

     

    Please mark it as answer if it works

     

    Regards

     

  • Hello,

     

    It is possible only if your backend servers shares user sessions.

     

    For example :

     

    1) user 1 connects for the first time to server 1, server 1 returns a session cookie and synchronize cookie with server 2.

     

    When server 1 fall down, the F5 will monitor this and send the user 1 on server 2

     

    2) user 1 connects to server 2, if server 2 has received session information from server 1 => it can continue serving user 1 in the same way. If server 2 didn't receive any info about user 1 session from server 1 it restarts from zero...

     

    So it is more a backend feature not the role of the F5 load balancer.

     

    Hope it helps

     

    Regards