On Wed, Nov 20, 2013 at 3:52 AM, Ritchie Iu <[email protected]> wrote: > Hi, > > I've recently started to use HAProxy and I was able to get it running with a > couple of servers using cookies for sticky sessions. > > My question is, if I want to shutdown a server for maintenance, is there any > way to redirect sessions with cookies tied with that server to another > server? I'm hoping that users could still remain logged on and not notice > the server shutdown. > > Thank you for the help, > Ritchie >
Hi Richie, Application session resiliance means you can share the application session between the application servers. Sharing the application sessions between application servers is not a problem the load-balancer can fix. You have to store the application session in a SQL database, a NFS share or better, if you have a huge traffic, in a NoSQL database. Baptiste

