I once had a setup of "Gallery", a PHP based photo gallery in a 4 web server configuration. Infront is a Cisco Global Load Balancer (The setup is mainly used for a Coldfusion App). Whenever a user is logged in and after several requests, the session would time out, apparently, the next requests goes to another web server. It means the web server has a different set of sessions. I know the Cisco CSS can handle stickyness, but what I did was, had a common NFS share for PHP sessions (usually /tmp). The idea is to have a common data store for PHP sessions (filesystem/mysql/etc).
It worked for me! On 8/9/07, Mark Anthony C. Delfin <[EMAIL PROTECTED]> wrote: > thanks for the replies > > looking into the load balancer, i think it will defeat the purpose of having > 3 web servers, as our http/https service will depend on one machine, the > load balancer. if the load balancer gets down. the 3 web servers will be > useless. > > i have multiple A records on the DNS, but when the user connect to webserver > A,then after a few minutes his machine resolves the domain to webserver b. > he'll get a session timeout. > > > On 8/9/07, greek ordono <[EMAIL PROTECTED]> wrote: > > > > hello, > > > > > http://www.unix.org.ua/orelly/networking_2ndEd/dns/ch10_07.htm > > > > > > cheers, > > grexk > > > > > > ________________________________ > Park yourself in front of a world of choices in alternative vehicles. > > Visit the Yahoo! Auto Green Center. > > > > > > _________________________________________________ > > Philippine Linux Users' Group (PLUG) Mailing List > > [email protected] (#PLUG @ irc.free.net.ph) > > Read the Guidelines: http://linux.org.ph/lists > > Searchable Archives: http://archives.free.net.ph > > > > > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > [email protected] (#PLUG @ irc.free.net.ph) > Read the Guidelines: http://linux.org.ph/lists > Searchable Archives: http://archives.free.net.ph > _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

