Hello, Persistence in lvs setups is achieved by some sort of source ip hashing combined with a consistence source-ip-hash -> connection-port mapping.
This happens on ip level. LVS has no idea of X-Forwarded-For header or similar information. So the persistence hashing will only see the ip of your squid server. If you actually want something like that to happen i'll recommend you to take a look at haproxy which is userland and only a proxy but can solve your problem in i.e. evaluating X-Forwared-For Header or placing a cookie or intercepting a already existent one and using it for persistence. kind regards, Malte Geierhos > Hello, > > While saying "stickiness", I actually meant "persistence". > > Sorry for the mistake, > > Mikael Kermorgant > > On Thu, Jun 4, 2009 at 5:14 PM, Mikael Kermorgant > <[email protected]> wrote: > >> Hello, >> >> I'm planning to build a cluster in order to offer access to a zope >> server associated to several zeo clients. >> >> I'd like to have this schema >> >> >> User ----> SQUID ---> LVS ----- Zeo client 3 | >> | \ >> | >> | \ >> } ------> Zope Server >> | \ >> | >> Zeo client 1 Zeo client 2 | >> >> >> >> While I've read that LVS could handle stickiness so that a session >> keeps associated to a specific zeo client, how could this work when a >> Squid server is put between the user and LVS ? >> Is it possible to keep this stickiness ? >> >> Regards, >> >> -- >> Mikael Kermorgant >> >> > > > > -- Malte Geierhos Serverbetreuung / Administration SnapScouts.de Snapscouts Limited Zweigniederlassung Görlitz Krischelstraße 14 02826 Görlitz Fax: +49 (0) 35 81 / 66 72 53 Mobil: +49 (0) 1 51 / 27 00 22 70 E-Mail: [email protected] Web: http://www.snapscouts.de Geschäftsführer: Thomas von Skrbensky Registergericht: Dresden HRB 25880 USt-IdNr.: DE254464823 Zweigniederlassung der Snapscouts Limited 69 Great Hampton Street Birmingham, B18 6EW Handelsreegister für England & Wales Unternehmen Nr.: 6198239 Diese Information ist ausschließlich für den Adressaten bestimmt und kann vertrauliche oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind, unterrichten Sie bitte den Absender und vernichten Sie diese E-Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren Inhalt, auf welche Weise auch immer, zu verwenden. Wir verwenden aktuelle Virenschutzprogramme. Für Schäden, die dem Empfänger, gleichwohl durch von uns zugesandte mit Viren befallene E-Mails entstehen, schließen wir jede Haftung aus. _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
