cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE : 2 servers on 1 dispatcher

Former Member
0 Kudos
176

Hi All

I have a SAP J2EE running on a WAS 6.20 server. I added another J2EE server to the J2EE dispatcher in the Admin console but are struggling to configure load balancing between the 2 J2EE servers. Does anyone have any tips or URL's to documentation for me?

Kind Regards

Chris

Accepted Solutions (0)

Answers (2)

Answers (2)

iavor_petkov
Explorer
0 Kudos

Hi Chris,

If the second server is on a different machine than the dispatcher you should also make sure that

the property LocalLoadBalancing in <j2ee home>\cluster\dispatcher\managers\settings\ServiceManager.properties

is set to false like this :

LocalLoadBalancing=false

Otherwise the dispatcher redirects calls only to a local (residing on the same machine) server (if any).

Best Regards : Iavor

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Chris,

after adding a server everything should be working already. The dispatcher does load balancing automatically on a round robin basis. All you can do is to give machines a weight for this process. This is described in the Administration manual -> Administrating of SAP J2EE Engine 6.20 Cluster->Managing the load balancing.

Same (upper)chapter also describes what makes up the cluster and how to configure a cluster by hand.

Regards,

Benny