Oracle Audio Technologies 9i manual Load Balancing, Load-Balancing with Cookies

Models: 9i

1 140
Download 140 pages 57.75 Kb
Page 69
Image 69

Configuring the Personalization Portal for Load-Balancing

5.5 Load Balancing

When multiple instances are running, load balancing can be performed by a separate machine. For example, there could be several Oracle HTTP Server instances, each with a set of JServ instances balanced on a one-to-many basis by this machine. The Oracle HTTP Server instances can perform load balancing by using a hardware load balancer in front of the Oracle HTTP Server instances.

The main purpose of multiple JVM support in Wireless Edition is to provide scalability through load-balancing. There are three implementations when setting up load-balancing.

Load-balancing among Oracle HTTP servers through hardware load-balancing.

Load-balancing among Jserv instances with cookies.

Load-balancing among Jserv instances with URL rewriting.

5.5.1 Load-Balancing with Cookies

When intermediate gateways or proxies and the clients support cookies, load balancing can be achieved using cookies:

1.Set the enable.http.session.binding parameter in all of the System.properties files (on all machines, if more than one machine is involved) to true.

2.In the ORACLE_HOME\Apache\JServ\conf\zone.properties file set the session.useCookies parameter to true.

5.5.2Load Balancing Through URL Rewriting

When intermediate gateways or proxies do not support cookies, load balancing can be achieved through URL rewriting:

1.Set the enable.http.session.binding parameter in all of the System.properties files (on all machines, if more than one machine is involved) to true.

2.In the ORACLE_HOME\Apache\JServ\conf\zone.properties file set the session.useCookies parameter to false.

5.6Configuring the Personalization Portal for

Load-Balancing

This section describes the configuration of the Personalization Portal in two environments:

Multiple JVM Support and Load Balancing 5-9

Page 69
Image 69
Oracle Audio Technologies 9i manual Load Balancing, Configuring the Personalization Portal for Load-Balancing