
To make an application distributable set Distributable to yes in the Web-App pane of the application’s WebApp
window. Figure 5-1 shows the WebApp window of the petstore.ear archive.
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.
Balancing User Load and Replicating Sessions
Load Balancing and Clustering
2005-08-11 | Copyright © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
43
Kommentare zu diesen Handbüchern