understanding and managing websphere v5 tony higham fatwire software

27
Understanding and Managing WebSphere V5 Tony Higham FatWire Software

Upload: belinda-carter

Post on 23-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

Understanding and Managing WebSphere V5

Tony HighamFatWire Software

Page 2: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

2

What We’ll Cover …

• Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture

• Managing WebSphere

• Understanding WebSphere performance

Page 3: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

3

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

Page 4: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

4

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

Page 5: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

5

What We’ll Cover …

• Understanding WebSphere

Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture

• Managing WebSphere

• Understanding WebSphere performance

Page 6: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

6

WAS V5 Packaging

WebSphere Application Server Express

WebSphere Application Server

WebSphere Application Server Network Deployment

WebSphere Application Server Enterprise Edition

Page 7: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

7

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 usersWAS 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

Page 8: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

8

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

Page 9: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

9

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

Page 10: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

10

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

Page 11: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

11

What We’ll Cover …

• Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture

• Managing WebSphere

• Understanding WebSphere performance

Page 12: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

12

WAS Express Architecture

Administrator's Console

Web Browser

HTTP

WebSphere Node

HTTP

HTTPS

Embedded HTTP Server

Application Server

ccJSP

JavaServlet

JSPEngine

Admin Svc

ConfigurationRepository(XMLFiles)

ApplicationDatabase

HTTPS

Page 13: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

13

WAS Base Architecture

Administrator's Console

Web Browser

HTTP

ConfigurationRepository(XMLFiles)

HTTP Server

HTTPHTTPS

ApplicationDatabase

WebSphere Node

WebSpherePlug-In

Application Server

ccJSP

JavaServlet EJB

JSPEngine

HTTP

HTTPS Admin Svc

Embedded HTTP Server

Page 14: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

14

WAS Network Deployment Architecture

Administrator's Console

Web Browser

HTTP Server

WebSpherePlug-In

WebSphere Cell

Admin Node

MasterRepository(XMLFiles)

Embedded HTTP Server(Port 9080)

DeploymentManager

Admin Svc

Node 1Embedded

HTTP Server(Port 9080)

Node Agent

Admin Svc

App Server 1

App Server 2Admin Svc

Admin Svc

ConfigurationRepository(XMLFiles)

EmbeddedHTTP Server(Port 9081)

Node 2Embedded

HTTP Server(Port 9080)

Node Agent

Admin Svc

App Server 3

App Server 4Admin Svc

Admin Svc

ConfigurationRepository(XMLFiles)

EmbeddedHTTP Server(Port 9081)

Page 15: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

15

What We’ll Cover …

• Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture

• Managing WebSphere

• Understanding WebSphere performance

Page 16: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

16

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

Page 17: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

17

What We’ll Cover …

• Understanding WebSphere Understanding WebSphere V5 packaging Understanding WebSphere V5 architecture

• Managing WebSphere

• Understanding WebSphere performance

Page 18: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

18

• 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

Measuring WebSphere Performance

Page 19: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

19

• 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

Understanding WebSphere Resources

Where to

FIND it

Page 20: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

20

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

Page 21: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

21

• 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

Analyzing WebSphere Performance

Tools

Page 22: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

22

• 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

Understanding Tivoli Performance Viewer

Functionality

Page 23: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

23

• 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

Issue

Tivoli Performance Viewer Pros and Cons

Page 24: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

24

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

Page 25: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

25

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

Issue

Page 26: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

26

Live Q&A with Tony Higham

You may submit your questions at any time.

Page 27: Understanding and Managing WebSphere V5 Tony Higham FatWire Software

27

Thank you

Thank you for your participation!

Did you like this webcast?

Send us your feedback on this eventand ideas for other event topics

at [email protected].