JBOSS EAP6.4 and mod_cluster

泪湿孤枕 提交于 2019-12-06 16:41:51

Not sure about the apache configuration. But for JBoss you need to configure mod_cluster for the advertizing. The configuration for the JBoss server is described within the administration guide: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.4/html/Administration_and_Configuration_Guide/sect-Web_HTTP_Connectors_and_HTTP_Clustering.html

The cluster howto from the community documentation contains an example with apache and JBoss configuration: https://docs.jboss.org/author/display/AS72/AS7+Cluster+Howto

** I must use mod_cluster-1.2.x with JBOSS EAP 6.x

1. mod_cluster download

    http://mod-cluster.jboss.org/mod_cluster/downloads/1-2-6-Final-bin

2. unzip and install mod_cluster

    D:\httpd-2.2\bin>installconf.bat

3. edit httpd.conf

    127.0.0.1 -> local ip address
    (below image)

4.install EAP6.4

    download from http://www.jboss.org/products/eap/download/

    Nothing to configure.

5. run EAP6.4
requirements:
- balancing
- failover
- session replication
when using tcp for jgroups: at standalone-ha.xml (line:271 udp -> tcp )
<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="tcp">

standalone.bat -c standalone-ha.xml -b 192.168.0.10 -Djboss.node.name=node1
standalone.bat -c standalone-ha.xml -b 192.168.0.195 -Djboss.node.name=node2

-b x.x.x.x: EAP6.4 IP( for standalone-xx.xml)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!