[opencms-dev] 2 web servers and one DB
Angus Mezick
amezick at guidestar.org
Mon Feb 2 15:28:01 CET 2004
I guess this wouldn't be the way to implement as your feature page
lists:
Clustering for load balancing and failover
To ensure the availability of a website even in the case of hardware
failure, or to handle websites with high load, the OpenCms installation
can be clustered on several server machines. Common hardware solutions
like for example CISCO local director are fully supported. OpenCms will
automatically update all servers in the cluster if new content is
published.
So, how do I "automatically update all servers in the cluster if new
content is published" ?
--Angus
> -----Original Message-----
> From: Alexander Kandzior [mailto:alex at opencms.org]
> Sent: Saturday, January 31, 2004 2:56 AM
> To: opencms-dev at opencms.org
> Subject: RE: [opencms-dev] 2 web servers and one DB
>
>
> Hi Angus
>
> > What would happen if I pointed 2 different webserving
> > machines to one database and then made updates on one of the
> > webservers? Would the changes be reflected in the second server?
>
> 1) Machines A and B will both have different parts of the
> information in
> their memory caches. Only the system where you made the
> changes will flush
> the caches, so the other one will still deliver old content if this is
> cached.
>
> 2) Also, static export or export points will only be written
> on the machine
> the publish is triggerd.
>
> For 1) there is no easy solution in code, what you can do is
> restart the
> remote machine.
> You can solve 2) by doing an rsync from the "publish" machine
> to the remote
> machine.
>
> > What about loading a new module into one of the two servers?
>
> Apart form issues mentioned above (particular important when
> classes / jars
> are part of the module) you would have to copy the
> registry.xml from the
> machine where the update was made to the other one. Or make
> it part of an
> rsync script.
>
> > Also, do I have to have all the auto-reload features in
> > tomcat working to have OpenCMS working?
>
> No.
>
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list