Admin Console Series: Add Cluster Support
![]() |
One of the major enhancement in GlassFish V2 is the
support for Cluster. Clustering support is availble if you download
GlassFish V2 and install it by using the ant command 'ant -f
setup-cluster.xml'. More information regarding the usage
profile can be found in this one
pager. But if you already has your domain setup to run the developer profile, with applications deployed to it and want to switch to the cluster profile so that you can configure your domain and perform task that is only available for cluster profile, you may find the steps outlined here useful in helping you to add the cluster support. Or you can click the Screen Cast on the left to watch the whole procedure in action. |
1. Use CLI to start your domain
-
asadmin start-domain domain1 - At the end of the CLI output, you will see that it says:
- Domain does not support application server clusters and other standalone instances.
2. Use Admin Console to add cluster support
- Go to the Application Server tree node, on the right hand side, you will see the 'Add Cluster Support' button. Click on this button.

- The next page will show you the implication about this action. Click OK

- You will see that the profile has been successfully upgraded and server restart is required

.
3. Use CLI to start your domain again and verify
-
asadmin start-domain domain1
- At the end of the CLI output, you will see that it says:
- Domain supports application server clusters and other standalone instances.
You have successfully added cluster support to your domain.
Note: This feature will be available starting from GlassFish V2 build# 48.
Note2: You should use CLI single command to start the domain in case issue# 3018 is not fixed yet when you use this feature.

Posted by Ken Paulsen on May 23, 2007 at 11:52 PM PDT #