Load Balancing Server in IBM Websphere

I am using websphere network deployment. I wrote an application that deploys on two different nodes in the same cell. Now I want to load the balance of two servers with a sticky session option. Is there a way to create a load balancing server in a websphere environment? Have I seen an option called on-demand routing equal to load balancing? Your help is greatly appreciated. Btw I am using websphere 8.5.x. thanks.

+6
source share
2 answers

Yes, the On Demand Router is a native load balancer for the WebSphere cell. Then you simply use the weight function to control the distribution of queries.

Weight settings - In the administrator’s console, go to "Servers> Clusters> [your cluster type]> [your cluster name]", then in the "Advanced Properties" section, click "Cluster Members".

Set your "configured weight" to a value, and then ripplestart the cluster (or cycle separately). Please note: the "weight of the working environment" takes effect immediately, but reset is configured to weight each time the server starts.

Requests are distributed by a simple formula: (member weight X) / (sum of all element weights)

therefore, if server A has a weight of 20 and server B has a weight of 1, then server A should receive 20 / (20 + 1) or 95.3% of all requests.

In your case, just set them to the same weight.

+4
source

The simplest HTTP load balancer is the included Apache-based Web server (IHS) and WAS WebServer Plug-in. Network deployment also includes a low-level IP snoop to securely manage a cluster of web servers.

+2
source

All Articles