Java Reference
In-Depth Information
Once your application is deployed on both nodes of your cluster, you can test it
by hitting the Apache web server (
http://localhost:8888/ticket-agency-
cluster
in our example) and start booking tickets:
Since the
mod_cluster
subsystem is configured by default to use
sticky web ses-
sions
, all subsequent requests from the same client will be redirected to the same
server node. Therefore, by shutting down the sticky server node, you will get eviden-
ce that a new cluster view has been created and you can continue shopping on the
other server node: