Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
To perform cluster testing, we are going to take you through a sequence of events. In the following event, we only plan to use two Tomcat instances—tomcatnode1 and tomcatnode2. We will cover the following sequence of events:
tomcatnode1. tomcatnode2 (wait for node 1 to start completely).Now we have a good scenario with us, we will walk through how the entire process works:
tomcatnode1 starts up using the standard startup sequence. When the host object is created, a cluster object is associated with it. Tomcat asks the cluster class (in this case SimpleTcpCluster) to create a manager for the cluster and the cluster class will start up a membership service.