-
1. Re: Clustering issue JBoss with mod_cluster
jaysensharma Nov 26, 2015 5:38 AM (in response to sreekanth.munarai)Sreekanth,
Looks like either your "
proxy-list
=
"host:xxxx
" is not configured properly in your JBoss domain.xml means it might not be pointing to the apache host and port.(OR) Your apache might not be listening on the mentioned port. So try starting the apache and then from the JBoss host just try to telnet that host port of apache to see of you get connected or not.
telnet apacheHost Port
telnet 10.20.20.45 80
Also you can refer to the following article to see if the steps are followed correctly?
Using mod_cluster with JBoss AS 7.1 cluster Domain mode.
http://middlewaremagic.com/jboss/?p=2147
Regards
Jay SenSharma
-
2. Re: Clustering issue JBoss with mod_cluster
sreekanth.munarai Nov 27, 2015 4:52 AM (in response to jaysensharma)Jay,
Thanks for your suggestions. Please find the below configuration done in JBoss:
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
---
</virtual-server>
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config advertise-socket="modcluster" proxy-list="IP:10001" advertise="true" advertise-security-key="Dev_Cluster">
<dynamic-load-provider>
<load-metric type="busyness"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
Apache Configuration:
<IfModule manager_module>
Listen IP:10001
ManagerBalancerName mycluster
<VirtualHost IP:10001>
<Location />
Order deny,allow
Deny from all
Allow from SUBIP.
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
EnableMCPMReceive On
AllowDisplay On
#ServerAdvertise on http://@@MCMPIP@@:@@MCMPPORT@@
ManagerBalancerName other-server-group
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
#AdvertiseGroup @@ADVIP@@:23364
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from SUBIP
</Location>
</VirtualHost>
</IfModule>
NOTE: We are running Apache and JBoss master on same server.and yes i tried telnet, both ports are open(80 and 10001 )
Please advise.
Thanks
-
3. Re: Clustering issue JBoss with mod_cluster
sreekanth.munarai Nov 30, 2015 3:19 AM (in response to sreekanth.munarai)Any updates/ advises folks??got struck at same error!