[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    Re: Is it REALLY possible to Cluster Slide? (from cvs HEAD)
From:       "Arne v.Irmer" <Arne.vonIrmer () uni-dortmund ! de>
Date:       2007-08-16 6:46:26
Message-ID: 46C3F2C2.80700 () uni-dortmund ! de
[Download RAW message or body]

Hi Oliver,
I real tried hard to enable a ClusterCacheRefreshing with 2 full caching 
slides. And can't get it working. This is what I found out:
- If one use udp="false" for every refreshing action a new thread is 
started a the sender and the receiver of the refresh-message. One is the 
NotifyMethod, that is waiting for an answer and the other is the 
NotificationListener that wait for an additional message line. (A bug? )
- Using udp="true" the last started slide receives 
ClusterCacheRefreshing-Notifications but is not able to send them.
- Receiving a ClusterCacheRefreshing-Notifications slide dumps "INFO - 
Resetting cache for ..." for the structure- and contentSubscriber. In 
the debugger I saw that TxLRUObjectCache.remove() is called, but the 
cache wasn't really cleared.
Is it possible to work out two Domain.xml that cluster two slides 
working on one filestore? (Building two workers in a loadbalanced mod_jk 
environment.)
Here are my first suggestions:
		<listener classname="org.apache.slide.cluster.ClusterCacheRefresher">
		<configuration>
			<node local-host="tomcat1"
			      local-port="4410"
			      repository-domain="/"
			      repository-host="tomcat2"
			      repository-port="8080"
		              username="root"
			      password="****"
			      udp="false"
			      />
		</configuration>
		</listener>

#############################################################

		<listener classname="org.apache.slide.cluster.ClusterCacheRefresher">
		<configuration>
			<node local-host="tomcat2"
			      local-port="4411"
			      repository-domain="/"
			      repository-host="tomcat1"
			      repository-port="8080"
		              username="root"
			      password="****"
			      udp="false"
			      />
		</configuration>
		</listener>

Yours
Arne


Oliver Zeigermann-2 wrote:
> 
> A shared file system will not work with the transactional file store.
> Maybe if you used a non transactional file store it might work.
> 
> Oliver
> 
> 2007/4/18, Eirikur Hrafnsson <eiki@idega.is>:
> > Thanks Oliver,
> > 
> > better to know that at least. Only problem is that we have had so
> > much trouble with the RDBMS store that we have all but abandoned it
> > for the much more reliable txfile store : /
> > Would it be possible to blend the two? Like with a shared drive for
> > the files but using the db for the properties etc?
> > 
> > cheers
> > -Eiki, Idega Software
> > 
> > 
> > On Apr 17, 2007, at 6:52 PM, Oliver Zeigermann wrote:
> > 
> > > AFAIK clustered mode only makes sense with a DB store.
> > > 
> > > Oliver
> > > 
> > > 2007/4/17, Eirikur Hrafnsson <eiki@idega.is>:
> > > > Hi all,
> > > > 
> > > > reading the wiki, http://wiki.apache.org/jakarta-slide/
> > > > ClusterSupport, tells me nothing about how we can set up a simple two
> > > > server cluster (loadbalanced tomcats...)
> > > > 
> > > > We have a clustered app that needs Slide, preferably using TxFile
> > > > store. Is it possible and could someone describe the setup? Shared
> > > > drive? etc...
> > > > 
> > > > Best Regards
> > > > 
> > > > Eirikur S. Hrafnsson, eiki@idega.is
> > > > Chief Software Engineer
> > > > Idega Software
> > > > http://www.idega.com
> > > > 
> > > > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> 
Quoted from:
http://www.nabble.com/Is-it-REALLY-possible-to-Cluster-Slide--%28from-cvs-HEAD%29-tf3592074.html#a10076859


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic