Hi Jaron,

during startup of Jetspeed the PA in the database is checked against the
local PA in the filesystem represented by the PA descriptors
(portlet.xml, jetspeed-portlet.xml). If they differ the local PA
descriptors are deployed to the database. Since this process is not
locking in the database there can occur DB constraint violations if
multiple cluster nodes try to modify the DB at the same time, resulting
in inaccessible PAs in one or many cluster nodes.

The VersionedPortletApplicationManager simplifies the deployment process
and the patch under https://issues.apache.org/jira/browse/JS2-893
synchronizes the deployment to the database clusterwide, respectively.

Joachim

Jaron van Golverdinge Schut schrieb:
> Hey Joachim,
> 
> The "clustering" with sticky sessions is exactly what we are planning.
> 
> If I understand you correctly the main issue is configuring ehcache for 
> clustering and site data in a database. This automatically will synchronise 
> changes to the site structure / pages through the ehcache chached central 
> database.
> 
> What are the trouble one can encounter during startup of the PA's? How do the 
> options solve this?
> 
> 
> Kind regards,
> 
> JWA van Golverdinge Schut
> 
> 
> -----Oorspronkelijk bericht-----
> Van: Joachim Müller [mailto:[EMAIL PROTECTED] 
> Verzonden: vrijdag 5 september 2008 13:29
> Aan: Jetspeed Users List
> Onderwerp: Re: Clustering documentation
> 
> Hi Jaron,
> 
> first Jetspeed does support only load balancing (search "load balancing
> jetspeed") with sticky sessions. True clustering with session
> replication is not supported to my knowledge.
> 
> For load-balancing:
> 
> 1.) make sure all cluster nodes use one DB for alle information (PSML!)
> 
> 2.) configure the distributed cache in ehcache.xml (WEB-INF/classes)
> 
> 3.) For troubleless startup (deployment of the PAs into the single DB)
> of all cluster nodes at the same time
> 
> 3.1) consider to use the VersionedPortletApplicationManager in
> deployment.xml (https://issues.apache.org/jira/browse/JS2-860)
> 
> 3.2) consider to use the patch in
> https://issues.apache.org/jira/browse/JS2-893 for true cluster save
> deployment on startup (not committed yet to the Jetspeed Source)
> 
> 
> HTH,
> Joachim
> 
> 
> 
> Jaron van Golverdinge Schut schrieb:
>>  
>>
>> Good day,
>>
>>  
>>
>> We need to deploy jetspeed on a cluster of 2 tomcat installations. I
>> have been searching for documentation on how to configure jetspeed for
>> clustering. I scanned the jetspeed mailinglists, both users and
>> developers, from 1 jan 2004 up until today. I did not encounter a single
>> post that had the word "cluster" in its title. Googling for "jetspeed
>> cluster" does not result in anything usefull either.
>>
>>  
>>
>> Could anyone please provide me with the necessary documentation on how
>> to configure jetspeed 2.1.3 for clustering.
>>
>>  
>>
>>  
>>
>> Kind regards,
>>
>>  
>>
>> JWA van Golverdinge Schut
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>
>>
>> DISCLAIMER:
>>
>>
>>
>> Dit bericht (met bijlagen) is zorgvuldig samengesteld. Voor eventuele 
>> onjuistheid en/of onvolledigheid van de hierin verstrekte informatie 
>> aanvaardt Kennisnet geen aansprakelijkheid. Aan de inhoud van dit bericht 
>> (met bijlagen) kunnen geen rechten worden ontleend. De inhoud van dit 
>> bericht (met bijlagen) kan vertrouwelijke informatie bevatten en is 
>> uitsluitend bestemd voor de geadresseerde van dit bericht.
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> DISCLAIMER:
> 
> Dit bericht (met bijlagen) is zorgvuldig samengesteld. Voor eventuele 
> onjuistheid en/of onvolledigheid van de hierin verstrekte informatie 
> aanvaardt Kennisnet geen aansprakelijkheid. Aan de inhoud van dit bericht 
> (met bijlagen) kunnen geen rechten worden ontleend. De inhoud van dit bericht 
> (met bijlagen) kan vertrouwelijke informatie bevatten en is uitsluitend 
> bestemd voor de geadresseerde van dit bericht.


-- 

. frankfurt am main, 21°c, zur zeit ein wenig
  bewölkt in 671 m. die sichtweite reicht weiter als
  10 km.

< joachim müller
  [EMAIL PROTECTED]
  t +49 69 759003 11

  wemove digital solutions gmbh
  eschersheimer landstr. 5-7
  60322 frankfurt am main

  amtsgericht frankfurt am main, hrb 53992
  geschäftsführer joachim müller, stefan hartmann

  wemove digital solutions
  www.wemove.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to