-
1. Re: mod_cluster showing wrong node..
jfclere Nov 23, 2012 3:56 AM (in response to pragnyas)you must have crossed something :-( in the:
+++
<Location />
Order deny,allow
Deny from none
# Allow from 127.0.0
</Location>
+++
Use Deny from All and Allow just the IP of the AS nodes you want to see in mod_cluster httpd part.
-
2. Re: mod_cluster showing wrong node..
pragnyas Nov 23, 2012 8:40 AM (in response to jfclere)Now am getting
Not Found
The requested URL /mod_cluster-manager was not found on this server.
this is my mod_cluster config
############### mod_cluster Setting - STARTED ###############
LoadModule slotmem_module modules/mod_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
# MOD_CLUSTER_ADDS
# Adjust to you hostname and subnet.
<IfModule manager_module>
Listen *:1080
ManagerBalancerName bad-ass-cluster
<VirtualHost *:1080>
<Location />
Order deny,allow
Deny from none
# Allow from 127.0.0
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
AdvertiseFrequency 5
EnableMCPMReceive
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from 192.168.200.95
</Location>
</VirtualHost>
</IfModule>
############### mod_cluster Setting - ENDED ###############
-
3. Re: mod_cluster showing wrong node..
pragnyas Nov 23, 2012 9:02 AM (in response to pragnyas)However I found this config http://middlewaremagic.com/jboss/?cat=26
LoadModule slotmem_module modules/mod_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
Listen *:1080
<VirtualHost *:1080>
<Directory />
Order deny,allow
Allow from all
</Directory>
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Allow from all
</Location>
KeepAliveTimeout 60
ManagerBalancerName mycluster
ServerAdvertise On
</VirtualHost>
############### mod_cluster Setting - ENDED ###############
and with this config am getting.. and not showing up my local Jboss node even
mod_cluster/1.2.0.Final
Auto Refresh show DUMP output show INFO output
-
4. Re: mod_cluster showing wrong node..
inspector Nov 23, 2012 11:44 AM (in response to pragnyas)I think that is because newer mod_cluster versions need to explicitely enable receivement Mod Cluster Protocol Messages for specific VirtualHosts: EnableMCPMReceive
Some information about your network situation would be useful, as mod_cluster uses multicast to advertise its existence to the JBoss servers.
-
5. Re: mod_cluster showing wrong node..
pragnyas Nov 26, 2012 8:49 AM (in response to inspector)That worked , Thanks you