Setting up a Cluster for Connect

Execute the instructions specified below to configure session sharing:
  1. Shut down AnalystConnect service
  2. Go to the directory: "<SSA_INSTALL_DIR>\Tomcat7\AnalystConnect\conf"
  3. Use a cluster aware session manager
    1. Open file "context.xml" for editing.
    2. Uncomment the following section under Context element <Manager className="org.apache.catalina.ha.session.DeltaManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
  4. Configure session sharing
    1. Open file "server.xml" for editing
    2. Append an attribute with name "jvmRoute" to <Engine> element. The value of attribute should be a unique name across all the Connect nodes.
    3. Uncomment <cluster> element
    4. Optionally you can change the receiver port for this node if there is a port specified in <Receiver> is already occupied. Edit the port under below element: <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" port="4110" autoBind="9" selectorTimeout="5000" maxThreads="6"/>
  5. Configure cluster nodes & membership – you need to register all the other Connect nodes with this node. Refer to next section for details.