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

您可能感兴趣的

Application Gateway WAF, does it Load Balance? I was recently working on a project in which we where using an Application Gateway with WAF to send traffic to certa...
CNCERT:CVE-2018-2894 WebLogic远程上传漏洞说明... CVE-2018-2894WebLogic远程上传漏洞说明 CNCERT持续对广泛使用的知名开源软件和商业软件进行安全缺陷分析和漏洞检测。前期发现 Oracle 公司出品的基于JavaEE结构的中间件WebLogic产品存在一个...
The causes of Weblogic deployment – Error cr... I am using Hibernate 4, Spring 3 , JSF 2.0 and Weblogic 10.3.6 When I start weblogic server and server starts successf...
Oracle WebLogic Exploit Used in Cryptocurrency Min... PeopleSoft and WebLogic app servers, as well as cloud systems using WebLogic, hacked and used to net some $226K in digit...
Jean-Jerome Schmidt: New Tutorial: MySQL & Mar... Severalnines is pleased to announce the launch of our new tutorial Database Load Balancing for MySQL and MariaDB with ...