if you can afford a hardware loadbalancer - can afford ocee.<br><br>we've been running our site much as jordi described. personal opinion was that it took as much time (read cost) to hack around synchronizing jsp repositories / flushing cache etc... as it would have taken to just buy ocee. and i'm not happy with my hacking.<br>
<br>/shrug. had to do what we did to meet deadlines...<br><br>-andy<br><br><br><div class="gmail_quote">On Sat, Mar 22, 2008 at 6:20 AM, Yves Glodt <<a href="mailto:yg@mind.lu">yg@mind.lu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thursday 20 March 2008, Jordi Martí wrote:<br>
> Alkacon has an OCEE module just for that. But of course, it is not<br>
> open source. ;-))<br>
><br>
> I've used OpenCMS the way you say, but having to sacrifice /<br>
> implement in other way some functionalities as:<br>
> - Indexes: indexes are built in filesystem. If one instance indexes<br>
> a file, the other one won't do it, or that's what experience tells<br>
> me. You should manually reindex in both machines through a external<br>
> process. - FlexCache: if publishing happens in one machine, the other<br>
> one will not know that a page has been published, and cache won't be<br>
> invalidated. That's why I generally use a timeout based cache (cache<br>
> property => "timeout=10").<br>
<br>
</div>where can this property be set?<br>
<br>
thanks for your detailed information!<br>
Yves<br>
<div><div></div><div class="Wj3C7c"><br>
> - Config files: for example, if you import a module in one machine,<br>
> the other file "opencms-modules.xml" in the other machine won't be<br>
> modified. You could rsync both files or mount that directory or<br>
> something like that.<br>
><br>
> There's no problem with filesystem created JSP and images, because if<br>
> one instance doesn't have it, it creates in on the fly, so there's no<br>
> problem.<br>
><br>
> I don't remember any more, but I guess there will be. It depends on<br>
> what functionalities you use or want to use.<br>
><br>
> I would be glad to hear from others what troubles they have and how<br>
> they solve it.<br>
><br>
><br>
><br>
> JORDI MARTÍ<br>
> Email: jmarti AT theinit _dot_ com<br>
> Skype ID: jmarti.theinit<br>
><br>
><br>
><br>
><br>
><br>
><br>
> -----Mensaje original-----<br>
> De: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a><br>
> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>] En nombre de Yves Glodt<br>
> Enviado el: jueves, 20 de marzo de 2008 11:31<br>
> Para: The OpenCms mailing list<br>
> Asunto: [opencms-dev] Load balancing<br>
><br>
> Hello,<br>
><br>
> in my setup I have a hardware loadbalancer/failover device, which<br>
> will balance<br>
> requests to two physical servers running opencms.<br>
><br>
> These 2 servers are 1:1 copies of each other, and they connect both<br>
> to the *same* database (which provides failover through DRBD)<br>
><br>
> I guess this is not a problem, to have 2 or more opencms-instances<br>
> from different servers connecting to the same database, or is it ???<br>
> :-)<br>
><br>
> I would like to request come comments about this kind of setup...<br>
> What other<br>
><br>
> ways are good for providing balancing and failover<br>
><br>
> Regards,<br>
> Yves<br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please<br>
> visit <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please<br>
> visit <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Linux 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686<br>
11:19:34 up 35 min, 1 user, load average: 0.40, 0.41, 0.36<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Andrew R. Thompson<br>Currently in N.Y *not* Consulting