Monday Dec 12, 2011

GlassFish 3.1.1 - an SSH recap

Centralized admin was taken to the next level with GlassFish 3.1 (and of course 3.1.1) with SSH-based provisioning.

This effectively means no more remote login onto multiple machines for managing clusters and instances or even installing the software.

Setting up SSH in your environment ranges from fairly straightforward on Unix/Linux systems to a bit tricky on Windows.

This series of links should help you get started :

ALT_DESCR

Using GlassFish v3.1 SSH Provisioning Commands (Yamini)
GlassFish 3.1: Using SSH to Manage Instance Lifecycles (Joe)
Setting up SSH for use with GlassFish 3.1 (GlassFish Wiki)
SSH Provisioning and Start/Stop instance/cluster on local/remote machines (Arun)
Setting Up SSH for Centralized Administration (Oracle GlassFish Server Documentation)

If you're looking for a complete walkthrough to setting up and using a GlassFish cluster, this recent community blog post is a good place to start. Note you can always manually log into the remote machines and run local commands if need be.

The other important note is that the Windows users should have an easier time with GlassFish once version 3.1.2 is released with the new DCOM-based provisioning (in lieu of SSH).

Sunday Mar 13, 2011

Clustering in GlassFish 3.1 - a fundamental article

With clustering being such an important new feature in GlassFish 3.1, it's important to get the vocabulary right and to understand the key concepts and features in the product. This is exactly what this detailed article written by the key engineers behind the implementation is set to do.

ALT DESCR

Tom, Bobby, Joe and Mahesh discuss basic clustering concepts, define what DAS, nodes, GMS, and HA are in the context of GlassFish and offer a description of the admin server and of the overall cluster architectures. The article also discusses the key role played by ssh and what it takes to install and administer such an architecture.

This is probably a good time and place to remind you that GlassFish 3.1 comes with full documentation: 20+ guides from quick-start to tuning.

Monday Mar 07, 2011

GlassFish 3.1 SOTD #7 - Clustering Infrastructure

In this seventh post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Tom's Clustering Infrastructure in GlassFish 3.1.

In this 7-minute demo Tom covers the use of local or ssh commands to create remote node and instances grouped in a cluster.

Tom also demonstrates deployment with a single command of applications to that cluster showing how cluster provisioning and application deployment can be fully carried out from a central location using the command-line but also how the Web Admin console offers the same set of features in a graphical environment.

To read more about the clustering infrastructure in GlassFish 3.1, you should check out the High Availability Administration Guide documentation (of course!) but also read this new "Clustering in GlassFish Version 3.1" article on the GlassFish site.

This screencast is hosted on the GlassFish YouTube Channel.

Tuesday Dec 14, 2010

To ssh or not to ssh? (with GlassFish 3.1)

ALT DESCR

With GlassFish 3.1, a good deal of the centralized administration (one of the corner-stones of clustering) seem to depend on the use of SSH. In a recent blog post, Joe Di Pol discusses the benefits of relying on SSH but also ways to work around it if your environment doesn't offer easy SSH configuration.

The blog is really a technical article that walks you through the basics of SSH if you're not fully familiar with it yet, and how to set it up (including the authentication part) on environments such as windows where such things don't come as easy as on other operating systems.

One of the neat things ssh enables is remote installation of GlassFish instances (asadmin install-node) and nodes (asadmin create-node-ssh). It also covers how you can do without SSH and yet still be able to talk to remote instances. So be sure to bookmark Joe's post if you're at all interested in GlassFish clustering.