websphere application server v6: high availability websphere application server v6: high ... vi...

Download WebSphere Application Server V6: High Availability   WebSphere Application Server V6: High ... vi WebSphere Application Server V6: High Availability ... viii WebSphere Application Server V6: High Availability Solutions

Post on 28-Apr-2018

244 views

Category:

Documents

10 download

Embed Size (px)

TRANSCRIPT

  • ibm.com/redbooks

    WebSphere Application ServerNetwork Deployment V6:High Availability Solutions

    Birgit RoehmAdeline ChunWilliam Joly

    Tim KlubertanzLi-Fang Lee

    Hong MinYoshiki Nakajima

    Nagaraj NunnaTerry OBrien

    Kristi PetersonJens RathgeberMichael Schmitt

    WebSphere Handbook Series

    Explore WebSphere HA options

    Learn about external clustering solutions

    Front cover

    http://www.redbooks.ibm.com/http://www.redbooks.ibm.com/

  • WebSphere Application Server Network Deployment V6: High Availability Solutions

    October 2005

    International Technical Support Organization

    SG24-6688-00

  • Copyright International Business Machines Corporation 2005. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADPSchedule Contract with IBM Corp.

    First Edition (October 2005)

    This edition applies to IBM WebSphere Application Server Network Deployment V6.0.1.

    Note: Before using this information and the product it supports, read the information in Notices on page xiii.

  • Contents

    Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiiTrademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv

    Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvThe team that wrote this redbook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviBecome a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xixComments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix

    Part 1. High availability concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    Chapter 1. Understanding high availability concepts . . . . . . . . . . . . . . . . . 31.1 Process availability and data availability . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    1.1.1 Clustering for high availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51.2 Availability definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    1.2.1 Levels of availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.2.2 Availability matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101.2.3 Causes of downtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121.2.4 Possible single points of failure in the WebSphere system. . . . . . . . 131.2.5 HA technologies for WebSphere system components . . . . . . . . . . . 161.2.6 Levels of WebSphere system availability . . . . . . . . . . . . . . . . . . . . . 181.2.7 Planning and evaluating your WebSphere HA solutions. . . . . . . . . . 27

    1.3 Failover terms and mechanisms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

    Part 2. WebSphere clustering for HA and HA administration . . . . . . . . . . . . . . . . . . . . . . . 33

    Chapter 2. WebSphere Application Server failover and recovery . . . . . . 352.1 Introduction to availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

    2.1.1 Hardware-based high availability . . . . . . . . . . . . . . . . . . . . . . . . . . . 362.1.2 Workload management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362.1.3 Failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372.1.4 HAManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382.1.5 Session management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

    2.2 WebSphere Application Server clustering. . . . . . . . . . . . . . . . . . . . . . . . . 392.2.1 Clustering for scalability and failover. . . . . . . . . . . . . . . . . . . . . . . . . 40

    2.3 WebSphere workload management defined . . . . . . . . . . . . . . . . . . . . . . . 432.3.1 Distributing workloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442.3.2 Benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

    2.4 Managing session state among servers . . . . . . . . . . . . . . . . . . . . . . . . . . 452.4.1 HTTP sessions and the session management facility. . . . . . . . . . . . 46

    Copyright IBM Corp. 2005. All rights reserved. iii

  • 2.4.2 EJB sessions or transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482.4.3 Server affinity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

    2.5 Web container clustering and failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512.5.1 Session management and failover inside the plug-in . . . . . . . . . . . . 532.5.2 Web container failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552.5.3 Web server plug-in failover tuning. . . . . . . . . . . . . . . . . . . . . . . . . . . 56

    2.6 EJB container clustering and failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . 652.6.1 EJB container redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662.6.2 EJB bootstrapping considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . 672.6.3 EJB client redundancy and bootstrap failover support . . . . . . . . . . . 682.6.4 EJB types, workload management and failover . . . . . . . . . . . . . . . . 692.6.5 Stateful session bean failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732.6.6 WebSphere process failures, relationship to EJB processing. . . . . . 822.6.7 EJB WLM exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

    2.7 Backup cluster support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 872.7.1 Runtime behavior of backup clusters . . . . . . . . . . . . . . . . . . . . . . . . 882.7.2 Scenario and configuration description . . . . . . . . . . . . . . . . . . . . . . . 89

    2.8 WebSphere cell and cluster setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892.8.1 Security considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 912.8.2 Backup cluster configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 922.8.3 Core group bridge configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 932.8.4 Testing the backup cluster configuration. . . . . . . . . . . . . . . . . . . . . . 992.8.5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

    Chapter 3. WebSphere administrative process failures . . . . . . . . . . . . . 1033.1 Introduction to process failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1043.2 Deployment Manager failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

    3.2.1 Configuration management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063.2.2 Node Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073.2.3 Application server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073.2.4 Naming server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073.2.5 Security service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1083.2.6 Application clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1083.2.7 Synchronization Service and File Transfer Service . . . . . . . . . . . . 1083.2.8 RAS Service and PMI monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . 1083.2.9 Administrative clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1093.2.10 Enhancing Deployment Manager availability . . . . . . . . . . . . . . . . 110

    3.3 Node Agent failures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1113.3.1 Application servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1113.3.2 Deployment Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133.3.3 Security service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143.3.4 Naming server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143.3.5 Application clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

    iv WebSphere Application Server V6: High Availability Solutions

  • 3.3.6 Synchronization service and File transfer service. . . . . . . . . . . . . . 1153.3.7 RAS service, PMI and monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . 1153.3.8 Administrative clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163.3.9 Enhancing Node Agent availability . . . . . . . . . . . . . . . . . . . . . . . . . 116

    3.4 Restarting WebSphere processes as an OS service . . . . . . . . . . . . . . . 1173.5 Enhancing WebSphere process availability using clustering software . . 118

    Chapter 4. High availability system administration . . . . . . . . . . . . . . . . . 1214.1 Introduction to high availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

    4.1.1 System setup for the administration scenarios . . . . . . . . . . . . . . . . 1224.2 Starting or stopping application servers and the Web ser

Recommended

View more >