0% found this document useful (0 votes)
139 views8 pages

Websphere Application Server V6: Packaging and Architecture - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . 1

This document contains an overview and instructions for installing, configuring, and managing WebSphere Application Server V6 and its components. It discusses the standalone and network deployment packages, profiles, clustering, high availability, workload management, and session persistence. The document is divided into multiple parts and chapters covering topics such as installation, configuration, verification, administration, and more.

Uploaded by

Pradu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views8 pages

Websphere Application Server V6: Packaging and Architecture - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . 1

This document contains an overview and instructions for installing, configuring, and managing WebSphere Application Server V6 and its components. It discusses the standalone and network deployment packages, profiles, clustering, high availability, workload management, and session persistence. The document is divided into multiple parts and chapters covering topics such as installation, configuration, verification, administration, and more.

Uploaded by

Pradu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Contents

PART I:
Chapter 1:

Introduction
WebSphere Application Server V6: Packaging and Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Standalone Application Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 IBM HTTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 WebSphere V6 Plug-in for HTTP Server. . . . . . . . . . . . . . . . . . . . . . . . . 10 Architectures Possible with the Base/Express Package. . . . . . . . . . . . . . 11 Network Deployment Package: A Cell of Application Servers. . . . . . . . 13 Profiles Supported in the Network Deployment Package . . . . . . . . . . . . 14 Architectures Possible with the Network Deployment Package . . . . . . . 16 WebSphere Application Server V6: New Features . . . . . . . . . . . . . . . . . 20 Installation and Configuration Overview . . . . . . . . . . . . . . . . . . . . . . 25 The HA/WLM Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Step 1: Verify Youre Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Step 2: Perform Pre-Installation Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Chapter 2:

Contents

Step 3: Create, Configure, and Verify the Deployment Manager Profile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Step 4: Create, Configure, and Verify the Application Server Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Step 5: Create, Configure, and Verify the Custom Profile . . . . . . . . . . . 34 Step 6: Federate Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Step 7: Install, Configure, and Verify IBM HTTP Server . . . . . . . . . . . . 37 Step 8: Install the Distributed Remote Plug-in . . . . . . . . . . . . . . . . . . . . 38 Step 9: Create and Configure the Horizontal Cluster . . . . . . . . . . . . . . . 41 Step 10: Enable and Configure Highly Available Persistent Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Step 11: Configure HTTP Session Persistence . . . . . . . . . . . . . . . . . . . . 43 Step 12: Create and Configure the SIBus and Messaging Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Step 13: Install, Configure, and Verify Edge Server Load Balancer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

PART II:
Chapter 3:

Single Node Installation and Configuration


WebSphere V6 Standalone Application Server: Install, Configure, and Verify . . . . . . . . . . . . . . . . . . . . . . . . . 51 Installation Essentials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Installing WebSphere Application Server V6 Using the Base/Express Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Understanding the WebSphere Standalone Application Server Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . 64 Verifying the Standalone Application Server Installation . . . . . . . . . . . . 66 Configuring the Service Integration Bus and Enabling the Messaging Engine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Creating Multiple Application Server Profiles . . . . . . . . . . . . . . . . . . . . 73 Logging: Problem Determination and Troubleshooting . . . . . . . . . . . . . 78 Working with the Standalone Application Server . . . . . . . . . . . . . . . 89 Managing the Application Server Profile Environment . . . . . . . . . . . . . 89 Upgrading an Existing WebSphere V6 Product. . . . . . . . . . . . . . . . . . . . 94 Adding a New Feature to an Existing Installation. . . . . . . . . . . . . . . . . . 96 The PlantsByWebSphere Application . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Backup and Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

Chapter 4:

vi

Contents

Uninstalling WebSphere Application Server . . . . . . . . . . . . . . . . . . . . . 102 Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Chapter 5: IBM HTTP Server V6: Install, Configure, Verify, and Manage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Installing IBM HTTP Server V6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Verifying the HTTP Server Installation . . . . . . . . . . . . . . . . . . . . . . . . . 118 Understanding the IBM HTTP Server V6 Directory Structure . . . . . . . 120 Managing IBM HTTP Server V6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Uninstalling IBM HTTP Server V6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Logging: Problem Determination and Troubleshooting . . . . . . . . . . . . 126 Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Installing and Configuring Multiple HTTP Servers on the Same Machine. . . . . . . . . . . . . . . . . . . . . . . . . 133 IBM HTTP Server V6 Plug-in for WebSphere V6: Install, Configure, Verify, and Manage . . . . . . . . . . . . . . . . . . . . . . . 137 The Local Plug-in Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Installing IBM HTTP Server V6 Local Plug-in for WebSphere . . . . . . 139 Understanding the Plug-in Directory Structure . . . . . . . . . . . . . . . . . . . 147 Verifying the Plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 The Remote Plug-in Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 Installing IBM HTTP Server V6 Remote Plug-in for WebSphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Logging: Problem Determination and Troubleshooting . . . . . . . . . . . . 163 Configuring Multiple Web Servers with Multiple Application Server Profiles . . . . . . . . . . . . . . . . . . . . . . . . . 170 Backup and Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Uninstalling the Plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Silent Installation of the WebSphere HTTP Plug-in . . . . . . . . . . . . . . . 178

