[opencms-dev] Load balancing
Michael von Bodungen
vb at sharedvision.com
Thu Mar 20 13:08:41 CET 2008
Jordi,
What is the command to generate the indexes. I'm assuming this is something that could be kicked off via Cron?
Thank you - your post was very helpful.
Michael
-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jordi Martí
Sent: Thursday, March 20, 2008 7:51 AM
To: 'The OpenCms mailing list'
Subject: Re: [opencms-dev] Load balancing
Ah, another one: "workplace locks" are also instance based, so you may lock
one file in one instance and in the other one, the file is not locked.
JORDI MARTÍ
Email: jmarti AT theinit _dot_ com
Skype ID: jmarti.theinit
PRIVADO Y CONFIDENCIAL
Este mensaje va dirigido a la persona(s) indicada(s). Puede contener
información confidencial de carácter legal o personal de THE INIT SERVICES,
La transmisión errónea del presente mensaje en ningún momento supone
renuncia a su confidencialidad. Si el lector del mensaje no es el
destinatario indicado, o el empleado encargado de su entrega a dicha
persona, por favor, notifíquelo inmediatamente por teléfono y remita el
mensaje original a la dirección de correo electrónico indicada. Cualquier
copia o distribución de esta comunicación queda estrictamente prohibida.
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Jordi Martí
Enviado el: jueves, 20 de marzo de 2008 12:22
Para: 'The OpenCms mailing list'
Asunto: Re: [opencms-dev] Load balancing
Alkacon has an OCEE module just for that. But of course, it is not open
source. ;-))
I've used OpenCMS the way you say, but having to sacrifice / implement in
other way some functionalities as:
- Indexes: indexes are built in filesystem. If one instance indexes
a file, the other one won't do it, or that's what experience tells me. You
should manually reindex in both machines through a external process.
- FlexCache: if publishing happens in one machine, the other one
will not know that a page has been published, and cache won't be
invalidated. That's why I generally use a timeout based cache (cache
property => "timeout=10").
- Config files: for example, if you import a module in one machine,
the other file "opencms-modules.xml" in the other machine won't be modified.
You could rsync both files or mount that directory or something like that.
There's no problem with filesystem created JSP and images, because if one
instance doesn't have it, it creates in on the fly, so there's no problem.
I don't remember any more, but I guess there will be. It depends on what
functionalities you use or want to use.
I would be glad to hear from others what troubles they have and how they
solve it.
JORDI MARTÍ
Email: jmarti AT theinit _dot_ com
Skype ID: jmarti.theinit
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Yves Glodt
Enviado el: jueves, 20 de marzo de 2008 11:31
Para: The OpenCms mailing list
Asunto: [opencms-dev] Load balancing
Hello,
in my setup I have a hardware loadbalancer/failover device, which will
balance
requests to two physical servers running opencms.
These 2 servers are 1:1 copies of each other, and they connect both to the
*same* database (which provides failover through DRBD)
I guess this is not a problem, to have 2 or more opencms-instances from
different servers connecting to the same database, or is it ??? :-)
I would like to request come comments about this kind of setup... What other
ways are good for providing balancing and failover
Regards,
Yves
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list