failover / fault-tolerant configurations

mike mike503 at gmail.com
Tue May 27 23:07:19 MSD 2008


same here

just a simple drop-in replacement for php sessions that uses 5
functions. nothing special. could be setup to be master/master or
anything. it's very simple in php to override normal session
management ;)

On 5/27/08, Renaud Allard <renaud at llorien.org> wrote:
>
>
> Pavel Georgiev wrote:
> > I`m using nginx as a load balances for 2 backend servers that run a php
> application. I need session awareness so I`ve enabled ip_hash for the
> upstream, but in case one node fails, all requests that should go to that
> node get the error_page.
> >
> > Is there a way to have session awareness without loosing the redundancy
> that 2 backend servers provide?
> >
> >
>
> What I use is session_mysql over a master-master mysql server, this should
> allow you to get the session hash between both servers.
>
>





More information about the nginx mailing list