user manual

Chapter 5: Web server to web container connectivity 47
Apache to Borland web container connectivity
Apache IIOP connector configuration
The Apache IIOP connector has a set of configuration files that you must
update with web server cluster information. By default, these IIOP connector
configuration files are located in:
<install_dir>/var/domains/<domain_name>/configurations/
<configuration_name>/mos/apache2/conf
The two configuration files are:
Note Modifying either of these configuration files can be done so without starting up
or shutting down the Apache web server(s) or CORBA server(s) because the
file is automatically loaded by the IIOP connector.
Adding new clusters
The WebClusters.properties file tells the IIOP connector:
The name of each available cluster - (ClusterList).
The web container identification.
Whether to provide automatic load balancing (enable_loadbalancing) for a
particular cluster.
To add a new cluster, in the WebClusters.properties file:
1 add the name of the configured cluster to the ClusterList. For example:
ClusterList=cluster1,cluster2,cluster3
2 define each cluster by adding a line in the following format specifying the
cluster name, the required webcontainer_id attribute, and any additional
attributes (see the following table, Cluster definition attributes on
page 60). For example:
<clustername>.webcontainer_id = <id> <attribute>
Table 5.4 Apache IIOP connection configuration files
IIOP configuration file Description
WebClusters.properties
Specifies the cluster(s) and the
corresponding web container(s) for each
cluster.
UriMapFile.properties
Maps URI references to the clusters
defined in the WebClusters.properties file.