![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/0/41/041f93a3-11a9-4d33-a74b-89372bd39d58/041f93a3-11a9-4d33-a74b-89372bd39d58-bg3d.png)
Load Balancing and Clustering (optional)
56 BEA AquaLogic Commerce Services Deployment Guide
$ {APACHE_HTTP_SERVER_SRC_DIR}/make install
• Setup SSL for the Apache server
o Create an SSL key and certificate
Refer to the article at
http://www.samspublishing.com/articles/article.asp?p=30115&seqNum=4
for instructions on how to do this.
o Copy the SSL key to APACHE_HOME/conf/, renaming the file to "server.key".
o Copy the SSL certificate to APACHE_HOME/conf/, renaming it to "server.crt".
• Apache Http Server Control
The following commands can be used to start and stop the Apache server. See the
documentation on the version of Apache that you downloaded for the full details of all
commands.
• Start with ssl enabled:
• {APACHE_HOME}/bin/apachectl startssl
•
• Stop:
• {APACHE_HOME}/bin/apachectl stop
Configuring Apache with WebLogic Apache Http Server Plug-in
This section explains how to setup Apache HTTP Server with WebLogic's Apache Http Server
Plug-in module to load balance a cluster of WebLogic 9.2 servers. See BEA's WebLogic 9.2
Apache HTTP Server Plug-In documentation at http://e-
docs.bea.com/wls/docs92/plugins/apache.html for more detailed instructions.
Load Balancing Setup with the WebLogic Apache HTTP Server Plug-
in
1. Setup the Apache WebLogic clustering configuration files
o Unzip the
Apache WebLogic cluster configuration file at
http://edocs.bea.com/alcs/docs51/pdf/apacheWebLogicClusterConfiguration.zip
(ZIP, 2KB) to APACHE_HOME/conf/ on the Apache server.
o Configure the values of the elements in the unzipped files weblogic.conf and ssl-
weblogic.conf to match your environment. The following are descriptions of the
elements in the files that will need to be configured:
APACHE_HOME The BEA Home directory where files common to
all BEA products are stored (eg.
/opt/httpd.2.0.52/)
APACHE_IP The IP address of the server hosting Apache
APACHE_MACHINE_NAME The descriptive machine name of the server
hosting Apache