By alexismp on Dec 12, 2011
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 :
• 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).