Understanding and Managing WebSphere V5 Tony Higham FatWire Software
Understanding WebSphere What We’ll Cover … Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture Managing WebSphere Understanding WebSphere performance
The WebSphere software platform is an e-business solutions framework What Is WebSphere? WebSphere is not a product; it's a software platform that includes many products WebSphere Application Server, or WAS, is often referred to as WebSphere The WebSphere software platform is an e-business solutions framework IBM uses WebSphere and Domino to provide a runtime environment for its business solutions Business solutions include WebSphere Portal Server (WPS) WebSphere Commerce Suite (WCS) Mobile computing and more Note
WAS V5 implements J2EE 1.3 APIs with extensions What Does WebSphere Do? In this session the term WebSphere means the WebSphere Application Server product WAS provides a runtime environment for Java 2 Enterprise Edition (J2EE) applications J2EE defines a bunch of Java APIs for enterprise-level applications that are portable across application servers Includes Java servlets, Java Server Pages (JSPs), Enterprise JavaBeans (EJBs), and other J2EE APIs WAS V5 implements J2EE 1.3 APIs with extensions WebSphere business solutions (portal, commerce, etc.) are implemented as J2EE applications that run on WAS WAS also provides proprietary extensions to J2EE 1.3
Understanding WebSphere What We’ll Cover … Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture Managing WebSphere Understanding WebSphere performance
WAS V5 Packaging WebSphere Application Server Enterprise Edition WebSphere Application Server Network Deployment WebSphere Application Server WebSphere Application Server Express
WAS Express WAS Express contains development tools and a limited version of WebSphere Application Server Does not provide support for EJBs Supports a limited number of database products WAS Express has an embedded HTTP server that is built to handle a limited number of concurrent users WAS Express doesn’t support external HTTP servers and can’t be integrated with Domino WAS Express is designed for development, testing, and small pilot project activities only Great for building dynamic Web applications Lowest-cost entry-level WebSphere package Heads Up
WebSphere Application Server (WAS Base) WebSphere Application Server is commonly called WAS Base or just Base to differentiate it This session uses the terminology WAS Base WAS Base extends WAS Express with Full J2EE 1.3 support Support for a wide range of database products Support for external HTTP servers such as Domino WAS Base is designed for production systems that have a relatively low number of concurrent users Runs on a single server and has limited scalability Similar to WebSphere V4 Advanced Single-Server Tip
WAS Network Deployment WAS Network Deployment extends WAS Base with: Multi-server deployment for mission-critical applications Centralized administration model Servers can be clustered for high scalability Supports both load-balancing and failover to provide 24x7x365 operations for mission-critical applications Similar to WebSphere V4 Advanced Edition WAS Network Deployment includes WAS Base plus The Deployment Manager to configure and manage multiple instances of WebSphere on multiple servers Edge components that provide HTTP load balancing and Web page caching capabilities for enhanced scalability
WAS Enterprise Edition WAS Enterprise Edition provides proprietary extensions to the J2EE programming model Adds sophisticated application functions like workflow Provides application performance enhancements IBM uses these capabilities to add functionality and performance for its business solutions WebSphere Portal Server, WebSphere Commerce Suite IBM shares common services across business solutions and makes them available to their customers (at a price) These extensions can save development time, but applications are no longer portable to other J2EE application servers (vendor lock-in)! Caution
Understanding WebSphere What We’ll Cover … Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture Managing WebSphere Understanding WebSphere performance
WAS Express Architecture Web Browser WebSphere Node Application Server HTTP HTTPS c JSP JSP Engine Embedded HTTP Server Java Servlet HTTP Administrator's Console HTTPS Admin Svc Configuration Repository (XMLFiles) Application Database
Administrator's Console WAS Base Architecture Web Browser HTTP Server WebSphere Node HTTP Application Server WebSphere Plug-In c JSP JSP Engine HTTP HTTPS Embedded HTTP Server Java Servlet EJB HTTP Administrator's Console HTTPS Admin Svc Configuration Repository (XMLFiles) Application Database
WAS Network Deployment Architecture Web Browser WebSphere Cell HTTP Server Node 1 Embedded HTTP Server (Port 9080) Node Agent Admin Svc App Server 1 App Server 2 Configuration Repository (XMLFiles) (Port 9081) WebSphere Plug-In Administrator's Console Admin Node Embedded HTTP Server (Port 9080) Node 2 Embedded HTTP Server (Port 9080) Node Agent Admin Svc App Server 3 App Server 4 Configuration Repository (XMLFiles) (Port 9081) Deployment Manager Admin Svc Master Repository (XMLFiles)
Understanding WebSphere What We’ll Cover … Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture Managing WebSphere Understanding WebSphere performance
Typical WebSphere administration tasks Managing WebSphere Typical WebSphere administration tasks Starting and stopping WebSphere Creating and configuring application servers Creating and configuring virtual hosts Deploying WebSphere applications The tasks required to manage WebSphere are the same for all of the WebSphere packages But the way in which you execute the tasks differs significantly between WAS Base and WAS Network Deployment Caution
Understanding WebSphere What We’ll Cover … Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture Managing WebSphere Understanding WebSphere performance
Measuring WebSphere Performance All systems are limited by resources For example, cars are limited by fuel combustibility, engine size, transmission, tire type and size, etc. When the resources in any system are low, bottlenecks occur and performance is reduced To manage WebSphere effectively, you must understand how to monitor its resources Resources have data values that you use to determine their availability
Understanding WebSphere Resources WebSphere uses system resources such as memory, database connections, threads, etc. WebSphere resources are described in Chapter 15 of the Redbook “WebSphere V5.0 Performance, Scalability and High Availability” SG24-6198-00 Knowing what resources WebSphere uses and how to monitor those resources, you will: Understand and identify the underlying causes of performance issues in a WebSphere environment Know whether to tune WebSphere or ask the application developer to address a design issue Where to FIND it
Capturing the Performance Data Now that you know what to measure, you need to know how to capture the data Performance monitoring and analysis capabilities are built into WebSphere This feature is called the Performance Monitoring Infrastructure, or PMI PMI is embedded in the application server to capture performance data IBM provides tools for analyzing the data Great Feature
Analyzing WebSphere Performance To analyze performance, use tools that can store and display the data captured by PMI PMI makes performance data available PMI does not record or analyze the data IBM provides two tools for analyzing WebSphere performance Tivoli Performance Viewer Used to be called Resource Analyzer Performance monitoring servlet Tools
Understanding Tivoli Performance Viewer Tivoli Performance Viewer is a Java application that records and reports data captured by PMI This used to be called the Resource Analyzer in V4 Tivoli Performance Viewer is the most useful tool for analyzing WebSphere performance It helps you determine what resources are being used up and how best to tune It can record and play back performance issues to end users and developers Functionality
Tivoli Performance Viewer Pros and Cons Pros of Tivoli Performance Viewer Provides a full graphical user interface Generates charts that make the data easier to understand and analyze Contains the best analytical capabilities Cons of Tivoli Performance Viewer Uses the IIOP protocol, which may be blocked if the administration server is behind a firewall Requires a client-side install
Performance Monitoring Servlet The Performance Monitoring servlet is a Web-based alternative to Tivoli Performance Viewer Returns performance data in XML format Distributed with WebSphere, but you have to install it See Chapter 15 of “WebSphere V5.0 Performance, Scalability and High Availability” SG24-6198-00 Start the servlet with the URL http://host/wasPerfTool/servlet/perfservlet Where to FIND it
Performance Monitoring Servlet Pros and Cons Pros of the Servlet are Can be used to view performance data from anywhere with a Web browser Cons of the Servlet are Does not provide a graphical interface for navigating data items or creating charts Cannot store information in a log file for later analysis or playback
Live Q&A with Tony Higham You may submit your questions at any time.
Thank you for your participation! Did you like this webcast? Send us your feedback on this event and ideas for other event topics at webcast@SearchDomino.com.