Chapter 6:

PART III: High Availability, Workload Management, Scalability, and Session Management
Chapter 7: WebSphere V6 Network Deployment Package: Install, Create, Verify, and Manage . . . . . . . . . . . . . . . . . . . . . . . . . . 183 Install WebSphere V6 Network Deployment Package: Product Binaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184

vii

Contents

Create a Deployment Manager Profile . . . . . . . . . . . . . . . . . . . . . . . . . 194 Create an Application Server Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Create a Custom Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Chapter 8: WebSphere V6 Network Deployment: Federation of Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 Pre-Federation Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Federating a Node from the Deployment Managers Admin Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 Federating a Node from the Application Servers Command Prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 Create the Application Server on the Custom Profile Node After Federation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Application Invocation in a Network Deployment Environment . . . . . 248 Managing a Cell of Application Servers . . . . . . . . . . . . . . . . . . . . . . . . 249 Logging During Federation of Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . 252 IBM HTTP Server V6 Distributed Plug-in for WebSphere V6: Install, Configure, Verify, and Manage . . . . . . . . . 255 Distributed Plug-in Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Prerequisites to Understanding and Performing Distributed Plug-in Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 Distributed Local Plug-in Managed Node . . . . . . . . . . . . . . . . . . . . . 259 Distributed Local Plug-in Unmanaged Node . . . . . . . . . . . . . . . . . . . 265 Distributed Remote Plug-in Managed Node. . . . . . . . . . . . . . . . . . . . 269 Distributed Remote Plug-in Unmanaged Node . . . . . . . . . . . . . . . . . 274 Configuring the Web Server Definition Manually from the Deployment Managers Admin Console . . . . . . . . . . . . . . . 279 WebSphere Application Server V6 Network Deployment: Vertical and Horizontal Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . 285 Request Processing in a Clustered Environment . . . . . . . . . . . . . . . . . . 285 Create and Configure a Vertical Cluster . . . . . . . . . . . . . . . . . . . . . . . . 287 Create and Configure a Horizontal Cluster . . . . . . . . . . . . . . . . . . . . . . 300

Chapter 9:

Chapter 10:

viii

Contents

Chapter 11:

WebSphere V6 Network Deployment: HTTP Session Persistence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 Memory-to-Memory Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 Database Session Persistence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Installing DB2 and Creating the Session Database . . . . . . . . . . . . . . . . 334 Service Integration Bus and High Availability Manager . . . . . . . . . 337 Configure a Highly Available Messaging Engine . . . . . . . . . . . . . . . . . 338 High Availability Manager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 Configure Highly Available Persistent Service . . . . . . . . . . . . . . . . . . . 348 WebSphere V6 Load Balancer Edge Component: Install, Configure, Verify, and Manage . . . . . . . . . . . . . . . . . . . . . . . 353 Installing the Load Balancer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 Configure Rule-Based Load Balancing . . . . . . . . . . . . . . . . . . . . . . . . . 390 Content-Based Load Balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397 Load Balancer High Availability: Configure, Verify, and Manage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 Configure Load Balancer High Availability . . . . . . . . . . . . . . . . . . . . . 414 Configure WebSphere Dynamic Caching . . . . . . . . . . . . . . . . . . . . . 435 Snoop Servlet Behavior Without Dynamic Cache. . . . . . . . . . . . . . . . . 437 Task 1: Configure the Application Server and Enterprise Application to Use Dynamic Cache. . . . . . . . . . . . . . . . . . . . . . . . . . 438 Task 2: Configure the Plug-in File and Application Server to Push Cached Content to the ESI Processor . . . . . . . . . . . . 447 Task 3: Pushing Dynamic Content to the Edge Servers Caching Proxy Component . . . . . . . . . . . . . . . . . . . . . . . . . 454 Overview of Cluster-Aware Dynacache Object Caching (Cache Replication) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462 Install, Configure, and Verify the Caching Proxy Server . . . . . . . . . . . 463

