当前位置:软件学习 > 其它软件 >>

(100分求救!急!急!急!)websphere6.1 + apache(2.0.52) :apache分发不均衡(请高手指教!万分感谢!!!)

结构:1台apache + 2台webserver
监控后,发现apache分发到web-htl-01的连接总数是backup-01的两倍。
如何实现apache分发的负载均衡,请高手指教!万分感谢!!!

plug-in文件中关于两个server的配置如下:
<ServerCluster CloneSeparatorChange="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="02_web_htl" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
      <Server CloneID="11pv13t4j" ConnectTimeout="90" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="web-htl-01-Node02_c02_hweb_s01" ServerIOTimeout="90" WaitForContinue="false">
         <Transport Hostname="web-htl-01" Port="8200" Protocol="http"/>
         <Transport Hostname="web-htl-01" Port="9444" Protocol="https">
            <Property Name="keyring" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
            <Property Name="stashfile" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
         </Transport>
      </Server>
      <Server CloneID="1216dgh83" ConnectTimeout="90" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="backup-01-Node02_c02_backup01_s03" ServerIOTimeout="90" WaitForContinue="false">
         <Transport Hostname="backup-01" Port="8200" Protocol="http"/>
         <Transport Hostname="backup-01" Port="9444" Protocol="https">
            <Property Name="keyring" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
            <Property Name="stashfile" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
         </Transport>
      </Server>
      <PrimaryServers>
         <Server Name="web-htl-01-Node02_c02_hweb_s01"/>
         <Server Name="backup-01-Node02_c02_backup01_s03"/>
      </PrimaryServers>
   </ServerCluster>
--------------------编程问答-------------------- 看看 --------------------编程问答-------------------- 接分先! --------------------编程问答-------------------- 有点难度哦 --------------------编程问答-------------------- --------------------编程问答-------------------- 建議從 httpd.conf 下手吧, 例如<VirtualHost> 或是 Proxy的設定可以達到你要的. --------------------编程问答-------------------- 分发不均衡,有难度.
补充:企业软件 ,  WebSphere
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,