0 Replies Latest reply: May 31, 2012 1:11 PM by Peter Troman RSS

Jboss 4.2.3 and IIS Load Balancing

Peter Troman Newbie

Hi.

 

I wonder if you might be able to help me. I need to implement load balancing for a particular JBoss solution by a third party vendor. The version of Jboss we are running is 4.2.3.

We have two jboss PC identically configured. We also have an IIS box which has the ISAPI redirector in place.

Each jboss installation has 4 Managed Servers (Server1 - 4) and 2 of these managed servers are setup for clustering as the other 2 managed servers have applications which cannot be clustered.

 

I have tested the ISAPI redirector against each Jboss machine and the redirector works fine.

 

What i'm now trying to work out is how to configure the worker.properties to allow load balancing and clustering between each of the machines and managed servers.

 

Below is my current worker.properties:

 

# Define list of workers that will be used

# for mapping requests

# Note worker list does not include the nodes

#worker.loadbalancer.type=lb

#worker.loadbalancer.balance_workers=Server1, Server2

#worker.loadbalancer.sticky_session=1

worker.list=Server1, Server2, Server4

#worker.status.type=status

# Define Node1

# modify the host as your host IP or DNS name.

worker.Server1.port=8009

worker.Server1.host=mid1.local

worker.Server1.type=ajp13

#worker.Server1.ping_mode=A

#worker.Server1.lbfactor=1

#worker.Server1.socket_timeout=10

# Define Node2

# modify the host as your host IP or DNS name.

worker.Server2.host=mid1.local

worker.Server2.port=8109

worker.Server2.type=ajp13

#worker.Server2.lbfactor=1

#worker.Server2.ping_mode=A

#worker.Server2.socket_timeout=10

worker.Server4.host=mid1.local

worker.Server4.port=8309

worker.Server4.type=ajp13

 

How would i add my MID2.local box which is my second Jboss box that is identically configured. Only Server1 and Server2 managed servers require load balancing and clustering. managed server 3 and 4 are stand alone.

 

Thank you for your help in advance.

 

Kind Regards

Peter