beautypg.com

Test the configuration – Apple Mac OS X Server v10.3 User Manual

Page 52

background image

Test the Configuration

Follow these steps to make sure that client requests are balanced among the application servers:

1.

Start the Web service in the web-server computer.

2.

Start the application server in each of the application-server computers and run the following
commands on both:

$ cd /Library/JBoss/Logs
$ tail -f localhost_access.log

3.

In the web-server computer, connect to

http:///petstore/index.jsp

. The first

node should show a log entry similar to this:

17.203.255.255 - - [26/Sep/2003:15:56:58 -0800] "GET /petstore/index.jsp HTTP/1.1"
200 2769

4.

Now, access the same URL from another computer. You should see a log entry in the second
node.

52

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