IBM WebSphere Performance Pack: Web Content

Transcription

IBM WebSphere Performance Pack:Web Content Managementwith IBM AFS Enterprise File SystemMarco Pistoia, Tom Menner, Catherine Milligan, Bobby Gia PhamInternational Technical Support 0

International Technical Support OrganizationIBM WebSphere Performance Pack:Web Content Managementwith IBM AFS Enterprise File SystemOctober 1999SG24-5857-00

Take Note!Before using this information and the product it supports, be sure to read the general information in Appendix A,“Special Notices” on page 427.First Edition (October 1999)This edition applies to IBM AFS Enterprise File System, the File Sharing component of WebSphere PerformancePack Version 2, for use with the AIX, Solaris, and Windows NT operating systems.Comments may be addressed to:IBM Corporation, International Technical Support OrganizationDept. HZ8 Building 678P.O. Box 12195Research Triangle Park, NC 27709-2195When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any wayit believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1999. All rights reserved.Note to U.S Government Users - Documentation related to restricted rights - Use, duplication or disclosure is subject to restrictionsset forth in GSA ADP Schedule Contract with IBM Corp.

ContentsPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixThe Team That Wrote This Redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixComments Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xPart 1. AFS Enterprise File System Management and Administration . . . . . . . . . . . . . . . . . . . . . . .1Chapter 1. IBM WebSphere Performance Pack Concepts . . . . . . . . . . . . . . .31.1 AFS Enterprise File System in Distributed Computing Environments. . . . . .41.2 Caching and Filtering to Manage Internet Traffic and Bandwidth Demand . .51.3 Load Balancing and Server Monitoring Capabilities . . . . . . . . . . . . . . . . . .61.4 Building Record-Breaking Web Sites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71.5 What Is New in Version 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91.5.1 Quality of Service Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . .101.5.2 New ND Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101.5.3 New WTE Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111.5.4 New AFS Enterprise File System Function . . . . . . . . . . . . . . . . . . . .151.5.5 New Functions Available by Combining Components . . . . . . . . . . . .151.6 Who Can Benefit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171.6.1 Content Hosting Internet Service Providers . . . . . . . . . . . . . . . . . . . .171.6.2 Corporate Web Sites and Content Aggregators . . . . . . . . . . . . . . . . .181.6.3 Corporate Headquarters Buildings or Large Campuses . . . . . . . . . . .211.6.4 Backbone Internet Service Providers. . . . . . . . . . . . . . . . . . . . . . . . .211.6.5 Access Internet Service Providers . . . . . . . . . . . . . . . . . . . . . . . . . . .221.6.6 Access ISPs with Subscriber Home Page Hosting. . . . . . . . . . . . . . .231.7 Other IBM WebSphere Offerings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .231.7.1 IBM WebSphere Application Server . . . . . . . . . . . . . . . . . . . . . . . . .231.7.2 IBM WebSphere Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25Chapter 2. IBM AFS Enterprise File Systems Concepts .2.1 What Is New in Version 2? . . . . . . . . . . . . . . . . . . . . . .2.1.1 AFS 3.5 Server for Windows NT . . . . . . . . . . . . . .2.1.2 AFS 3.5 Control Center for Windows NT . . . . . . . .2.1.3 AFS Management with the Common Configuration2.2 Features of AFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.2.1 The Concept of an AFS Cell . . . . . . . . . . . . . . . . .2.2.2 Single File Name Space . . . . . . . . . . . . . . . . . . . .2.2.3 AFS Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.2.4 Replication and Caching . . . . . . . . . . . . . . . . . . . .2.2.5 Content Backup. . . . . . . . . . . . . . . . . . . . . . . . . . .2.2.6 AFS Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.3 Why Do I Need IBM AFS Enterprise File System? . . . .2.4 AFS and NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.5 Machine Responsibilities. . . . . . . . . . . . . . . . . . . . . . . .2.5.1 AFS Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.5.2 AFS Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.6 The AFS File System . . . . . . . . . . . . . . . . . . . . . . . . . .2.6.1 Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.6.2 Mount Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.6.3 Volume Location Database (VLDB) . . . . . . . . . . . .2.6.4 Caching. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copyright IBM Corp. 1999.Assistance 4.34.35.36.37.37iii

