Hello Navid,

On Wed, Apr 13, 2011 at 7:31 PM, Navid Mohaghegh <[email protected]> wrote:

> PHP-CGI is used as a local interpreter on each real server inside the
> cluster. I need to share the Cherokee session files though:
>
> There is a LVS director which rout the requests to Cherokee real
> servers. The problem is since I am using round-robin in LVS, an HTTP
> request may land in a different server each time and some how I need to
> sync/share the web-server session files.
>
> Could you point me to right place to start reading?
>

There is a number of different options. The easiest one would be to set a
NFS share and store the session file there. Pros: it'd take you 5 mins to
set up. Cons: It'd have a considerable performance penalty.

Another quick solution would be to change LVS's scheduling policy to “Source
Hash Scheduling”. That would also solve the problem by forcing LVS to send
all the traffic of an external/public IP to the same internal server.

Either way, it does not really have much to do with Cherokee, actually.
Good luck!

-- 
Greetings, alo
http://www.octality.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to