How to configure Oracle Web Cache for load balancing How to verify that Oracle Web Cache is configured correctly for load balancing

Managing Discoverer in a Multi-Machine or Multi-Instance Environment 6-7 5. optional You might want to deploy a single centralized Discoverer Preferences component for more information, see Section 6.6, About the Discoverer Preferences component in a multiple-machine environment . 6. optional You might need to ensure that the tnsnames.ora file on each machine contains the same database names and aliases information for more information, see Section 6.7, About configuring the tnsnames.ora file in a multiple-machine environment .

6.5.1 How to configure Oracle Web Cache for load balancing

You can use Oracle Web Cache page in Fusion Middleware Control to configure load balancing for Web applications such as Oracle BI Discoverer. Note : Before you start, make sure you have the necessary components installed for more information, see Section 6.3, What are the prerequisites for using Oracle Web Cache to provide load balancing for Oracle BI Discoverer? . To configure Oracle Web Cache for load balancing: 1. Specify the origin servers for more information, see Specify Origin Server Settings in Oracle Fusion Middleware Administrators Guide for Oracle Web Cache. 2. Specify the site to server mapping for more information, see Map Site Definitions to Origin Servers in Oracle Fusion Middleware Administrators Guide for Oracle Web Cache. 3. Specify the session binding value for more information, see Configuring Session Binding in Oracle Fusion Middleware Administrators Guide for Oracle Web Cache. Note ■ The recommended values for some of the Origin Server settings are as follows: – Capacity: 100 – Failover Threshold: 5 – Ping URL: – Ping Frequency seconds: 10

6.5.2 How to verify that Oracle Web Cache is configured correctly for load balancing

You can verify that Oracle Web Cache is configured correctly for load balancing by confirming that Oracle BI Discoverer Web traffic is being routed to the correct machines. For example, you might want to confirm that Discoverer browser sessions connecting to: http:machine_a.company.com:80discovererviewer are routed to: http:machine_b.company.com:80discovererviewer or: http:machine_c.company.com:80discovererviewer To verify that Oracle Web Cache is configured correctly for load balancing: 6-8 Oracle Fusion Middleware Configuration Guide for Oracle Business Intelligence Discoverer 1. Start Oracle Web Cache for more information, see Section 6.5.1, How to configure Oracle Web Cache for load balancing . 2. From the Web Cache menu, click Administration, and Origin Server to display the Origin Server page. 3. Verify the status of the Oracle BI Discoverer middle tier machines to which you are distributing Discoverer Web traffic by confirming that: ■ The Origin Server Statistics table contains a row for each Oracle BI Discoverer middle tier machine For example, if you have Discoverer sessions running on machine_a and machine_b, the Origin Server Statistics contain a row for machine_a and a row for machine_b. ■ The application server port number is correct in the hostname column ■ The updown setting in the UpDown Time column setting is UP ■ The Active Sessions values should correctly reflect the number of Oracle BI Discoverer sessions running on each machine For example, if you have ten Discoverer sessions running on machine_a and machine_b, the Active Sessions-now column might contain the value 6 for machine_a and the value 4 for machine_b that is, ten sessions in total. ■ The Active Sessions values should indicate an even distribution of server requests between the Oracle BI Discoverer middle tier machines that is, according to how you have configured each machine in the Origin Servers page For example, if you have 100 Discoverer sessions running on machine_a and machine_b, the Active Sessions-now column might should reflect a similar number of sessions for each machine. Notes ■ For more information about using the Origin Server Statistics page, see Oracle Web Cache Manager Help. ■ You can also select the Health Monitor link in the Monitoring area of the Navigator Pane to see a summary of server requests served by the Oracle BI Discoverer middle tier machines. If Oracle Web Cache is configured correctly for load balancing, server requests are distributed evenly across the Discoverer middle-tier machines.

6.6 About the Discoverer Preferences component in a multiple-machine environment