failover / fault-tolerant configurations
Renaud Allard
renaud at llorien.org
Tue May 27 22:59:21 MSD 2008
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3291 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://nginx.org/pipermail/nginx/attachments/20080527/7f7f5185/attachment.bin>
More information about the nginx
mailing list