WebSphere Application Server V8 System Administration...

52
© 2011 IBM Corporation IBM Proof of Technology WebSphere Application Server V8 System Administration Update Discovering business application services, featuring IBM WebSphere Application Server ND V8

Transcript of WebSphere Application Server V8 System Administration...

Page 1: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology

WebSphere Application Server V8 System Administration Update

Discovering business application services, featuring IBM WebSphere Application Server ND V8

Page 2: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

2

Agenda

§ OSGi § Centralized Installation Manager § High Performance Extensible Logging (HPEL) § HA Features

Page 3: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

3

Agenda

§ OSGi § Centralized Installation Manager § High Performance Extensible Logging (HPEL) § HA Features

Page 4: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

How does OSGi help reduce cost?

§ Enforces architecture and simplifies maintenance § Enables modular deployment § Enables co-existence of multiple versions of libraries

– Simplifies independent evolution of applications – Better separation of concern between application and middleware

§ Enables truly dynamic update of modules within applications

4

Bundle

Bundle

Package

Class Class Class

Package

Class Class Class

Package

Class Class Class

Package

Class Class Class

Explicit exports

Explicit dependencies

Page 5: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

OSGi Bundles and Class Loading § OSGi Bundle – A jar containing:

– Classes and resources. – OSGi Bundle manifest.

§ What’s in the manifest: – Bundle-Version: Multiple

versions of bundles can live concurrently.

– Import-Package: What packages from other bundles does this bundle depend upon?

– Export-Package: What packages from this bundle are visible and reusable outside of the bundle?

§ Class Loading

– Each bundle has its own loader.

– No flat or monolithic classpath.

– Class sharing and visibility decided by declarative dependencies, not by class loader hierarchies.

– OSGi framework works out the dependencies including versions.

5

Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: MyService bundle

Bundle-SymbolicName: com.sample.myservice

Bundle-Version: 1.0.0

Bundle-Activator: com.sample.myservice.Activator

Import-Package: com.something.i.need;version=1.1.2

Export-Package: com.myservice.api;version=1.0.0

Page 6: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Declarative OSGi Services Using Blueprint

§ XML Blueprint definition describes component configuration and scope – Optionally publish and consume components to/from OSGi service registry. –  Standardizes established Spring conventions

§ Simplifies unit test outside either Java EE or OSGi r/t.

§  In WebSphere Application Server, the Blueprint DI container is a part of the

server runtime (compared to the Spring container which is part of the application.)

6

dependencies injected publishes service consumes

service

A static assembly and configuration of

components (POJOs)‏ Blueprint bundle

OSGI-INF/blueprint/ blueprint.xml

Page 7: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Blueprint Simplifies Service Dynamism

§ Dynamic service lifecycle is managed by the Blueprint container § Service reference injected by container

– service can change over time – can be temporarily absent without the bundle caring

7

e-Commerce

<blueprint> <bean id=”shop” class=”org.example.ecomm.ShopImpl”>

<property name=”billingService” ref=”billingService” /> </bean>

<reference id=”billingService” interface=”org.example.bill.BillingService” />

</blueprint>

Billing

<blueprint> <service ref=”service” interface =

”org.example.bill.BillingService” /> <bean id=”biller” scope=”prototype”

class=”org.example.bill.impl.BillingServiceImpl” /> </blueprint>

Page 8: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

How Do Enterprise Applications Use OSGi?

§ Enterprise OSGi focuses on application concerns including web technologies, fine-grained component assembly and access to persistence frameworks

– through exploitation of familiar Java EE technologies – in a manner suitable for a dynamic OSGi environment – using standards defined by the JCP and OSGi Alliance – introduces a multi-bundle Application archive

§ Enables enterprise Application containers and deployment systems to provide better support for:

– Sharing modules between applications – Multiple concurrent versions of modules – Dynamic update and extensions of applications

8

Application

Entities

Blueprint

Web components

<web.xml />

<persistence.xml/>

<blueprint.xml/>

Page 9: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

OSGi Applications in WebSphere Applications Server § OSGi has been used internally in WebSphere Application Server since V6.1

and in Eclipse since R3.

