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!阅读原文】。感谢您的支持!

您可能感兴趣的

Nginx负载均衡——扩展功能(NGINX Plus) 本文主要是介绍了NGINX Plus的相关功能,横跨了NGINX Plus R5/R6/R7/R9等各个不同版本的更新。 什么是NGINX Plus? ...
weblogic系列漏洞整理 — 2. weblogic弱口令... 一、weblogic安装 http://www.cnblogs.com/0x4D75/p/8916428.html 二、 weblogic弱口令 ...
43台应用交付助力新疆兵团法院实现高效的业务访问... 新疆生产建设兵团人民法院系统现设有三级43个人民法院,在全区13个地州市所在地的师设有13个中级人民法院,在农牧团场相对集中的垦区设有29个垦区人民法院和37个...
中大型网站架构演变之路 前言 网上有很多文章类似于我今天要分享的课程,有架构师写的,有运维写的,还有开发些的,偏重点都不同,今天我以咱们运维角度全面讲解。 一个成熟的网站架构并不是...
F5做负载均衡时,如何通过修改cookie查找敏感信息... F5 LTM做 负载均衡 时,有多种机制实现会话保持,其中常用的是通过修改cookie来实现。具体说来, F5 在获取到客户端第一次请求时,会使用set co...