From: Jann Forrer <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Sharing publications
Date: Wed, 14 Jun 2006 15:46:52 +0200
Brad Hannah wrote:
Hello All,
I am currently working on a few Solaris multi-cpu boxes. Because of this,
I have been working on optimizations for our static exporter procedure. My
hope is to run two Tomcat servers (so each CPU is used), the question is,
does anyone know if they can both point to the same occurrence of Lenya?
Only one would be writing (or authoring), while the other would be
dedicated to exporting (just reading).
We have two tomcat running on different (linux) servers accessing sharing
the pub directory. Our live Server can only read whereas the authoring
server can read/write.
We achieved this by using nfs i.e. we mount the pubs directory of the one
server (authoring) readonly on the pubs diretory of the live server. The
entry in the /etc/fstab looks like:
host:/authoring/home/lenya/build/webapps/lenya/lenya/pubs
/live/home/lenya/build/webapps/ROOT/lenya/pubs nfs ,tcp,ro 0 0
Additionally we have a shared directory which both server can access
read/write for the cache.
I have considered putting behind a load balancer, but I am still plagued
with the same question, can they run the same copy of Lenya. My thought
is, there may be a problem with sharing the /{pub}/work/cache directories.
Anyone have experience in this?
Jann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to modify Lenya so that when a page is 'Published', Lenya can
kick off a batch job to copy the page to a different webapp directory?
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]