Title
Configure load balancing with Web Cache in 5 minutes

Date
2008-06-12

Summary
These instructions describe how to quickly set up Web Cache in 5 minutes and configure load balancing on Windows.

Details
1. Install Oracle Web Cache 10.1.2 (wc101200_standalone_windows.zip).

2. After installation, confirm that the Web Cache server and Admin console are running. Ensure that the following services are running:
    - OracleWebCache_WebCache
    - OracleWebCache_WebCacheAdmin

3. Navigate to the Web Cache admin console, and login as administrator:
http://<hostname>:4000

4. Click on Site Definitions and note the Host Name and Port. This will represent the load balanced URL.
Example: http://oradev.com:80/

5. Add your target web servers. Repeat the steps below as many number of times as you have web servers:
    a. Click Origin Servers.
    b. Click Add.
    c. Enter values for:
        Hostname: your target web server hostname, example oradev1.com
        Port: your target web server port, example 7777
        Capacity: example 50
        Failover threshold: example 5
        Ping URL: a pingable URL, example http://oradev1.com:7777/index.html
        Ping interval: example 10
        Protocol: example HTTP
    d. Click Submit.

6. Delete the default Origin Server that is already there (which is installed by default).

7. Configure the site-to-server mapping:
    a. Click on Site-to-Server Mapping.
    b. Select the first entry, which is your Web Cache hostname, and click Edit Selected....
    c. Select all Application Web Servers that you just created, and click Submit.

8. Restart Web Cache and test:
    a. Click on Apply Changes on the top-right of the page.
    b. Click on Restart.
    c. Click on OK.
    d. Navigate to your load balanced URL and test: http://oradev.com:80/

Applicable Versions
Oracle Web Cache 10g (10.1.2.0.0) for Microsoft Windows

References
Oracle Application Server Web Cache Administrator's Guide 10g Release 2 (10.1.2) B14046-05
Ahmed Aboulnaga

.com .com