§ Application-level exploitation is introduced in the WebSphere Application Server V7 Feature Pack for OSGi Applications and JPA 2.0 http://www.ibm.com/websphere/was/osgi

– Focused on modular development, deployment and management –  Informed by experience gained in Apache Aries –  Introduced the Blueprint-standardization of Spring XML bean definition format –  Introduced web application bundles (Java EE 5 web technologies) –  Integration with SCA for heterogeneous assembly and remote services. – Basic supports for application update and extension

§ OSGi Application support enhanced in WAS V8

–  In-place application update and extension – Post-deployment configuration – Performance Metrics –  Integrates with Java EE 6 web technologies

§ Development Tools support in RAD V8 for both WAS V7 and WAS V8: http://www.ibm.com/software/awdtools/developer/application/index.html

9

Page 10: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

10

Dynamic Application Update of OSGi Apps

Application

Entities

Blueprint

Web components

<web.xml />

<persistence.xml/>

<blueprint.xml/>

APPLICATION.MF

§  Administratively preview new bundles before making updates §  In-place bundle update enables application to remain continuously available throughout the

update process

Page 11: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

11

Dynamic Application Extension of OSGi Apps

§  Administratively add new functionality to deployed applications

§  Well-designed extensions result in zero application down-time as extensions are added and removed

TradeManager

TradeAPI

Application

TradeProvider2 (Extension)

TradeProvider3 (Extension)

TradeProvider1 (Extension)

Page 12: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

12

No Java code changes; war modules -> bundles

Common, bundles may be easily factored out of the WARs and used at specific versions

Enhanced Modular Deployment Process

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

Bundle Repository

Import-Package

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

Page 13: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

13

No Java code changes; war modules -> bundles

Common, bundles may be easily factored out of the WARs and used at specific versions

Enhanced Modular Deployment Process

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

Bundle Repository

Import-Package

webA.jar WEB-INF/classes/servletA.class

WEB-INF/web.xml

META-INF/MANIFEST.MF

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

webA.war WEB-INF/classes/servletA.class

WEB-INF/web.xml

WEB-INF/lib/…

• Manage multiple versions of libraries across an enterprise • Isolate application

dependencies from the server runtime

• Centralized location to deliver critical fixes

• Flexibility to update to new versions one app

at a time

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

logging f/w jar

persistence f/w jar

MVC f/w jar

DI f/w jar

Page 14: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Bundle Repository for Modular Deployment

14

Page 15: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Isolated and Shared Bundles §  In Java EE, modules are isolated within an application and applications are

isolated from one another. – Makes sharing modules difficult

§  In OSGi all bundles have shared visibility to the externals of all others bundles within an OSGi framework (JVM)

– Makes isolating applications difficult

15

Java EE App Server

Everything isolated Everything shared

EAR 1

Module A

Module B

Module C

EAR 2

Module A

Module G

Module C

OSGi v4.2 Framework

Isolation

Sharing

Page 16: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Isolated and Shared Bundles

16

§  The Equinox OSGi f/w used by WAS enables “composite bundles” to run in isolated child frameworks

–  WebSphere installs each OSGi Application into an isolated child framework. –  Shared bundles are installed into the (single) parent framework.

Everything isolated Everything shared

OSGi v4.2 Framework Java EE App Server

EAR 1

Module A

Module B

Module C

EAR 2

Module A

Module B

Module C

Java EE App Server

EAR 1

Module A

Module B

Module C

EAR 1

Module A

Module B

Module C

EAR 2

Module A

Module B

Module C

EAR 2

Module A

Module B

Module C

OSGi Applications in WAS

EBA 1

Bundle A

Bundle B

Bundle C

EBA 2

Bundle A

Bundle G

Isolated framework

Isolated framework

Shared framework

Page 17: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Application-centric Bundle Management

17

§  EBA Archives are installed as Application Assets in WAS Systems Management

Page 18: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Application-centric Bundle Management

§  Updates are pre-validated for resolution consistency before being committed §  Only the modified bundle(s) are installed §  In V7, the update takes effect after the application is restarted

18

Page 19: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Enhancements in V8 – in-place update

19

