-
-
Save Karm/c0e4bcca1230bcf204e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
MemManagerFile "/tmp/httpd/cache/mod_cluster" | |
<IfModule manager_module> | |
Listen 999.1.88.9:6666 | |
LogLevel debug | |
<VirtualHost 999.1.88.9:6666> | |
ServerName 999.1.88.9:6666 | |
<Location /> | |
Order deny,allow | |
Deny from all | |
Allow from all | |
</Location> | |
KeepAliveTimeout 60 | |
MaxKeepAliveRequests 0 | |
ServerAdvertise on | |
AdvertiseFrequency 5 | |
ManagerBalancerName qacluster | |
AdvertiseGroup 224.0.5.9:23364 | |
EnableMCPMReceive | |
CreateBalancers 0 | |
<Location /mcm> | |
SetHandler mod_cluster-manager | |
Order deny,allow | |
Deny from all | |
Allow from all | |
</Location> | |
</VirtualHost> | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Listen 999.1.88.9:2081 | |
<VirtualHost *:2081 > | |
ServerName 999.1.88.9:2081 | |
ProxyRequests Off | |
ProxyPreserveHost On | |
LimitRequestFieldSize 20480 | |
ProxyIOBufferSize 21504 | |
ProxyPass / balancer://qacluster/ | |
ProxyPassReverse / balancer://qacluster/ | |
<Location /> | |
Allow from all | |
</Location> | |
<Location /balancer-manager> | |
SetHandler balancer-manager | |
Allow from all | |
</Location> | |
<Proxy balancer://qacluster> | |
BalancerMember ajp://999.1.88.9:8009/ route=jboss-eap-6.1 | |
BalancerMember ajp://999.1.88.9:8110/ route=jboss-eap-6.1-2 | |
ProxySet lbmethod=byrequests | |
ProxySet stickysession=JSESSIONID|jsessionid | |
</Proxy> | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:modcluster:1.1"> | |
<mod-cluster-config excluded-contexts="tses, /, ROOT, manager, docs, examples, host-manager, admin-console, invoker, jbossws, jmx-console, juddi, web-console" advertise-socket="modcluster" connector="ajp"> | |
<dynamic-load-provider> | |
<load-metric type="busyness"/> | |
</dynamic-load-provider> | |
</mod-cluster-config> | |
</subsystem> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment