HI!

Have you tryed Terracotta for clustering?
I find some days ago, and its very easy and simple to cluster tomcats.
as i remember its free.

regards,
sZabi


2007/10/1, Daniel M Garland <[EMAIL PROTECTED]>:
>
> Hey
>
> The mcastDropTime attribute controls how long a node waits without a
> response from a peer before considering it dead. Careful though, I tried
> setting this to be much lower than the default and had all sorts of
> problems with nodes adding / disappearing all the time; I wonder what
> sorts of values members of this list use as a bare minimum?
>
> Andrew Hole wrote:
> > In cluster of two nodes, which the parameter that I need to configure
> > (or to decrease the value) for a node knows immediately that the other
> > is down? With this configuration a node waits some time.
> >
> > <Cluster
> > className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
> >                                        doClusterLog="true"
> >                                      clusterLogName="clusterlog"
> >
> > manager.className="org.apache.catalina.cluster.session.DeltaManager"
> >                    manager.expireSessionsOnShutdown="false"
> >                manager.notifyListenersOnReplication="false"
> >         manager.notifySessionListenersOnReplication="false"
> >                             manager.sendAllSessions="false"
> >                         manager.sendAllSessionsSize="500"
> >                     manager.sendAllSessionsWaitTime="20">
> >                   <Membership
> >
> > className="org.apache.catalina.cluster.mcast.McastService"
> >                                           mcastAddr="228.0.0.4"
> >                                    mcastBindAddress="127.0.0.1"
> >                                  mcastClusterDomain="d10"
> >                                           mcastPort="45564"
> >                                      mcastFrequency="1000"
> >                                       mcastDropTime="30000"
> >
> recoveryCounter="10"
> >                                     recoveryEnabled="true"
> >                                   recoverySleepTime="5000"/>
> >                   <Receiver
> >
> > className="org.apache.catalina.cluster.tcp.ReplicationListener"
> >                                     tcpListenAddress="auto"
> >                                        tcpListenPort="9016"
> >                                   tcpSelectorTimeout="100"
> >                                       tcpThreadCount="6"/>
> >                   <Sender
> >
> > className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
> >                                      replicationMode="fastasyncqueue"
> >                                       recoverTimeout="5000"
> >                                       recoverCounter="6"
> >                         doTransmitterProcessingStats="true"
> >                                    doProcessingStats="true"
> >                                       doWaitAckStats="true"
> >                                        queueTimeWait="true"
> >                                         queueDoStats="true"
> >                                       queueCheckLock="true"
> >                                           ackTimeout="15000"
> >                                           waitForAck="true"
> >                                     keepAliveTimeout="80000"
> >                             keepAliveMaxRequestCount="-1"/>
> >                   <Valve
> > className="org.apache.catalina.cluster.tcp.ReplicationValve"
> >
> >
> filter=".*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"
> >                                     primaryIndicator="true" />
> >                   <Valve
> > className="org.apache.catalina.cluster.session.JvmRouteBinderValve"
> >                                              enabled="true" />
> >                   <ClusterListener
> > className="org.apache.catalina.cluster.session.ClusterSessionListener"
> > />
> >                   <ClusterListener
> > className="
> org.apache.catalina.cluster.session.JvmRouteSessionIDBinderListener"
> > />
> >                   <Deployer
> > className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
> >                                             tempDir="${catalina.base
> }/war-temp"
> >
> > deployDir="${catalina.base}/war-deploy/"
> >
> > watchDir="${catalina.base}/war-listen/"
> >                                        watchEnabled="true"/>
> >                   </Cluster>
> >
> >
> > Thanks a lot
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.messagelabs.com/email
> > ______________________________________________________________________
> >
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to