10 messages in ru.sysoev.nginxRe: failover / fault-tolerant configu...
FromSent OnAttachments
alex clemeshaMay 21, 2008 12:22 pm 
J DavisMay 21, 2008 1:24 pm 
CalomelMay 21, 2008 1:34 pm 
alex clemeshaMay 21, 2008 1:41 pm 
J DavisMay 21, 2008 2:28 pm 
Igor ClarkMay 22, 2008 9:35 am 
Pavel GeorgievMay 27, 2008 8:15 am 
Renaud AllardMay 27, 2008 11:58 am 
mikeMay 27, 2008 12:06 pm 
Pavel GeorgievMay 27, 2008 1:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: failover / fault-tolerant configurationsActions...
From:Renaud Allard (rena@public.gmane.org)
Date:May 27, 2008 11:58:58 am
List:ru.sysoev.nginx

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.