
124
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using Multiple Server Instances
L
ast
u
p
dated
7/9/2
01
2
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8">
<Manager notifyListenersOnReplication="true" expireSessionsOnShutdown="false"
className="org.apache.catalina.ha.session.DeltaManager">
</Manager>
<Channel className="org.apache.catalina.tribes.group.GroupChannel">
<Membership port="
45565
" dropTime="3000" address="228.0.0.4"
className="org.apache.catalina.tribes.membership.McastService" frequency="500">
</Membership>
<Receiver port="4003" autoBind="100" address="auto" selectorTimeout="5000"
maxThreads="6" className="org.apache.catalina.tribes.transport.nio.NioReceiver">
</Receiver>
<Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
<Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender">
</Transport>
</Sender>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector">
</Interceptor>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor">
</Interceptor>
</Channel>
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter="">
</Valve>
<Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve">
</Valve>
<ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener">
</ClusterListener>
<ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener">
</ClusterListener>
</Cluster>
5
In the entry, update the membership port with the multicast port of the cluster.
6
Using the ColdFusion Administrator of the local host, add the local instance and the remote instance to the cluster.
Note:
If you enable sticky session, the JVM route of the remote instance and local instance must not be the same.
7
Restart all the instances.
Define remote server instances to the ColdFusion
Administrator
Register a new remote instance of ColdFusion using the ColdFusion Administrator.
1
In the ColdFusion Administrator, click Enterprise Manager > Instance Manager > Register Remote Instance.
2
Specify the details such as instance name, remote host, remote port, http port, JVM route, and load balancing factor.