users@glassfish.java.net

Setting up Cluster / Load Balancers

From: Richard Conte <Richard.Conte_at_Sun.COM>
Date: Fri, 17 Apr 2009 15:28:39 -0400

All

 I have installed Sun Glassfish Enterprise Server v2.1 with the following
set up
1) 2 physical servers running solaris 10.

2) Created a cluster named : cluster1
 3) Created 2 nodeagents : nodeagent1-qa1 [ on the
first server
          : nodeagent1-qa3 [ on the first server

4) Created 3 application instances : instance1-qa1 [ on
the first server ]
                    : instance2-qa1 [ on the first server ]
                    : instance1-qa3 [ on the second server ]

 5) Created an http load balancer instance : loadbal1

 I am able to deploy a test application across the cluster in a single
deployement.
I could use help with the following..

  1) The heart beat address is 228.8.7.9 . Is it possible to change the
multicast configuration?.

  2) Load balancer configuration .
     a) I have the test application Enabled & LB enabled and deployed
as a web application.
     b) I have the httpd.conf file with the mod-jk.conf ( and the
mode-jk.so in the modules ).
    c) I have the workers.properties but I need some help how to set the
ports and the descriptors involved .



I have been following thse documentation. but for some reason the mod-jk is
not communicating with the instances.
I can reach the instances separately and the apache separately but I can't
reach the cluster through the mod-jk.
I have the instances listening to the port 38080 & 38081
and the load balancer to the port 39000
workers.conf is set for 8009 and 8010.

Could you tell me how to synch all these port look up between the instances
and the mod-jk?

Thanks