Load balancing problem on cluster EJB calls in Weblogic

综合编程 2018-02-16 阅读原文

Our Application has 2 Clusters running in Weblogic 12 C.

Each Cluster 4 Managed Servers. Cluster B is making EJB Call to Cluster A through Foreign JNDI . In Cluster A EJB Calls are not distributing across the managed server ? This results in overload of One Server in Cluster A. We are using round robin load balancing in Cluster Configuration.

Can you tell me any other configuration we can make in our Weblogic to make ejb calls get load balanced ?

Regards, Sakumar

It's like you need to set your Foreign JNDI URL to specify all of the hosts in the cluster. It doesn't matter if the cluster is load balanced if the client keeps calling the same host.

Instead of this, which will direct all traffic to one host:

java.naming.provider.url = t3://server1:port1

Try using:

java.naming.provider.url = t3://server1:port1,server2:port2

EDIT

It sounds like the weblogic algorithm is not doing what you want, look at: https://docs.oracle.com/cd/E24329_01/web.1211/e24425/load_balancing.htm#CLUST180

Specifically - the round-robin algorithm cycles through a list of WebLogic Server instances in order
. So it's hitting the first server every time because that is the first in your list. I would recommend trying another algorithm or using an external load balancer

Hello, buddy!

责编内容by:Hello, buddy!阅读原文】。感谢您的支持!

您可能感兴趣的

重磅!GitHub 开源负载均衡组件 GLB Director... 8 日,GitHub 发布了开源负载均衡组件 GitHub Load Balancer Director(GLB) Director,GLB 是 GitHub ...
大型网站架构:负载均衡详解 编辑推荐: 本文来自于51cto.com,介绍了负载均衡原理,分类,算法,硬件负载均衡。 ...
Snapt Enhances Channel Program to Drive Partner Su... After significant success with its channel program, Snapt introduces new op...
新东方的负载均衡架构探索和实践 文由4月12日晚姜江,新东方运维工程师所做的技术分享整理而成。 姜江,一名伪SRE。十余年IT运维从业经历,早年在金融行业从事linux,AIX,Oracl...