Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Quick Start Guide

- Previous: To Uninstall Completely
- Next: Where to Go Next

## To Remove the Sample Cluster Only

To remove only the FirstCluster (the sample highly available cluster) and the sample application used during this exercise, but retain the installed Application Server and Web Server, use the following procedure.

1. Stop the Application Server processes and clean up configuration:

   `asadmin stop-cluster FirstCluster`

   `asadmin disable-http-lb-server FirstCluster`

   `asadmin delete-http-lb-ref --config MyLbConfig FirstCluster`

   `asadmin delete-http-lb-config MyLbConfig`

   `asadmin delete-instance i1`

   `asadmin delete-instance i2`

   `asadmin delete-cluster FirstCluster`

   `asadmin undeploy clusterjsp`

2. Stop the web server instance acting as load balancer by running the stop program in the following directory:

   web_server_install_dir`/https-`hostname

3. Rename the `loadbalancer.xml` file in web_server_install_dir`/https-`hostname `/config` to `loadbalancer.xml.sav`

- Previous: To Uninstall Completely
- Next: Where to Go Next

- © 2010, Oracle Corporation and/or its affiliates