Installation guide

Chapter 9. Advanced configuration
Read this chapter to configure advanced features of the JBoss HT TP Connector.
9.1. Static proxy configuration
Server advertisement allows worker nodes to dynamically discover and register themselves with proxy
servers. If UDP broadcast is not available or server advertisement is disabled then worker nodes must
be configured with a static list of proxy server addresses and ports.
Character Limitations on Proxy Node
Make sure your configuration definition meets the following character limits:
Maximum Alias length: 100 character (for example, if myapp.war is deployed in /myapp,
then/myapp is the context)
Maximum balancer name length: 40 (thebalancer property in mbean)
Maximum domain name length: 20 (thedomain property in mbean)
Task: Configure Applicat ion Platform Worker Node wit h St at ic Proxy List
Follow this task to configure a JBoss Enterprise Application Platform worker node to operate with a static
list of proxy servers.
Prerequisit es
JBoss Enterprise Application Platform worker node configured. Refer to Chapter 8, Install node with
basic configuration for directions.
1. Disable dynamic proxy discovery
Edit the file JBOSS_EAP_DIST/jboss-as/server/PROFILE/mod-cluster.sar/META-INF/mod-
cluster-jboss-beans.xml and set the advertise property to false:
<property name="advertise">false</property>
2. Choose, and implement, one of the following static proxy options:
A. Opt ion 1: Creat e a static proxy server list
Edit JBOSS_EAP_DIST/jboss-as/server/PROFILE/mod-cluster.sar/META-INF/mod-
cluster-jboss-beans.xml and add a comma separated list of proxies in the form of
IP_ADDRESS:PORT in the proxyList property.
Exa mple 9.1. Example St at ic Proxy List
<property
name="proxyList">10.33.144.3:6666,10.33.144.1:6666</property>
B. Opt ion 2: Start the worker node with a static proxy list as a para meter
a. Edit JBOSS_EAP_DIST/server/PROFILE/mod-cluster.sar/META-INF/mod-
cluster-jboss-beans.xml
b. Add the following line:
<property name="domain">${jboss.modcluster.domain:}</property>
c. Add a comma-separated list of proxies in the form of IP_ADDRESS:PORT as the
jboss.modcluster.proxyList parameter when starting the node.
Exa mple 9.2. Example St at ic Proxy List Paramet er
-Djboss.modcluster.domain=10.33.144.3:6666,10.33.144.1:6666
Task: Configure Web Server Worke r Node with Stat ic Proxy List
Follow this procedure to configure a JBoss Enterprise Web Server worker node to operate with a static
list of proxy servers.
Prerequisit es
JBoss Enterprise Web Server worker node configured. Refer to Chapter 8, Install node with basic
JBoss Enterprise Application Platform 5 HTTP Connectors Load Balancing Guide 33