mod_proxy_balancer、mod_jk、および mod_cluster を一緒に使用することはできますか?
Issue
- httpd をロードバランサーとして使用しています。はじめは、別のアプリケーションサーバーに mod_proxy_balancer を使用していました。
ProxyPreserveHost On
ProxyPass /app balancer://balancer stickysession=JSESSIONID|jsessionid nofailover=On
ProxyPassReverse /app balancer://balancer
<Proxy balancer://balancer>
BalancerMember http://127.0.0.1:8080/app route=server1
BalancerMember http://127.0.0.1:8180/app route=server2
</Proxy>
- その後、JBoss サーバーに mod_cluster モジュールを追加すると、以下のようなエラーが表示されました。
Module mod_proxy_balancer is loaded it must be removed in order for mod_proxy_cluster to function properly
- mod_cluster を使用している場合は、httpd の mod_proxy_balancer モジュールをコメント化する必要があります。
- 以前の mod_proxy_balancer 設定の機能を維持するにはどうしたら良いですか?
mod_proxy_balancerとmod_clusterを一緒に使用するにはどうしたら良いですか?- JBoss EAP 5 および JBoss EAP 6 を Apache httpd サーバーと一緒に使用するように設定するには、mod_jk、mod_proxy、mod_cluster のどれを使用することが推奨されますか?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- Red Hat JBoss Enterprise Web Server(EWS)
- mod_cluster
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
