Installation guide
<VirtualHost IP_ADDRESS:PORT_NUMBER>
<Location />
Order deny,allow
Deny from all
Allow from PARTIAL_IP_ADDRESS
</Location>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ManagerBalancerName mycluster
AdvertiseFrequency 5
</VirtualHost>
IP_ADDRESS and PORT_NUMBER match the values from the Listen directive.
PARTIAL_IP_ADDRESS is the first 1 to 3 bytes of an IP address, to restrict access to a specific
subnet - 10.33.144, for example.
3. Configure SELinux to allow proxy t raffic
Enter the following commands as a root-equivalent user to modify the SELinux configuration to
allow the proxy traffic:
#semanage port -a -t http_port_t -p tcp 8079 #add port to the Apache port
list to enable the next command to work
#setsebool -P httpd_can_network_relay 1 #for mod_proxy to work
4. Opt ional: Disable Server Advertisement
The presence of the AdvertiseFrequency directive, which is set to five seconds here, causes
the server to periodically send server advertisement messages via UDP multicast.
These server advertisement messages contain the IP_ADDRESS and PORT_NUMBER specified in
the VirtualHost definition. Worker nodes that are configured to respond to server advertisements
use this information to register themselves with the proxy server.
To disable server advertisement, add the following directive to the VirtualHost definition:
ServerAdvertise Off
If server advertisements are disabled, or UDP multicast is not available on the network between
the proxy server and the worker nodes, you must configure worker nodes with a static list of proxy
servers. Refer to Section 9.1, āStatic proxy configurationā for directions.
5. Re start t he JBoss Enterprise Web Server Apache se rvice
Refer to the JBoss Enterprise Web Server documentation for detailed directions.
JBoss Enterprise Application Platform 5 HTTP Connectors Load Balancing Guide 29