Sun GlassFish Enterprise Server 2.1 Quick Start Guide

ProcedureTo Add Cluster Support to a Domain

You can use the Admin Console add cluster support to a developer domain.

  1. Log on to the Admin Console. For instructions, see To Log On to the Admin Console.

  2. From the left pane, click Application Server.

  3. Click the Add Cluster Support button in the General tab.

  4. The Add Cluster Support page appears. Review the information on this page and click OK.

  5. In the Restart Required Page, click the Stop Instance button to stop the domain.

  6. Log in to the machine where the domain is installed and run the following command: as-install/bin/asadmin list-domains. Verify that the domain was stopped.

  7. Run the following command: as-install/bin/asadmin start-domain <domain-name>

    The restarted domain supports clustering.


If the restarted domain does not show clustering capabilities, stop the domain, reboot the machine on which the domain is installed, and restart the domain as shown in step 7.