2.6.5 Callback Mechanism . . . . . . . . . . . . .2.6.6 Protecting AFS Files and Directories .2.7 AFS Commands . . . . . . . . . . . . . . . . . . . .2.8 AFS Authentication . . . . . . . . . . . . . . . . . .2.9 AFS Server Concepts . . . . . . . . . . . . . . . .2.9.1 Types of AFS Servers . . . . . . . . . . . .2.9.2 AFS Server Processes. . . . . . . . . . . .2.9.3 Local Directories . . . . . . . . . . . . . . . .2.10 AFS Client Concepts . . . . . . . . . . . . . . . .2.10.1 Client Responsibilities . . . . . . . . . . .2.10.2 Processes . . . . . . . . . . . . . . . . . . . .2.10.3 Local Directories . . . . . . . . . . . . . . .2.10.4 The @sys Variable . . . . . . . . . . . . .2.11 AFS Volume Concepts. . . . . . . . . . . . . . .2.11.1 Volume Headers . . . . . . . . . . . . . . .2.11.2 Types of Volumes . . . . . . . . . . . . . .2.11.3 Volume Traversal Rules . . . . . . . . . .2.11.4 Naming Suggestions . . . . . . . . . . . .2.12 How AFS Works . . . . . . . . . . . . . . . . . . .iv.37383839404041424444444445464647475051Chapter 3. AFS Installation and Configuration on AIX . . . .3.1 AIX System Requirements . . . . . . . . . . . . . . . . . . . . . . . . .3.1.1 Paging Space Allocation . . . . . . . . . . . . . . . . . . . . . .3.1.2 Name Resolution Service. . . . . . . . . . . . . . . . . . . . . .3.1.3 Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . .3.1.4 JRE Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.5 Disk Space Requirements on UNIX Systems . . . . . . .3.2 Configuring AFS Partitions on AIX Systems. . . . . . . . . . . .3.3 Installing AFS Files on AIX Systems . . . . . . . . . . . . . . . . .3.3.1 WebSphere AFS Directories . . . . . . . . . . . . . . . . . . .3.3.2 WebSphere AFS Configuration Script . . . . . . . . . . . .3.4 Configuring the First AFS Machine on AIX Systems . . . . .3.4.1 Using the WebSphere AFS Configuration Script . . . .3.4.2 Verifying the First AFS Machine Configuration . . . . . .3.5 Configuring an AFS File Server Machine on AIX Systems .3.5.1 Using the WebSphere AFS Configuration Script . . . .3.5.2 Verifying the AFS File Server Configuration . . . . . . . .3.6 Configuring an AFS Client Machine on AIX Systems . . . . .3.6.1 Using the WebSphere AFS Configuration Script . . . .3.6.2 Verifying the AFS Client Configuration . . . . . . . . . . . .3.7 Starting AFS at System Reboot on AIX Systems . . . . . . . .535354545757575962666768687579798789899294Chapter 4. AFS Installation and Configuration on Solaris4.1 Solaris System Requirements . . . . . . . . . . . . . . . . . . . . .4.1.1 Paging Space Allocation . . . . . . . . . . . . . . . . . . . . .4.1.2 Name Resolution Service. . . . . . . . . . . . . . . . . . . . .4.1.3 Network Connection. . . . . . . . . . . . . . . . . . . . . . . . .4.1.4 Time Synchronization . . . . . . . . . . . . . . . . . . . . . . .4.1.5 JRE Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.1.6 AFS Extensions to the Solaris Kernel. . . . . . . . . . . .4.1.7 Disk Space Requirements on Solaris Systems. . . . .4.2 Configuring AFS Partitions on Solaris Systems . . . . . . . .4.3 Installing AFS Files on Solaris Systems . . . . . . . . . . . . . . 97. 97. 97. 98. 98. 99100101101101107.IBM WebSphere Performance Pack: Web Content Management with IBM AFS Enterprise File System

