Modcluster finding other Nodes
isa154 May 5, 2014 6:23 AMHi All
I am using Wildfly-8.0.0-Final with modcluster. I had this setup working fine in my INT environment. Today I started moving to QA and when I started modcluster, it found my int environments contexts which I can confirm by looking at mod_cluster_manager pager. Also my INT environment picked up my QA contexts. How do I stop this from happening ?
Here is my Modcluster (1.1.1-2.el6) settings:
#
# This is mod_cluster module configuration file. Please refer to README
# for more information on how to enable mod_cluster.
LoadModule proxy_module modules/mod_proxy.so
LoadModule slotmem_module modules/mod_slotmem.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
CreateBalancers 1
<IfModule manager_module>
ListenHOSTNAME:9000
<VirtualHost HOSTNAME:9000>
#Services
ProxyPass /AccessControl/ balancer://mycluster/AccessControl/ nofailover=On
ProxyPassReverse /AccessControl/ balancer://mycluster/AccessControl/
ProxyPreserveHost On
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
</Location>
ManagerBalancerName mycluster
KeepAliveTimeout 300
MaxKeepAliveRequests 0
AdvertiseFrequency 5
ServerAdvertise On
#EnableMCPMReceive
#Log
ErrorLog "logs/mod_cluster_error_log"
CustomLog "logs/mod_cluster_access_log" common
LogLevel info
</VirtualHost>
</IfModule>
Here is my standalone.xml:
<mod-cluster-config advertise-socket="modcluster" proxy-list="HOSTNAME:9000" proxy-url="/" advertise="true" excluded-contexts="ROOT,invoker,jbossws,juddi,console" auto-enable-contexts="true" stop-context-timeout="10" socket-timeout="20" sticky-session="false" sticky-session-remove="false" sticky-session-force="false" worker-timeout="-1" max-attempts="1" flush-packets="false" flush-wait="-1" ping="10" smax="-1" ttl="-1" node-timeout="-1" connector="ajp"/> |