-
1. Re: multiple Apache instances with mod_cluster using common binaries
jfclere Jul 21, 2011 1:50 AM (in response to dpalom)1 of 1 people found this helpful -
2. Re: multiple Apache instances with mod_cluster using common binaries
dpalom Jul 21, 2011 1:09 PM (in response to jfclere)Strange. That directive sure looks like what I was looking for, however it seems like it is being ignored. FWIW, I am using mod_cluster 1.0.4 GA but the docs show that directive is available for 1.0.X also. Maybe something else is wrong with my configs...
Apache server root is /env/atlas.bomba.dev/cust/apache/usr/.
The MemManager files are still showing up in /env/atlas.bomba.dev/cust/apache/usr/logs/ and not at the paths I am defining in each instance config.
configs for apacheA:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
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
<VirtualHost 10.199.128.222:18008>
<Directory />
Order deny,allow
Deny from all
#Allow from 10.199.128.
Allow from all
</Directory>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ManagerBalancerName eap-atlas0-LB
MemManagerFile /env/atlas.bomba.dev/cust/apache/http-eap-atlas-master-1/var/run/
AdvertiseFrequency 5
AdvertiseGroup 231.80.44.20
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
#Allow from 127.0.0.1
Allow from all
</Location>
</VirtualHost>
configs for apacheB:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
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
<VirtualHost 10.199.128.222:18010>
<Directory />
Order deny,allow
Deny from all
#Allow from 10.199.128.
Allow from all
</Directory>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ManagerBalancerName eap-atlas1-LB
MemManagerFile /env/atlas.bomba.dev/cust/apache/http-eap-atlas1-1/var/run/
AdvertiseFrequency 5
AdvertiseGroup 231.80.44.25
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
#Allow from 127.0.0.1
Allow from all
</Location>
</VirtualHost>
I know my Allows are wide open, just trying to get it to work before I ratchet that down.
-
3. Re: multiple Apache instances with mod_cluster using common binaries
jfclere Jul 22, 2011 1:50 AM (in response to dpalom)Don't put it in the VIrtualHost. I think that the problem.
-
4. Re: multiple Apache instances with mod_cluster using common binaries
dpalom Jul 25, 2011 3:41 PM (in response to jfclere)Moving the directive out of the VirtualHost block did stop the files from showing up under <server_root>/logs but the behavior I see in mod_cluster-manager is the same.
I updated the mod_cluster version to 1.0.10 GA and that seems to be working as I expected it to, no strange behavior.