扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
When you use the WebLogicCluster
parameter in your httpd.conf
or weblogic.conf
file to specify a list of WebLogic Servers, the plug-in uses that list as a starting point for load balancing among the members of the cluster. After the first request is routed to one of these servers, a dynamic server list is returned containing an updated list of servers in the cluster. The updated list adds any new servers in the cluster and deletes any that are no longer part of the cluster or that have failed to respond to requests. This list is updated automatically with the HTTP response when a change in the cluster occurs.
试着关闭了DynamicServerList,重启apache,系统页面响应飞快。
我是这样认为的,WebLogic使用了round-robin affinity算法,同时关闭了DynamicServerList就意味着apache不再将请求路由到别的server上。
虚拟主机的配置如下:
<VirtualHost 192.168.0.8:9999>
ServerName 192.168.0.8:9999
DocumentRoot /CNC/
CustomLog "|/usr/local/sbin/cronolog /CNC/ApacheLog/bssCluster/%w/access_9999_log" combined
<IfModule mod_weblogic.c>
WebLogicCluster 192.168.0.17:8002,192.168.0.18:8004
MatchExpression *.jsp
MatchExpression *.htm
MatchExpression *.html
Idempotent ON
KeepAliveEnabled ON
DynamicServerList OFF
</IfModule>
</VirtualHost>
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者