4.3.1 WebSphere AFS Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.3.2 WebSphere AFS Configuration Script . . . . . . . . . . . . . . . . . . . . . .4.4 Configuring the First AFS Machine on Solaris Systems . . . . . . . . . . . . .4.4.1 Using the WebSphere AFS Configuration Script . . . . . . . . . . . . . .4.4.2 Verifying the First AFS Machine Configuration . . . . . . . . . . . . . . .4.5 Configuring an AFS File Server Machine on Solaris Systems . . . . . . . .4.5.1 Using the WebSphere AFS Configuration Script . . . . . . . . . . . . . .4.5.2 Verifying the AFS File Server Configuration . . . . . . . . . . . . . . . . .4.6 Configuring an AFS Client Machine on Solaris Systems . . . . . . . . . . . .4.6.1 Configuring AFS Client with WebSphere AFS Configuration Script4.6.2 Verifying the AFS Client Configuration . . . . . . . . . . . . . . . . . . . . .4.7 Starting AFS at System Reboot on Solaris Systems . . . . . . . . . . . . . . apter 5. AFS Installation and Configuration on Windows NT . . . .5.1 Windows NT System Requirements . . . . . . . . . . . . . . . . . . . . . . . . .5.1.1 Operating System Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.2 Page File Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.3 Name Resolution Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.4 Network Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.5 Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.6 JRE Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.7 Disk Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.2 Configuring AFS Partitions on Windows NT Systems . . . . . . . . . . . .5.3 Installing AFS Files on Windows NT Systems . . . . . . . . . . . . . . . . . .5.3.1 WebSphere AFS Program Group and Directories . . . . . . . . . . .5.3.2 WebSphere AFS Server Configuration Wizard . . . . . . . . . . . . .5.4 Configuring the First AFS Machine on Windows NT Systems . . . . . .5.4.1 Using the AFS Server Configuration Wizard . . . . . . . . . . . . . . .5.4.2 Verifying the First AFS Machine Configuration . . . . . . . . . . . . .5.5 Configuring an AFS File Server Machine on Windows NT Systems . .5.5.1 Using the AFS Server Configuration Wizard . . . . . . . . . . . . . . .5.5.2 Verifying the AFS File Server Configuration . . . . . . . . . . . . . . .5.6 Configuring an AFS Client Machine on Windows NT Systems. . . . . .5.6.1 AFS Client Configuration Control Panel. . . . . . . . . . . . . . . . . . .5.6.2 Mounting the AFS File System . . . . . . . . . . . . . . . . . . . . . . . . .5.6.3 Verifying the AFS Client Configuration . . . . . . . . . . . . . . . . . . .5.7 Configuring the AFS Control Center on Windows NT Systems . . . . .5.8 Starting AFS at System Reboot on Windows NT Systems . . . . . . . . Chapter 6. AFS Server Management . . . . . . . . . . .6.1 Starting the AFS Server Manager . . . . . . . . . . . .6.2 Managing AFS Server Processes . . . . . . . . . . . .6.2.1 Listing AFS Process Status . . . . . . . . . . . . .6.2.2 Stopping AFS Processes. . . . . . . . . . . . . . .6.2.3 Starting AFS Processes . . . . . . . . . . . . . . .6.2.4 Examining AFS Process Information . . . . . .6.2.5 Restarting AFS Processes . . . . . . . . . . . . .6.3 Managing AFS Partitions . . . . . . . . . . . . . . . . . .6.3.1 Creating AFS Partitions on Windows NT . . .6.3.2 Creating AFS Partitions on AIX and Solaris .6.3.3 Salvaging AFS Partitions. . . . . . . . . . . . . . .6.3.4 Removing an AFS Partition . . . . . . . . . . . . .6.4 Managing AFS Volumes . . . . . . . . . . . . . . . . . . 62.266.v

