Zope and Ultramonkey: balancing more ZEO clients on the same machine
Paolo Asioli <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Organization | Unieuro S.p.A. |
| Message-ID | <[email protected]> |
Hello,
we're putting up a cluster of two nodes for Zope + Plone.
The architecture is client server: a ZEO Server (the database) and some
ZEO clients (the application servers) called from Apache using FastCGI.
Due to Python limitations, a ZEO client can use only 1 cpu at a time. So
on a dual xeon machine (seen as 4 processors by the Linux OS) at least 3
ZEO clients on the same machine are recommended to fully use it.
So we have two machines: one is the active redirector and the other is
the stand by (using heartbeat, which of course manages also the failover
for the ZEO server, the database).
Then each machine has three IPs: each one is configured for a Virtual
Host on apache to use one of the three instances of the ZEO clients.
The problem is the following: using LVS/DR the clients always contact
the VIP, and the packets are just routed to the real server without
changing the VIP. In this way, Apache never "sees" one of the IPs of the
Virtual Hosts and calls up the default host instead. So I'd need the VIP
to be changed to the IP of the real server (the same for both the active
and stand by redirector) and to me this looks like a case of LVS/NAT.
Is it possible to do it with just two servers, maybe redirecting to IPs
on a dedicated subnet configured on a secondary ethernet port on each
server ? Or is there any other solution (something that could let me
keep the efficiency of LVS/DR) ?
Thank you in advance.
Best regards,
Paolo
--
--------
Ing. Paolo S. Asioli
Unieuro S.p.A.
Tel. (+39) 0173 4664359
Mob. (+39) 335 8430361
-----------------------------------------------------------------------
Questa e-mail è stata inviata da un PC appartenente a Unieuro S.p.A. o
a un'altra azienda del Gruppo Dixons. Il suo contenuto è confidenziale
e riservato al mittente e al destinatario designato.
Se l'avete ricevuta per errore, Vi preghiamo di segnalarcelo e di
eliminarla dal vostro sistema; non potete fare alcuno uso dei
contenuti né copiarla o inoltrarla a terze parti.
Le opinioni, conclusioni e dichiarazioni d'intenti contenute in questa
e-mail sono responsabilità del mittente e non saranno vincolanti per
un'azienda del Gruppo Dixons a meno di essere state confermate da un
rappresentante autorizzato in modo indipendente dal presente
messaggio. Non accettiamo responsabilità per eventuali virus: deve
essere Vostra cura provvedere alla verifica.
Vi preghiamo di osservare che le e-mail inviate da ed al Gruppo Dixons
sono verificate su base regolare a fini di archiviazione, controllo di
qualità e addestramento, per assicurare aderenza ai regolamenti e per
prevenire eventuali virus ed utilizzo non autorizzato dei nostri
sistemi informativi.
-----------------------------------------------------------------------
--
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.