简体   繁体   English

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

[英]how to do mod_cluster or mod_jk cluster for jboss eap 6.1

I have two jboss node in same machine with different port and I installed apache server and configured the mod_cluster in apache/conf/httpd.conf as below: 我在同一台机器上有两个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>

Could you please help me what else I need to configure in both jboss eap standalone-ha.xml and any other configuration file? 您能帮我在jboss eap standalone-ha.xml和其他任何配置文件中还要配置什么吗?

In configuration files specify apache server details: 在配置文件中,指定apache服务器详细信息:

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

Add the proxy-list attribute in the standalone-ha.xml to include httpd's mod_cluster listen ip set above: 在standalone-ha.xml中添加proxy-list属性,以包括上面httpd的mod_cluster listen ip设置:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM