Sun GlassFish Enterprise Server v2.1.1 Quick Start Guide

Configuring a Cluster and Application for High Availability

The FirstCluster cluster must be configured to use HADB and high-availability must be enabled for the clusterjsp application before you can verify HTTP session persistence. Use the asadmin configure-ha-cluster command to configure an existing cluster for high availability. For more information on how to use this command, type configure-ha-cluster --help at the asadmin command prompt or see the configure-ha-cluster(1) man page.