beautypg.com

Load balancing and clustering, Enable load balancing in the web server, Figure 5-1 – Apple Mac OS X Server v10.3 User Manual

Page 48: The webapp window of the, Petstore.ear, Archive

background image

Figure 5-1

The WebApp window of the

petstore.ear

archive

Load Balancing and Clustering

Load balancing provides a way to distribute user load among application servers. Clustering enables
session failover when a node in a cluster becomes unavailable. Load balancing can be used with a
group of standalone application servers or with a cluster or application server or nodes. This section
describes a simple, three-computer setup in which one computer runs the web server and balances
user load among two application servers.

Start by stopping the Web service on the web-server computer and the application servers on the
nodes. Then follow the steps described in the following sections.

Enable Load Balancing in the Web Server

Follow these steps to configure a computer as the web server and load balancer for a deployment:

1.

Launch Server Admin, if it’s not already running.

2.

Select Web in the Computers & Services list, and click Settings in the configuration pane.

3.

Click the Modules tab and select “jk_module,” which is at the bottom of the modules list.

4.

Click the Sites tab.

48

Load Balancing and Clustering

2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.

C H A P T E R 5

Balancing User Load and Replicating Sessions