Sunday Dec 20, 2009

GlassFish Cluster Installation Tips

When ever you go in for GlassFish Cluster deployment please ensure that you do the following before and after installation so that the setup works without any issues:



  • Install the latest version of JDK available
  • See that the machines that have the NodeAgents / Instances on the same subnet. Clustering doen't work with machines that are not on the same subnetwork.
  • Enable Multicasting with in the subnet where the cluster installation is taking place. -- SHOAL which is the backbone of the cluster requires multicast to be enabled. You can test the Multicast on the network by the simple instruction you can can find here and here. Not checking these 2 might result in either the instances not joining the network or session replication failure.
  • Install the GlassFish with latest patch available. -- This step ensures that lot of the bugs are fixed which might be discovered later in the production.
  • Once installed ensure that the sample cluster application that is bundled with the GlassFish is deployed and runs properly in the cluster. This sample is bundled with the <GlassFishInstallFolder>/samples/quickstart/clusterjsp folder.


These steps (which might take 30 mins.) ensure that the GlassFish Cluster Installation in the envisaged manner and saves lot of trouble shooting time.


Hope you find these steps useful. Happy Clustering!!!


About

I was part of Sun R&D in Java CAPS and later Glassfish ESB. I moved from R&D to Consulting. I am currently working as a Solution Architect in Oracle Consulting Services (India). I was sharing my experience w.r.t. Java CAPS and other technologies during Sun period. Now in Oracle world I share my experiences with Oracle FMW product line as well as other Oracle Technologies and products.

Search

Archives
« December 2009 »
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
21
22
23
24
25
26
27
28
29
30
31
  
       
Today