DRAFT
Eclipse GlassFish Server
Oracle GlassFish Server Documentation Set
Typographic Conventions
Symbol Conventions
Default Paths and File Names
Overview of High Availability
Load Balancing With the Apache mod_jk or mod_proxy_ajp Module
mod_jk
mod_proxy_ajp
High Availability Session Persistence
High Availability Java Message Service
RMI-IIOP Load Balancing and Failover
How GlassFish Server Provides High Availability
Storage for Session State Data
Highly Available Clusters
Recovering from Failures
Recovering the Domain Administration Server
Recovering GlassFish Server Instances
Recovering the HTTP Load Balancer and Web Server
Recovering Message Queue
More Information
About Centralized Administration of GlassFish Server Instances
Determining Whether to Enable Centralized Administration
Considerations for Using DCOM for Centralized Administration
Considerations for Using SSH for Centralized Administration
Setting Up DCOM and Testing the DCOM Set Up
Windows Operating System Settings
To Enable the Windows User to Run Scripts on a Remote Host
To Set Up Password Authentication for the Windows User
To Test the Connection Over DCOM to a Remote Host
Setting Up Cygwin SSH on Windows
To Download and Install Cygwin
To Set the Path for Windows and for the Cygwin Shell
To Set the Home Directory for the Cygwin SSH User
To Configure and Start the Cygwin SSH Server Daemon sshd
sshd
Setting Up the MKS Toolkit on Windows
To Install the MKS Toolkit
To Set the Path for Windows and for the MKS Toolkit Shell
To Set the Home Directory for the MKS Toolkit SSH User
To Configure and Start the MKS Toolkit SSH Server Daemon sshd
Setting Up SSH on UNIX and Linux Systems
To Set Up SSH on Oracle Solaris Systems
To Set Up SSH on MacOS Systems
To Set Up SSH on Linux systems
Testing the SSH Setup on a Host
To Test the SSH Setup on a Host
Setting Up SSH User Authentication
To Set Up Public Key Authentication Without Encryption
To Set Up Encrypted Public Key Authentication
To Set Up Password Authentication
Installing and Removing GlassFish Server Software on Multiple Hosts
To Copy a GlassFish Server Installation to Multiple Hosts
To Remove GlassFish Server Software From Multiple Hosts
Types of GlassFish Server Nodes
Creating, Listing, Testing, and Deleting DCOM Nodes
DCOM
To Create a DCOM Node
To List DCOM Nodes in a Domain
To Test if a DCOM Node is Reachable
To Delete a DCOM Node
Creating, Listing, Testing, and Deleting SSH Nodes
SSH
To Create an SSH Node
To List SSH Nodes in a Domain
To Test if an SSH Node is Reachable
To Delete an SSH Node
Creating, Listing, and Deleting CONFIG Nodes
CONFIG
To Create a CONFIG Node
To List CONFIG Nodes in a Domain
To Delete a CONFIG Node
Updating and Changing the Type of a Node
To Update a DCOM Node
To Update an SSH Node
To Update a CONFIG Node
To Change the Type of a Node
About GlassFish Server Clusters
Group Management Service
Protocols and Transports for GMS
GMS Configuration Settings
Dotted Names for GMS Settings
To Preconfigure Nondefault GMS Configuration Settings
To Change GMS Settings After Cluster Creation
To Check the Health of Instances in a Cluster
To Validate That Multicast Transport Is Available for a Cluster
Discovering a Cluster When Multicast Transport Is Unavailable
Using the Multi-Homing Feature With GMS
Creating, Listing, and Deleting Clusters
To Create a Cluster
To List All Clusters in a Domain
To Delete a Cluster
Types of GlassFish Server Instances
Administering GlassFish Server Instances Centrally
To Create an Instance Centrally
To List All Instances in a Domain
To Delete an Instance Centrally
To Start a Cluster
To Stop a Cluster
To Start an Individual Instance Centrally
To Stop an Individual Instance Centrally
To Restart an Individual Instance Centrally
Administering GlassFish Server Instances Locally
To Create an Instance Locally
To Delete an Instance Locally
To Start an Individual Instance Locally
To Stop an Individual Instance Locally
To Restart an Individual Instance Locally
Resynchronizing GlassFish Server Instances and the DAS
Default Synchronization for Files and Directories
To Resynchronize an Instance and the DAS Online
To Resynchronize Library Files
To Resynchronize Custom Configuration Files for an Instance
To Resynchronize Users' Changes to Files
To Resynchronize Additional Configuration Files
To Prevent Deletion of Application-Generated Files
To Resynchronize an Instance and the DAS Offline
Migrating EJB Timers
To Enable Automatic EJB Timer Migration for Failed Clustered Instances
To Migrate EJB Timers Manually
About Named Configurations
Types of Named Configurations
The default-config Configuration
default-config
Automatically Created Configurations
Directory for Configuration Synchronization
Creating, Listing, and Deleting Named Configurations
To Create a Named Configuration
To List the Named Configurations in a Domain
To List the Targets of a Named Configuration
To Delete a Named Configuration
Modifying Properties for Named Configurations and Instances
Properties for Port Numbers in a Named Configuration
To Modify a Named Configuration’s Properties
To Modify Port Numbers of an Instance
Setting Up HTTP Load Balancing
Prerequisites for Setting Up HTTP Load Balancing
Configuring GlassFish Server with Apache HTTP Server and mod_jk
Configuring GlassFish Server with Apache HTTP Server and mod_proxy_ajp
HTTP Load Balancer Deployments
Application Compatibility
Upgrading In a Single Cluster
To Upgrade an Application in a Single Cluster
Upgrading in Multiple Clusters
To Upgrade a Compatible Application in Two or More Clusters
Upgrading Incompatible Applications
To Upgrade an Incompatible Application by Creating a Second Cluster
Overview of Session Persistence and Failover
Requirements
Restrictions
Scope
Enabling the High Availability Session Persistence Service
To Enable Availability for a Cluster, Standalone Instance or Container
Configuring Availability for Individual Web Applications
Using Single Sign-on with Session Failover
Using Coherence*Web for HTTP Session Persistence
Stateful Session Bean Failover
Configuring Availability for the EJB Container
Configuring Availability for an Individual Application or EJB Module
Configuring Availability for an Individual Bean
Specifying Methods to Be Checkpointed
Using Message Queue Broker Clusters With GlassFish Server
About Message Queue Broker Clusters
Configuring GlassFish Clusters to Use Message Queue Broker Clusters
To Change the Master Broker in an Embedded or Local Broker Cluster
To Configure a GlassFish Cluster to Use a Local Enhanced Broker Cluster
To Configure a GlassFish Cluster to Use a Remote Broker Cluster
Connection Failover
Load-Balanced Delivery to MDBs
Overview
General Requirements for Configuring Load Balancing
Load Balancing Models
InitialContext Load Balancing
InitialContext
InitialContext Summary
InitialContext Algorithm
Enabling RMI-IIOP Hardware Load Balancing and Failover
Per-Request Load Balancing (PRLB)
PRLB Summary
Enabling Per-Request Load Balancing