Chapter 12:

Chapter 13:

Chapter 14:

Chapter 15:

PART IV: Security


Chapter 16: Enabling WebSphere Application Server Security . . . . . . . . . . . . . . 469 Configuring Security Using the Sample Custom Registry . . . . . . . . . . 470

ix

Contents

Configuring Security Using the Local Operating System Registry . . . 482 Enabling WebSphere Security Using an LDAP Registry . . . . . . . . . . . 488 Replacing the Default Digital Certificate Store Files . . . . . . . . . . . . . . 498 Admin Roles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 Chapter 17: IBM Tivoli Directory Server Installation and Configuration . . . . . 515 Install ITDS V6 for Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516 Create a Small Directory Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528 Working with LDAP Interchange Format Files. . . . . . . . . . . . . . . . . . . 543 Creating SSL Artifacts for IBM Tivoli Directory Server . . . . . . . . . . . 546 Configure IBM Tivoli Directory Server to Allow SSL Connections . . 551 Basic Troubleshooting of ITDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 Secure Sockets Layer Configuration and Verification . . . . . . . . . . . 559 Configuring SSL for IBM HTTP Server . . . . . . . . . . . . . . . . . . . . . . . . 561 Importing a Public Certificate into a Browser. . . . . . . . . . . . . . . . . . . . 570 Configuring SSL Between the HTTP Server Plug-in and the Application Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584 Configuring SSL Between the Plugin and the Web Container . . . . . . . 592 Configuring SSL Between WebSphere and IBM Tivoli Directory Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598

Chapter 18:

PART V:
Chapter 19:

Deployment and Management


Installing Product Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 WebSphere Application Server Updates in a Nutshell . . . . . . . . . . . . . 607 Detailed Guide to Updating WebSphere Application Server. . . . . . . . . 608 Detailed Guide to Updating IBM HTTP Server . . . . . . . . . . . . . . . . . . 615 Detailed Guide to Updating the HTTP Server Plug-in . . . . . . . . . . . . . 617 Detailed Guide to Updating the Load Balancer. . . . . . . . . . . . . . . . . . . 620 Registering and Running WebSphere Processes as Windows Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627 Register WebSphere Processes as Windows Services . . . . . . . . . . . . . . 628 Securing Argument Values in the Registry by Encoding. . . . . . . . . . . . 633 Managing WebSphere Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634 Removing WebSphere Processes from the Windows Services Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635

Chapter 20:

Contents

Chapter 21:

Service Integration Bus Web Services Enablement . . . . . . . . . . . . . 637 Web Services Without SIBWS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 SIBWS Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653 Managing the WebSphere V6 Environment . . . . . . . . . . . . . . . . . . . 655 WebSphere V6 Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655 Collector Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668 First Failure Data Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676 Log Analyzer and showlog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677 Heap Dump Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 BackupConfig Archive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684 Restore Config Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686 Performance Monitoring Using Tivoli Performance Viewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687 Obtaining WebSphere Version Information . . . . . . . . . . . . . . . . . . . . . . 689 Verbose Garbage Collection and Class Loader . . . . . . . . . . . . . . . . . . . 690 Dump Name Space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694 J2EE Packaging, Enhanced EARs, and the Application Server Toolkit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 J2EE Packaging at a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 The Enterprise Application Development Process . . . . . . . . . . . . . . . . 707 Manually Install WebSphere Bank. . . . . . . . . . . . . . . . . . . . . . . . . . . 717 Verify the Existence of the J2C Resource Adapter . . . . . . . . . . . . . . . . 718 Create the J2C Authentication Alias . . . . . . . . . . . . . . . . . . . . . . . . . . . 718 Create the JDBC Provider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719 Create the Data Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720 Create the SIBus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723 Create an SIBus Member for the SIBus . . . . . . . . . . . . . . . . . . . . . . . . 723 Create the SIB JMS Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726 Create the SIB Queue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727 Create the SIB JMS Activation Specification . . . . . . . . . . . . . . . . . . . . 729 Verify That the SIB Service for the Application Server Is Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730

Chapter 22:

Chapter 23:

Chapter 24:

xi

Contents

Chapter 25:

WebSphere Rapid Deployment (WRD) . . . . . . . . . . . . . . . . . . . . . . . 731 Invoking WRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731 Deploying Applications with WRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732 WebSphere V6 System Management Using the J2EE Management API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743 Creating a Custom Java Administrative Client . . . . . . . . . . . . . . . . . . . 749 Extending WebSphere Administration with Custom MBeans. . . . . . . . 761 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767

Chapter 26:

Appendix

xii

You might also like