6.4.1 Examining AFS Mount Points. . . .6.4.2 Creating AFS Volumes . . . . . . . .6.4.3 Creating AFS Mount Points . . . . .6.4.4 Setting AFS Access Control Lists.6.4.5 Replicating AFS Volumes . . . . . .6.4.6 Releasing AFS Volumes . . . . . . .6.4.7 Moving AFS Volumes . . . . . . . . .6.5 UDP Ports Used by AFS . . . . . . . . . . .266273278285288293298301Chapter 7. AFS Client Management . . . . . . . . . . . . . .7.1 AFS Client Management for Windows NT . . . . . . . .7.1.1 Initial Steps of AFS Client Configuration . . . . .7.1.2 Mounting the AFS File System. . . . . . . . . . . . .7.2 AFS Client Management for AIX and Solaris . . . . . .7.3 Managing the AFS Client Cache . . . . . . . . . . . . . . .7.3.1 Setting the Client Cache Size . . . . . . . . . . . . .7.3.2 Flushing Cached Data . . . . . . . . . . . . . . . . . . .7.3.3 A Closer Look at AFS Cached Data Validation.7.4 Other AFS Client Issues . . . . . . . . . . . . . . . . . . . . .7.4.1 Determining Cell Membership . . . . . . . . . . . . .7.4.2 Examining and Setting Server Preferences . . .7.4.3 AFS Client Tuning . . . . . . . . . . . . . . . . . . . . . .303303303312318318319323324327327327332Chapter 8. AFS User Account Management . . . . . . . . . . . . . . . . . . . . . . .8.1 AFS Users on Windows NT Using the Account Manager . . . . . . . . . . . .8.2 AFS Users in AIX, Solaris and the Windows NT Command Prompt . . . .8.3 Managing AFS Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.1 How to Use the Windows NT Account Manager . . . . . . . . . . . . . . .8.3.2 AFS Groups in AIX, Solaris and Windows NT Command Prompt . .8.4 Managing Machine Accounts in AFS . . . . . . . . . . . . . . . . . . . . . . . . . . .8.4.1 Managing Machine Accounts on Windows NT . . . . . . . . . . . . . . . .8.4.2 Machine Accounts Management through the Command Line . . . . .8.5 AFS Authentication and Integrated Login . . . . . . . . . . . . . . . . . . . . . . . .8.5.1 AFS Integrated Login on AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.5.2 Interactions between the AFS Login and the AIX Login . . . . . . . . .8.5.3 AFS Integrated Login on Solaris . . . . . . . . . . . . . . . . . . . . . . . . . .8.5.4 AFS Integrated Login on Windows NT . . . . . . . . . . . . . . . . . . . . . .337338343345345350351352361362363365368368Part 2. WebSphere Performance Pack Component Integration . . . . . . . . . . . . . . . . . . . . . . . . . . 371Chapter 9. Content Based Routing . . . . . . . . . . . . .9.1 Installation of the CBR Function . . . . . . . . . . . . .9.1.1 Installation Locations . . . . . . . . . . . . . . . . . .9.2 Configuration of the CBR Function . . . . . . . . . . .9.3 CBR Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . .9.3.1 WTE Configuration Overview . . . . . . . . . . . .9.3.2 WTE Configuration File CBR Modifications .9.3.3 CBR Configuration . . . . . . . . . . . . . . . . . . . .9.3.4 CBR Manager and Advisors . . . . . . . . . . . . .9.3.5 Saving the Configuration . . . . . . . . . . . . . . .9.3.6 Scenario Results . . . . . . . . . . . . . . . . . . . . .9.4 WTE CacheByIncomingUrl Directive . . . . . . . . . .vi.IBM WebSphere Performance Pack: Web Content Management with IBM AFS Enterprise File System.373373374375376376377379387388389393

Chapter 10. Remote Cache Access10.1 How RCA Works . . . . . . . . . . . .10.2 Planning for RCA . . . . . . . . . . .10.3 RCA Scenario . . . . . . . . . . . . . .10.3.1 Scenario Implementation . .395.395.397.397.398Chapter 11. Peak Load Management . . . . . . . . . . . . . .11.1 How Peak Load Management Works. . . . . . . . . . . .11.2 Peak Load Management Scenario. . . . . . . . . . . . . .11.2.1 Dispatcher Configuration . . . . . . . . . . . . . . . . .11.2.2 Configuration of the WTE Proxy Servers . . . . .11.2.3 Testing the Peak Load Management Scenario.401.401.401.403.404.404Chapter 12. Common Configuration . . . . . . . . . . . .12.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12.1.1 Planning for the Installation . . . . . . . . . . . . .12.1.2 Installing the Common Configuration Utility .12.1.3 Remaining Installation Steps . . . . . . . . . . . .12.2 Preparing for the Common Configuration Utility. .12.3 Launching the Common Configuration Utility . . . .409.409.409.410.417.420.421.Appendix A. Special Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427Appendix B. Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B.1 International Technical Support Organization Publications. . . . . . . . . . . . . .B.2 Redbooks on CD-ROMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B.3 Other Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B.4 Referenced Web Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429429429429429How to Get ITSO Redbooks . . . . . .

International Technical Support Organization SG24-5857-00 IBM WebSphere Performance Pack: Web Content Ma