Conclusion
This article introduced the centralized
cluster provisioning and management
of GlassFish clusters. The ability to
get a new host up and running
remotely as long as it has an SSH server
and a Java SE runtime is especially
powerful. We deployed a simple stateless application to a cluster and played
with common administration commands to check the state of our cluster
and manipulate instances.
The next article in this two-part series
shows how to enable high availability
of stateful applications deployed to our
cluster by providing transparent session
failover. </article>
COMMUNITY
JAVA IN ACTION
Figure 6
Figure 8
We can check that ClockEE was transparently deployed to the vm1 instance
when it was launched, provided that it
had already been deployed to
my-first-cluster (see Figure 5).
as was mentioned earlier, that is not
the only option. A REST Web service
interface is available for easily integrating GlassFish with
third-party management systems. There
is also a Web administration console that
provides an intuitive
graphical interface.
Both are on par with the equivalent
asadmin shell commands.
Figure 6, Figure 7, and Figure 8
provide a few screen-shots of using the
Web administration
console to perform a
few tasks we did from
the command-line
before.
LEARN MORE
•;GlassFish product documentation
•;“Clustering in GlassFish Version 3. 1”
•;GlassFish videos on You Tube
•;Real;World;Java;EE;Night;Hacks—
Dissecting;the;Business;Tier by Adam Bien
( press.adam-bien.com, 2011)
•;Beginning;Java;EE;6;with;GlassFish;3 by
Antonio Goncalves (Apress, 2010)
•;The;Java;EE;6;Tutorial:;Basic;Concepts
fourth edition by Eric Jendrock,
Ian Evans, Devika Gollapudi, Kim Haase,
and Chinmayee Srivathsa
(Prentice Hall, 2010)
ABOUT US
blog
How About the Web
Administration Console?
We did all administration work from
the command-line using asadmin, but
The next article shows how to
enable high availability of stateful
applications on the cluster.