In-Place Update

Page 20: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Enhancements in V8 – post deployment configuration

20

Post-Install Configuration

Page 21: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

Enhancements in V8 – in-place update

21

Deployment Manifest

“Fixed” Deployed Result:

- Fully-resolved - Locked-down versions

some.eba Deployment Manifest

New “Fixed” Deployed Result:

- Fully-resolved - Locked-down versions

some.eba

Provide any new configuration

§  Service dynamicity is exploited most easily using the Blueprint component model.

–  Container blocks requests while service is replaced

Note: If a web application bundle is restarted, web client traffic will see brief unavailability of service.

Page 22: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

22

Agenda

§ OSGi § Centralized Installation Manager § High Performance Extensible Logging (HPEL) § HA Features

Page 23: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

23

What’s new in Centralized Installation Manager in V8

§  CIM is now available from the Job Manager §  Remotely drive IBM Installation Manager §  Install WebSphere Application Server, IBM HTTP Server, Application Clients, DMZ Secure

Proxy Server, Web Server Plug-ins and WebSphere Customization Toolbox §  Support job scheduling §  Support multiple cells §  Better scalability

Page 24: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

24

WebSphere Application Server V8 CIM in Job Manager

Separation between Job Manager, Target Hosts and IM repositories.

CIM

IM Install Kit; Response File Install jobs

IM repository (offerings)

Host

Inventory info

Binary payload Job Mgr

IM install kits

IM

Page 25: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

25

New Centralized Installation Manager Jobs

§  Inventory §  Install, update and uninstall Installation Manager (New capability in version 8) § Manage offerings (e.g. install, update, uninstall WebSphere Application Server) § Manage profiles (New capability in version 8) § Run command (New capability in version 8) §  Install SSH public key § Distribute, collect and delete file (New capability in version 8) § Test connection § Add or search Installation Manager agent data locations

Page 26: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

26

Supported platforms and software

§  Supported platforms – Windows, Linux, AIX, Solaris, HP-UX, IBM i and z/OS

§  Supported Installation Manager version – Version 1.4.3 and later

§  Supported WebSphere Application Server version –  Install and uninstall of WebSphere Application Server V8 and the supplemental products

•  IBM HTTP Server •  Web Server Plug-ins •  WebSphere Customization Toolbox •  Application Client •  DMZ Secure Proxy Server

Page 27: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

27

Centralized Installation Manager in Job Manager

Page 28: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

28

Register a New Host

Page 29: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

29

Target Properties

Page 30: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

30

Add Installation Manager Installation Kit

Page 31: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

31

Install IBM Installation Manager

Page 32: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

32

Select Targets

Page 33: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

33

Input the Job Parameters

Page 34: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

34

Schedule Job

Page 35: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

35

Review Job Parameters

Page 36: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

36

Job Status

Page 37: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

37

Target Resources

Page 38: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

38

Other CIM Jobs

Page 39: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

39

Agenda

§ OSGi § Centralized Installation Manager § High Performance Extensible Logging (HPEL) § HA Features

Page 40: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

40

What is HPEL and its Objectives

§ What is HPEL – High Performance Extensible Logging (HPEL) – New streamlined way of doing log and trace where logs are stored in binary

format. – Tools and API for simple access and filtering capabilities

§ HPEL Objectives – Improve performance – Make it easier to work with stored log and trace data – Provide a common logging solution for z/OS® and distributed platforms – Remove barriers to extensibility by allowing simple programmatic access to log

data

Page 41: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

41

Value of HPEL §  Binary format with simple tools means:

– No more parsing of text with multiple formats – More data available, no truncation of logger names –  Flexibility to add information as needs arise – No more need to understand what is stored in what files and how rollover may impact which files to

review – No need to clear logs before a server restart – Speeds up logging and tracing

•  Log primitive over 6x faster than WAS v7 •  Trace primitive 3.8x faster than WAS v7

§  Trace speed improvements makes burdensome traces more reasonable and can allow applications to log more data with less performance penalty

–  Trace performance has half the impact of legacy –  Impact on applications varies based on amount of logging and tracing being done

