Installation guide
# The advanced router LB worker
worker.list=router,status
#First EAP server definition, port 8009 is standard port for AJP in EAP
#
#lbfactor defines how much the worker will be used.
#The higher the number, the more requests are served
#lbfactor is useful when one machine is more powerful
#ping_mode=A – all possible probes will be used to determine that
#connections are still working
worker.worker01.port=8009
worker.worker01.host=127.0.0.1
worker.worker01.type=ajp13
worker.worker01.ping_mode=A
worker.worker01.socket_timeout=10
worker.worker01.lbfactor=3
#Second EAP server definition
worker.worker02.port=8009
worker.worker02.host=127.0.0.100
worker.worker02.type=ajp13
worker.worker02.ping_mode=A
worker.worker02.socket_timeout=10
worker.worker02.lbfactor=1
# Define the LB worker
worker.router.type=lb
worker.router.balance_workers=worker01,worker02
# Define the status worker
worker.status.type=status
4. Re start t he server
Once your Sun Java System Web Server instance is configured, restart it so that your changes
take effect.
For Sun Java System Web Server 6.1:
SJWS/PROFILE/stop
SJWS/PROFILE/start
For Sun Java System Web Server 7.0:
SJWS/PROFILE/bin/stopserv
SJWS/PROFILE/bin/startserv
JBoss Enterprise Application Platform 5 HTTP Connectors Load Balancing Guide 65