[Yanel-dev] Fwd: Cluster documentation

Michael Wechner michael.wechner at wyona.com
Wed Feb 2 18:21:33 CET 2011


Hi Balz

On 2/2/11 5:55 PM, Balz Schreier wrote:
> Hi Michael,
> interesting point is mentioned in the restrictions:
>
>     * Only one cluster node writes to the repository. This means that
>       the authoring environment is only accessible on one dedicated
>       cluster node, which is called the /master/ node.
>
>
> For the project I'm working for this is not a solution as each node 
> must have write access to the repository as well as to the Lucene index.

agreed and I don't think you need to worry

> This is what I wanted to highlight in today's workshop that 
> Yanel/Yarep should come up with a concept of a single "write" instance 
> which gets used by all members in the cluster so that writing is also 
> possible for other nodes... to be continued....

wyona.com is running within a cluster and so far we didn't have any 
problems.
Also please see Cedric's tests, whereas to be fair these tests were done 
only with concurrent read access.
But we will also do concurrent write/read.

Cheers

Michael
>
> Cheers
> Balz
>
> On Wed, Feb 2, 2011 at 5:40 PM, Michael Wechner 
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Maybe interesting to compare (please see below).
>
>     Cheers
>
>     Michael
>
>     -------- Original Message --------
>     Subject: 	Cluster documentation
>     Date: 	Wed, 02 Feb 2011 16:04:38 +0100
>     From: 	Andreas Hartmann <andreas at apache.org>
>     <mailto:andreas at apache.org>
>     Reply-To: 	user at lenya.apache.org <mailto:user at lenya.apache.org>
>     To: 	user at lenya.apache.org <mailto:user at lenya.apache.org>
>
>
>
>     I have added documentation for the cluster setup:
>
>     https://lenya.zones.apache.org/cms/docu/live/docu20/reference/cluster.html
>
>     -- Andreas
>
>
>     Am 05.01.11 16:30, schrieb Martin Dominguez:
>     >
>     >  Great new year news! Thanks Felix!
>     >
>     >
>     >  Felix Roethenbacher wrote:
>     >>
>     >>  Hi Florent
>     >>
>     >>  You can check it out: there is a configuration file in
>     >>  lenya/config/cluster/cluster.xconf in your webapp.
>     >>
>     >>  If you enable clustering and set the Lenya instance to
>     >>  slave it will check for external modifications to the
>     >>  live sitetree and reload all necessary resources.
>     >>
>     >>  Please note that only the live area can be run in clustered mode
>     >>  and that there should be only one instance running as
>     >>  master (which is the authoring instance).
>     >>
>     >>  Cheers, Felix
>     >>
>     >>
>     >>  Am 04.01.11 16:14, schrieb florent andré:
>     >>>  Hi froethenbacher,
>     >>>
>     >>>  Can you confirm if this good old commit message solve the cluster issue
>     >>>  reported by Martin on 20101215 ?
>     >>>
>     >>>  Thanks
>     >>>
>     >>>  On 01/03/2011 06:33 PM,froethenbacher at apache.org  <mailto:froethenbacher at apache.org>  wrote:
>     >>>>  Author: froethenbacher
>     >>>>  Date: Mon Jan  3 17:33:50 2011
>     >>>>  New Revision: 1054691
>     >>>>
>     >>>>  URL:http://svn.apache.org/viewvc?rev=1054691&view=rev  <http://svn.apache.org/viewvc?rev=1054691&view=rev>
>     >>>>  Log:
>     >>>>  Added cluster manager.
>     >>>>
>     >>>>  Added:
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/impl/java/org/apache/lenya/cms/cluster/
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/impl/java/org/apache/lenya/cms/cluster/impl/
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/impl/java/org/apache/lenya/cms/cluster/impl/ClusterManagerImpl.java
>     >>>>        lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/cluster/
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/cluster/ClusterConfigurationException.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/cluster/ClusterManager.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/cluster/ClusterMode.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sourcerepository/config/cocoon-xconf/sourcenodercmlfactory.xconf
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/impl/
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/impl/SourceNodeRcmlFactoryImpl.java
>     >>>>        lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/cluster/
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/cluster/cluster.xconf
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/cocoon-xconf/cluster/
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/cocoon-xconf/cluster/cluster.xconf
>     >>>>  Modified:
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/repository/RepositoryManagerImpl.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/repository/SessionImpl.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sitetree/java/src/org/apache/lenya/cms/site/tree2/SiteTreeImpl.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sitetree/java/src/org/apache/lenya/cms/site/tree2/SiteTreeMonitorImpl.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sitetree/java/src/org/apache/lenya/cms/site/tree2/TreeSiteManager.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNode.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java
>     >>>>
>     >>>>  lenya/branches/BRANCH_2_1_X/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRcmlFactory.java
>     >>>>
>     >>>  ...
>     >>>
>     >>>  ---------------------------------------------------------------------
>     >>>  To unsubscribe, e-mail:user-unsubscribe at lenya.apache.org  <mailto:user-unsubscribe at lenya.apache.org>
>     >>>  For additional commands, e-mail:user-help at lenya.apache.org  <mailto:user-help at lenya.apache.org>
>     >>>
>     >>
>     >>
>     >>  ---------------------------------------------------------------------
>     >>  To unsubscribe, e-mail:user-unsubscribe at lenya.apache.org  <mailto:user-unsubscribe at lenya.apache.org>
>     >>  For additional commands, e-mail:user-help at lenya.apache.org  <mailto:user-help at lenya.apache.org>
>     >>
>     >>
>     >>
>     >
>
>
>     -- 
>     Andreas Hartmann, CTO
>     BeCompany GmbH
>     http://www.becompany.ch
>     Tel.: +41 (0) 43 818 57 01
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail:user-unsubscribe at lenya.apache.org  <mailto:user-unsubscribe at lenya.apache.org>
>     For additional commands, e-mail:user-help at lenya.apache.org  <mailto:user-help at lenya.apache.org>
>
>
>     --
>     Yanel-development mailing list Yanel-development at wyona.com
>     <mailto:Yanel-development at wyona.com>
>     http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110202/56ef1331/attachment-0001.html>


More information about the Yanel-development mailing list