§  Tools and the API specifically enable – Access to logs on local and remote servers – Advanced filtering to quickly eliminate noise and get to source of a problem – Merging of logs from different servers (API only)

§  Common solution for z/OS and distributed means the same PD skills/people can work in all environments

Page 42: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

42

Enabling and Configuring HPEL

§ Only one logging framework can be active at any given time. Legacy (Basic Mode) is the default

§ Enabling HPEL – HPEL can be enabled by navigating to

the server “Logging and Tracing” panel and clicking on the “Switch to HPEL Mode”

– For z/OS platforms, the panel is slightly different where the “change log and trace mode” has to be clicked on to see the “Switch to HPEL Mode” button.

§ Once the configuration has been saved

and the server has been restarted, the HPEL Mode will be in effect

Page 43: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

43

Enabling and Configuring HPEL (cont'd)

§ The HPEL configuration includes three types of information to configure

– Log data – binary files representing logged information

– Trace data – binary files representing trace

– Text log – optional text file similar to SystemOut.log.

§ The default configuration for HPEL is a good starting point, and the configuration details are generally not needed in order to analysis or PD on the logs § Text log should be disabled in an optimized production environment by selecting “Configure HPEL text log” and deselecting “Enable text log”

Page 44: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

44

Command Line HPEL Log Viewer

§ Once HPEL is enabled and configured, the user is no longer required to understand the details of the individual files to do analysis.

§  The command line log viewer is one tool which can be used to perform problem determination with the log and trace in the repository.

Page 45: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

45

Command-Line HPEL LogViewer

§ To get a listing of available LogViewer options: logViewer -help

§ LogViewer invoked from a profile's bin directory without any options will result in a display of all the log and trace messages of a server

§ To view the log and trace entries of the most recent server run: logViewer -latestInstance

Page 46: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

46

Command-Line HPEL Log Viewer

§ Combining options to get a specific logger pattern (such as an application logger) that matches SEVERE level from most recent server run logViewer -includeLoggers ”com.ibm.*" -latestInstance -level WARNING

Page 47: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

47

Agenda

§ OSGi § Centralized Installation Manager § High Performance Extensible Logging (HPEL) § HA Features

Page 48: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

48

SIBus HA with MQ

§ WebSphere MQ V7.0.1 provides High Availability of Queue Manager – One Queue Manager instance failovers to another Queue Manager instance in a

different machine with different IP Address

§ WebSphere Application Server V7, does not provide SIBus MQLink High Availability

– SIBus MQLink does not provide failover support since, MQLink Sender Channel takes only one hostname and port number.

§ WebSphere Application Server V8 supports high availability of multiple connections between SIBus and WebSphere MQ V7.0.1

–  In WebSphere Application Server V8, to support WebSphere MQ HA capability, MQLink Sender channel has been updated to take multiple connection names which can be used to connect to the Queue Manager instance to which Queue Manager failovers.

Page 49: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

49

SIBus HA with MQ - Configuration

Page 50: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

50

Resource Workload Routing/HA

§ Resource failover and retry logic for relational datasources and JCA connection factories

– Simplifies application development •  Minimizes the application code required to handle failure of connections to relational

databases and other JCA resources •  Provides a common mechanism for applications to uniformly respond to planned or

unplanned outages – Administrator can tailor datasources and connection factory configuration based on

application needs: •  number of connection retries •  alternate/failover resource •  pre-population of alternate/failover resource connection pool •  auto failback

– Full control of functionality available to scripts and programs via management MBean

Page 51: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

51

Resource Workload Routing/HA - Configuration

Page 52: WebSphere Application Server V8 System Administration Updateoleary.org/WASv8/P04-WASv8-Adminstration-003.pdf · 2015-03-20 · Declarative OSGi Services Using Blueprint ! XML Blueprint

© 2011 IBM Corporation

IBM Proof of Technology - Discovering business application services, featuring IBM WebSphere Application Server ND V8

52

SIMPLIFIED CHINESE HINDI JAPANESE

ARABIC RUSSIAN TRADITIONAL CHINESE TAMIL THAI

FRENCH

GERMAN

ITALIAN

SPANISH

BRAZILIAN PORTUGUESE