如何为jboss eap 6.1做mod_cluster或mod_jk集群

时间:2016-06-24 13:21:20

标签: java apache jboss-eap-6 mod-jk mod-cluster

我在同一台机器上有两个不同端口的jboss节点,我安装了apache服务器,并在apache / conf / httpd.conf中配置了mod_cluster,如下所示:

<VirtualHost *:8000>
 <Directory>
 Order deny,allow
 Allow from all
 </Directory>
<Location /mod_cluster_manager>
    SetHandler mod_cluster-manager
    Order deny,allow
    Allow from all
</Location> 
</VirtualHost>

您能否帮助我在jboss eap standalone-ha.xml 和任何其他配置文件中配置我需要的其他内容?

1 个答案:

答案 0 :(得分:0)

在配置文件中指定apache服务器详细信息:

子系统xmlns =“urn:jboss:domain:modcluster:1.2”&gt; mod-cluster-config proxy-list =“10.10.10.10:6666”advertise =“false”connector =“ajp”&gt;

在standalone-ha.xml中添加proxy-list属性,以包含httpd的mod_cluster listen ip set: