Workload Management (WLM) Overview and Problem Determination

Similar documents
How WLM routing and HA Manager work together in WebSphere Application Server ND

Advanced Integration Services In IBM Business Process Manager

Ask the Experts JNDI Naming configuration and problem determination

Packaging and Deploying Java Based Solutions to WebSphere Message Broker V7

Ask the Experts. Understanding HA Manager, WLM and ORB in WebSphere Application Server. 06 October IBM Software Group

Troubleshooting Tips and Hints for WebSphere JDBC Adapter

Understanding the WASService with the WASServiceCMD Tool in WebSphere Application Server

IBM WebSphere Transformation Extender for the Absolute Beginner

Troubleshooting and Resolving Issues with the Intelligent Management Plugin

WebSphere Application Server V7.0 Centralized Installation Manager

Simplifying Migrations with the WebSphere Application Server Migration Toolkit

Getting Started with WebSphere MQ Message Bindings in WebSphere Process Server and WebSphere Enterprise Service Bus

Configuration Migration for WebSphere Application Server

Troubleshooting IBM Business Monitor

WebSphere Enterprise Service Bus (ESB): Developing Complex Scenarios Simply

BPM 7.5 Deployments and Troubleshooting

Insights into WebSphere Process Server Tracing

Application Editioning in WebSphere 8.5

WebSphere Flat File Adapter V7.5 - What's New?

WebSphere Application Server 6.1 Virtual member manager

WebSphere Data Interchange 3.3 Installation / Migration for Multiplatform

Understanding ClassLoaders WebSphere 5.1, 6.0 and 6.1

Understanding WebSphere Business Monitor Failed Events Manager

Understanding Flexible Management in WebSphere Application Server V7

Robert Boretti Advisory Software Engineer

Migrating from JRules to Operational Decision Manager

WebSphere MQ Serviceability: Solving Problems Effectively

Troubleshooting of SIB Messaging Engine Failover Problems in a Clustered Environment

Team Support and Versioning with ClearCase and CVS in WebSphere Business Modeler V7

Troubleshooting SCA Problems in WebSphere Process Server Open Mic

Using SSL to Connect to a WebSphere Application Server with a WebSphere MQ Queue Manager

Ask the Experts MQ Clustering Gotchas! Avoiding Cluster Administration Errors

How to Successfully Set Up the WebSphere ILOG Rule Team Server

Best Practices for memory management in Cast Iron 7.X

Best Practices for WebSphere Application Server Product Updates

Monitoring DataPower with ITCAM for SOA, ITCAM Agent for DataPower, and WAMC

WebSphere MQ Clustering New Features in MQ V7.1 / V Distributed

Diagnosing z/os Communications Server TCP/IP storage growth and storage abends

Script Libraries in WebSphere Application Server V7

Ask the Experts DataPower Topics on Networking, MQFTE, Regular Expressions, DataPower Timeouts and ODBC Technologies

An Overview of WebSphere MQ Telemetry and How to Utilize MQTT for Practical Solutions

IBM WebSphere MQ Problem Determination Queue Manager Diagnostics

DataPower integration with Multi-instance MQ Queue Managers

WebSphere Partner Gateway v6.2.x: EDI TO XML Transformation With FA

WebSphere MQ Triggering Concepts and Problem Determination

New System Management Components in WebSphere Application Server V7

Debugging and trouble-shooting techniques for WebSphere Application Server start/stop issues in V6.0 / V6.1

WebSphere Integration Developer v Mediation Module

WEBSPHERE APPLICATION SERVER

WebSphere Transformation Extender Utility Commands (Part III)

Troubleshooting WebSphere Process Server: Integration with LDAP systems for authentication and authorization

Introduction to Customizing the WebSphere Commerce Data Service Layer

Security Improvements on Cast Iron

WebSphere Data Interchange (WDI) for z/os - Converting from a DB2 DBRM Based Plan to a DB2 Package Based Plan

Tivoli Software Support. Tips for getting the best out of IBM: How to leverage support

The team that wrote this redbook

Upgrading to IBM WebSphere Portal and Web Content Manager V8.5

Monitoring DataPower revisited: ITCAM for SOA 7.2, ITCAM Agent for DataPower 7.1, and WAMC 5.0

Using the CPSM WUI for Problem Determination in a CICSplex

Service Level Build Level CF

WebSphere Application Server - Overview

Debugging CSQJ160I Long-Running Unit of Work found Message

Installing WDI v3.3 on z/os

Best Practices for Installing WebSphere Application Server V7 Feature Packs

JVM Performance Tuning with respect to Garbage Collection(GC) policies for WebSphere Application Server V6.1 - Part 1

IBM Integration Bus v9.0 Introduction and What s new?

Exam Name: IBM Certified System Administrator - WebSphere Application Server Network Deployment V7.0

JBuilder EJB. Development Using JBuilder 4 and Inprise Application Server 4.1. Audience. A Step-by-step Tutorial.

WebSphere MQ Shared Queueing in a Coupling Facility Environment

Do-It-Yourself: WebSphere Commerce Problem Determination

IBM Support Technical Exchange. Agenda

Using IBM CPLEX Optimization Studio with MathWorks MATLAB

WebSphere System Architect Code Packaging and Deployment

z/os Introduction and Workshop WebSphere Application Server 2017 IBM Corporation

Using WebSphere DataPower SOA Appliance with the FTP Transport Protocol

WebSphere Transformation Extender Utility Commands (Part II)

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

IBM Exam IBM FileNet P8 V5.1 Version: 6.0 [ Total Questions: 126 ]

BEAAquaLogic. Service Bus. Interoperability With EJB Transport

IBM. WebSphere Application Server V5.0, Multiplatform Administration

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

EXAM IBM FileNet P8 V5.1.

Service Level Build Level cf

Troubleshooting Communication in WebSphere MQ

IBM. Enterprise Application Development with IBM Web Sphere Studio, V5.0

Processing Segmented Messages in DataPower using MQ V7

WebSphere Application Server V8.0 Technical Overview

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

IBM Session Manager for z/os: Collecting Diagnostics

WebSphere Application Server - Overview

High Availability for IBM FileNet Content Engine on WebSphere Application Server

WebSphere Plug-in Requests, Session Affinity, Load Balancing and Failover

2013 IBM Corporation IBM Advanced Technical Skills WBSR85. WebSphere Application Server z/os V8.5. Unit 6 - WOLA

Configuring an IBM Forms 8.0 Cluster using WebSphere Application Server v

IBM WebSphere Application Server v6

Inside WebSphere Application Server

WebSphere Migration Workshop Learn about the installation tools: IBM Installation Manager and Profile Management Tool (PMT)

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Accessing EJBs from.net using IBM WebSphere and JNBridgePro. Version 9.0

IBM C IBM FileNet P8 V5.1. Download Full Version :

Transcription:

IBM Software Group Workload Management (WLM) Overview and Problem Determination Paul Bullis WebSphere Support Technical Exchange

Agenda WLM Overview Types of Clients WLM Routing Common WLM Problems Diagnosing Routing Problems Routing Patterns WLM Exceptions and Meanings Other Factors Summary WebSphere Support Technical Exchange 2

WLM Overview Two types of Workload Management (WLM) in WebSphere Application Server Web Server Plug-In WLM Enterprise Java Bean (EJB) WLM Discussed in this presentation EJB WLM balances WLM enabled RMI/IIOP requests between clients and clusters JNDI Lookups EJB creates EJB business methods EJB removes WebSphere Support Technical Exchange 3

Type of Clients Types of clients that support EJB WLM AppServers hosting client application WebSphere managed Application clients Stand alone JavaTM clients Requires IBM SDK and WLM jars in classpath WebSphere Support Technical Exchange 4

WLM Routing Routing is based on weights associated with cluster members Round Robin routing when weights are equal Weights can be modified to send more requests to a particular cluster member or members More Information about WLM routing from the v6.1 Information Center http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.nd.m ultiplatform.doc/info/ae/ae/crun_srvgrp.html If the client is on the same physical box as the cluster, the Prefer Local setting will ensure that all requests from the client go to the local cluster member WebSphere Support Technical Exchange 5

Common WLM Problems Commonly reported problems to Support EJB requests not load balanced between cluster members Uneven routing No requests sent to a particular member NO_IMPLMENT errors No Available Target No Cluster Data Available Forward Limit Reached/Retry Limit Reached WebSphere Support Technical Exchange 6

Diagnosing Routing Problems 1. Gather ORB/WLM tracing on client where routing problem occurs (ORBRas=all:WLM*=all) 2. Find all of the three parameter getconnection() lines (Example below) 3. Determine if the host/port (Red) for each similar operation (Blue) are rotating between the cluster members [3/27/08 11:01:34:671 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) WebContainer : 0 method entry: host=bullis1.austin.ibm.com port=1329 clientdelegate=ior:00bdbdbd00000022524d493a656a62732e574c4d546573743a303 0303030303030303030303030303000bdbd0000000100000000000001dc000102bd00000 01662756c6c69732e61757374696e2e69626d2e636f6d0023900000006f4a4d424900000 0126ec064d237373065656330363464326432636330000000240000004b49454a5002015 5b702bd0b74657374436c757374657203454a420000002dacac000200010122000000574 c4d546573745f636c757374657223574c4d454a422e6a617223574c4d54657374bd00000 00c000000010000001400bdbdbd0501000100000000000101000000000049424d0a00000 00800bd00011500000200000026000000020002bdbd49424d04000000050005020102bdb dbd0000001f0000000400bd0003000000200000000400bd000149424d0b0000007f00000 004000c62756c6c697343656c6c3031000b74657374436c75737465720000000124c924c 8001562756c6c69732e61757374696e2e69626d2e636f6d2390000000370000000002000 b434c55535445524e414d45000b74657374436c7573746572000843454c4c4e414d45000 c62756c6c697343656c6c303100000000bd000000030000002000bdbdbd0000001662756 c6c69732e61757374696e2e69626d2e636f6d00239049424d04000000050005020102bdb dbd0000001f0000000400bd0003000000200000000400bd0001000000250000000400bd0 003 operationname=whichserver WebSphere Support Technical Exchange 7

Diagnosing Routing Problems contd. Example of proper routing between cluster members (clientdelegate IOR removed) [3/27/08 11:02:50:703 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) host=bullis1.austin.ibm.com port=1329 operationname=whichserver [3/27/08 11:02:50:734 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) host=bullis2.austin.ibm.com port=1327 operationname=whichserver [3/27/08 11:02:50:796 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) host=bullis1.austin.ibm.com port=1329 operationname=whichserver [3/27/08 11:02:50:828 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) host=bullis2.austin.ibm.com port=1327 operationname=whichserver [3/27/08 11:02:50:859 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) host=bullis1.austin.ibm.com port=1329 operationname=whichserver [3/27/08 11:02:50:890 CDT] 00000036 ORBRas 3 com.ibm.ws.orbimpl.transport.wstransport getconnection(profile, ClientDelegate, operationname) host=bullis2.austin.ibm.com port=1327 operationname=whichserver WebSphere Support Technical Exchange 8

Diagnosing Routing Problems contd. WLM trace points Keyword Unexpected Trace point to indicate things that should not be happening popserverforinvocation() Selected cluster member target printed during trace exit Can be used to confirm WLM routing [3/27/08 11:02:03:765 CDT] 00000036 SelectionMana < popserverforinvocation Exit {CELLNAME=bullisCell01, CLUSTERNAME=testCluster} : [[[[ProcessDescriptionImpl#1688364194{CELLNAME=bullisCell01, MEMBERNAME=clustermember1, NODENAME=bullisNode01}]{}] available:0 reachable:0 leaf:true version:]nil:nil] WebSphere Support Technical Exchange 9

Diagnosing Routing Problems contd. setobservedweight() Used to decrement weight of cluster member during request routing Check to ensure maximum observed weight is n- 1 of the configured value for the cluster member [3/27/08 11:02:51:078 CDT] 00000036 RouterMediato > setobservedweight Entry {CELLNAME=bullisCell01, CLUSTERNAME=testCluster} {CELLNAME=bullisCell01, MEMBERNAME=clustermember1,NODENAME=bullisNode01} 1 [3/27/08 11:02:51:078 CDT] 00000036 RouterMediato 3 ObservedWeight: 1 [3/27/08 11:02:51:078 CDT] 00000036 RouterMediato < setobservedweight Exit WebSphere Support Technical Exchange 10

Diagnosing Routing Problems contd. Next steps if requests are not being routed properly Check the configured Weights for each cluster member under Servers > Clusters > NAME > Cluster Members Check for a static routing table in the cluster config directory on the target EJB cell: <PROFILE_ROOT>/config/cells/cell_name/clusters/cluster_name/cluster_nam e.wsrttbl Check the Prefer Local setting for the cluster if the client and cluster member receiving all the requests are on the same host WebSphere Support Technical Exchange 11

Routing Patterns Consider the following code snippet... ctx = new InitialContext(env); WLMTestHome home = (WLMTestHome) PortableRemoteObject.narrow(ctx.lookup("ejb/ejbs/WLMTestHome"), WLMTestHome.class); WLMTest bean = home.create(); String servername = bean.whichserver(); bean.remove() There are 4 WLM calls in the code above (JNDI Lookup, EJB Create, EJB Method, EJB Remove) If there were two cluster members in the cluster with the same weight, the following routing would occur Member1 JNDI Lookup Member2 EJB Create Member1 - EJB Method Member2 - EJB Remove If this same rotation continued, the EJB method call would always occur on Member1 Solution: Ensure that the number of WLMable requests is not the same as the number of cluster members. Alternatively, cache the EJB create and only perform the EJB method call during each request WebSphere Support Technical Exchange 12

WLM Exceptions CORBA.NO_IMPLEMENT: No Cluster Data Occurs on a Nodeagent Indicates that the process does not have WLM data for the target cluster and is unable to gather any Next Steps: Check HA Manager configuration to ensure Nodeagent is in the same core group. If HA config is correct, gather ORB/WLM trace on both client and Nodeagent CORBA.NO_IMPLEMENT: No Available Target Occurs on Nodeagents and clients WLM attempted to route a request, but based on the current cluster data, there was not a target which would be able to service that request Next Steps: Check for known APARs at your WebSphere version (most common problem fixed). Gather ORB/WLM traces on client and Nodeagent if no solution found WebSphere Support Technical Exchange 13

WLM Exceptions contd. CORBA.NO_IMPLEMENT: Forward Limit Reached and CORBA.NO_IMPLEMENT: Retry Limit Reached Occurs on a Nodeagent (Forward Limit) or a client (Retry Limit) Error thrown when 10 consecutive errors occur while trying route a request Next Steps: Check for known APARs at your WebSphere version. Gather ORB/WLM traces on client and Nodeagent to determine what underlying exception is leading to the retries CORBA.TRANSIENT: SIGNAL_RETRY Occurs on a client The ORB attempts to send a request out to a target that WLM chooses and then never receives a reply whether the request was successful or not. Usually caused by CORBA.NO_RESPONSE exception Next Steps: Gather ORB/WLM trace on the client to determine where request was sent. Next, a trace should be gathered on the target server to determine why request did not complete. The client should retry the request if this exception is caught WebSphere Support Technical Exchange 14

Other Factors HA Manager HA Manager Service required to be enabled by WLM in v6 and v6.1 WLM uses information from the HA Manager Bulletin Board Check for DCS view exceptions or warnings in the SystemOut.log Check Core Group configuration EJB client, EJB cluster, and cluster Nodeagents should be in same core group WebSphere Support Technical Exchange 15

Other Factors contd. ORB Problems Base ORB part of SDK and layer under WLM Try latest SDK cumulative fixpack for your WebSphere version to rule out known defects Use ORB/WLM traces to determine if there is an underlying ORB exception leading to WLM problem WebSphere Support Technical Exchange 16

WLM Resources WLM Troubleshooting Guide Common exceptions and solutions http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg21250664 WLM Mustgather ORB/WLM tracing instructions http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg21052165 WebSphere Support Technical Exchange 17

Summary Discussed EJB WLM and how WLM routing works Learned about the types of requests that are workload managed Walked through the steps to diagnose routing problems using an ORB/WLM trace Reviewed an example of Pattern routing Talked about other factors affecting WLM routing WebSphere Support Technical Exchange 18

Additional WebSphere Product Resources Discover the latest trends in WebSphere Technology and implementation, participate in technically-focused briefings, webcasts and podcasts at: http://www.ibm.com/developerworks/websphere/community/ Learn about other upcoming webcasts, conferences and events: http://www.ibm.com/software/websphere/events_1.html Join the Global WebSphere User Group Community: http://www.websphere.org Access key product show-me demos and tutorials by visiting IBM Education Assistant: http://www.ibm.com/software/info/education/assistant View a Flash replay with step-by-step instructions for using the Electronic Service Request (ESR) tool for submitting problems electronically: http://www.ibm.com/software/websphere/support/d2w.html Sign up to receive weekly technical My support emails: http://www.ibm.com/software/support/einfo.html WebSphere Support Technical Exchange 19

Questions and Answers WebSphere Support Technical Exchange 20