| |
Dinesh Patil's Weblog
Dinesh Patil's Weblog
Thursday August 10, 2006 |
|
GlassFish V2 with Clustering Features
GlassFish with Clustering
GlassFish V2 with Clustering Features:
More source code for Appserver Enterprise features is added into GlassFish
workspace on java.net cvs repository. User can create clusters of
application server instances which can help distribute server instances
from remote machines, and serve more users by using external Load
balancing like Sun
Webserver with Reverse Proxy plugin (Software load balancer).
Details of how to do the load balancing after creating Clusters on GlassFish V2 can be found in the document below:
Configuring the Cluster/Load Balancer with GlassFish V2
Here just wanted to summarize the changes that went into GlassFish
workspace for creating the server clusters, node-agents and other
enterprise features in Milestone 1 of GlassFish V2.
On the GlassFish V2 build instructions, the default maven goals will
checkout and build all previous GlassFish modules and 8 new modules
with module-name ending with "-ee" which are added recently as part of
opensourcing this EE features. New modules added are: admin-cli-ee,
admin-gui-ee, appserv-core-ee, appserv-native-ee, admin-core-ee,
appserv-docs-ee, admin-ee, appserv-commons-ee
So GlassFish
build instructions for complete build remains same as before:
% cvs -d :pserver:<userid>@cvs.dev.java.net:/cvs checkout glassfish % cd glassfish/bootstrap % maven checkout bootstrap (or bootstrap-all) build configure-runtime
This will build the complete set of GlassFish modules including the
above 8 new modules added.
If you want to build previous GlassFish workspace i.e. GlassFish V1 you
can use following maven commands:
% cvs -d :pserver:<userid>@cvs.dev.java.net:/cvs checkout glassfish % cd glassfish/bootstrap % maven checkout-pe bootstrap-pe (or bootstrap-all-pe) build-pe configure-runtime
This will checkout, build exactly same V1 modules as last
promoted build "b11", and will not include any new code from above
8 modules or any of GlassFish V2 dependencies. This GlassFish V2
clustering features will be available in promoted build: b13.
New feature of this enhanced GlassFish workspace is to be able to
create GlassFish V1 domain, for single instance or new
GlassFish V2 domain which can create cluster, node-agent from the same
GlassFish bundle if you run "configure-cluster" .
For creating GlassFish domain with single-instance V1 features, the steps are
as below:
- Download one of the bundles to disk from b13
- Run:
java -Xmx256m -jar filename.jar
- cd glassfish
-
ant -f setup.xml
For creating GlassFish V2 domain with clustering capabilities, only
change will be in 4th step above as:
ant -f setup-cluster.xml
So hope this gives you some details on GlassFish workspace changes for
GlassFish V2 Milestone 1.
For detailed instructions about how to install load balancer plugin on Sun Webserver and configure it to work with GlassFish V2 Clustering, refer to the document at
Configuring the Cluster/Load Balancer with GlassFish V2
Posted by dpatil
( Aug 18 2006, 02:07:01 PM PDT / Aug 10 2006, 04:00:00 AM PDT )
Permalink
Trackback: http://blogs.sun.com/dpatil/entry/glassfish_v2_workspace_with_clustering
|
Trackback URL: http://blogs.sun.com/dpatil/entry/glassfish_v2_workspace_with_clustering
|
| « October 2009 | | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|
| | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | | | | Today |
Today's Page Hits: 14
|
Posted by 192.18.179.77 on August 17, 2006 at 11:33 AM PDT #
Posted by Dinesh on August 31, 2006 at 11:13 AM PDT #
Posted by Carlos on September 26, 2006 at 01:02 PM PDT #
Hi this clustering possibility sounds very interesting, because of the reliability. The AS itself is very mighty with deploying.
But I'm trying to use glassfish for distributed computing of very large simulations with dynamic generated inputs. Is there a possibility to use the computing-power of a complete lab? Because to me it looks like I can only use it as a kind of file-server. But I've only just begun to realize the power of glassfish.
greetings Bastian
Posted by reitscbn on February 02, 2008 at 09:59 AM PST #