cics ts v5 : the state of art · 2017-06-12 · cics ts v5 : the state of art giancarlo rochester...

55
June 2017 CICS TS v5 : The State of Art Giancarlo Rochester Executive IT Specialist IBM z Systems Middleware

Upload: others

Post on 23-Apr-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

June 2017

CICS TS v5 :

The State of Art

Giancarlo Rochester

Executive IT Specialist

IBM z Systems Middleware

© 2017 IBM Corporation 2

Agenda

� CICS TS v5. 1,2,3 and … 4

� Operational Efficiency

� Service Agility

� Cloud and DevOps

Announced May 16th

Planned Availability June 16th

© 2017 IBM Corporation 3

CICS TS v5 Vision

IBM CICS Transaction Server V5is the premier enterprise grade mixed language application server

Increased system capacity

and capability to achieve

more with less

Automatic control of critical

resources using policies

Operational Efficiency

Enhanced support for

Java and the WebSphere

Liberty profile

Integration with mobile

applications

Service Agility

New cloud and DevOps

support to automate CICS

deployments

On premise pattern based

cloud deployment

Cloud Enablement

© 2017 IBM Corporation 4

Driving Operational Efficiencies – Greater Capacity

Greater horizontal and vertical scaling

• Greater single region scalability by doubling the

MAXTASK limit to 2,000

• Greater usage of 64-bit storage and reduced usage of

24-bit storage

• Greater application parallelism through threadsafe

API and SPI extensions

• Greater system parallelism through optimized Task

Control Block (TCB) usage

• Greater Java performance improvements from 64-bit

Java 7 support

• Greater access to 64-bit application storage when

using Assembler programs

New and improved capabilities provide…

© 2017 IBM Corporation 5

Driving Operational Efficiencies – Managed Operations

Control critical resource thresholds with policies

• Create policies to deliver automated control over

critical system resources

• Set data access thresholds on SQL or file access

requests by a user task

• Set program loop thresholds on EXEC LINK requests

by a user task

• Set storage request thresholds on storage used or

GETMAIN requests

• Set CPU time thresholds on the amount of processor

time used by a user task

• Manage policy breaches by issuing messages,

abending tasks, or creating events

Now you can…

© 2017 IBM Corporation 6

Managed Operation - Policies

� Policies consist of a:

– Threshold condition to monitor resource consumption

– Storage, CPU and Elapsed Time, File/DB2 SQL and TSQ access, Prog.

Link (invoke application included) , Start, TDQ, Syncpoint

� Action to take when threshold is exceeded

– Issue message

– Emit an event

– Abend the offending task

� Policy scope

– Operation, Application, Platform or CICS Region

6

https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.3.0/com.ibm.cics.core.help/concepts/policy_th

resholds.html

Introduced by CICS TS 5.2

© 2017 IBM Corporation 7

Policy Scenario

Define a policy to trigger an event when an application consumes too

much total elapsed CPU time

A B C

Define the policy thresholds

and trigger action that CICS

should take

Associate the policy with the

appropriate platform or

application and deploy

When the threshold is

breached, CICS triggers an

event, updating an operations

dashboard

Step 1 Step 2 Step 3

© 2017 IBM Corporation 8

© 2017 IBM Corporation 9

CICS TS v5 and Security

� Web Service Security – SAML Support

• SAML Feature Pack integrated into CICS TS 5.2 or above

– Linkable interface program DFHSAML

– Most of STS function is zIIP off loadable

� Kerberos Support

• Support for inbound tokens from Kerberos systems

• RACF definitions can map the Kerberos principal to a RACF userid

� SSL Enhancements

• Introduced support for Application-Transparent Transport Layer

Security (AT-TLS)

– Decryption/encryption is handled by the TCPIP address space

rather than in CICS

– No need for CWXN as request comes into CICS ready-decrypted

© 2017 IBM Corporation 10

Web Service Optimizations

� Pre CICS TS 5.3

© 2017 IBM Corporation 11

Web Service Optimizations : Eliminate CWXN where possible

� CICS TS 5.3

© 2017 IBM Corporation 12

Runtime support for production

ready web applications.

Integration with mobile

applications.

CICS TS v5 : Service Agility

� CICS JVM Server

• Enhanced Java Se support

• Simplified management

� WebSphere Liberty Profile Support

• A production-ready web container

– Local access to CICS applications and data

• Deploy lightweight Java servlets and JSPs

• Enhanced interoperability

• JSON Web Services

– JSON support for mobile applications

� New Asynchronous API

© 2017 IBM Corporation 13

Enhanced Java SE Support

� Java 8 support

• Will exploit new facilities of the z13

• Can run Java 8, 7.1 and 7 in different JVM servers in the same CICS region

� Implemented PHASEIN support for bundles

• Enables registration of a new OSGi bundle replacing and currently registers

version

• New requests will use the new version

• Existing requests will use the old version until complete

� IBM MQ Java Message Service (JMS) classes can be used to access MQ, as an alternative to the proprietary MQ classes for Java

• Only Java programs that run in an OSGi JVM server

© 2017 IBM Corporation 14

Simplify Management of zFS files from JVM server

� New options for controlling the location for JVM stdout, stderr, trace and dump output

• stderr/stdout/dfhjvmtrc can be redirected to MVS DD instead of zFS files

� Timestamps in JVM server output logs can be localized

• New TZ JVM profile option to specify your local time zone

– Timestamps still in UTC (Coordinated Universal Time) if not set

� Old log files can be deleted

• New LOG_FILES_MAX JVM profile option to specify how many iterations of

each log file to keep

– All logs kept if not specified or set to zero

© 2017 IBM Corporation 15

CICS TS Feature Packs using JVM server

� CICS TS Feature Pack for Mobile Extensions v.1.0 (*)

� CICS TS Feature Pack for Modern Batch v.1.0

� CICS TS Feature Pack for Dynamic Scripting v.2.0

� CICS TS Feature Pack for Security Token Extensions (*)

(*) Included into CICS TS 5.2

© 2017 IBM Corporation 16

Liberty is ….

© 2017 IBM Corporation 17

Modern Interfaces – Liberty Profile Web Container

� New Java web container is built on WebSphere Application Server Liberty profile technology

• Liberty is a lightweight, composable, ‘profile’ of WebSphere Application

Server

– Provides a fast and lightweight Java web container

• Provides “off the shelf” Web-server capabilities (JSPs and Servlets)

• Provides potential to re-use even more WebSphere technology in CICS.

• JSP and Web servlets have direct, local, access to CICS data and resources.

• Servlets can take advantage of existing CICS OSGi applications to provide a Dynamic Web front end

© 2017 IBM Corporation 18

What is the CICS TS Liberty Profile

• Standard Java APIs (Servlet, JSP, JDBC)

• Supports much of the Liberty Profile

• Can use the JCICS API to link a program in any language

© 2017 IBM Corporation 19

Java Batch in CICS

� Although CICS is primarily an OLTP – we now offer “Batch Applications for the Java Platform (JSR-352)”

• Capability is provided by two Liberty features

– The batch-1.0 feature enables the use of the JSR-352 programming model

– The batchManagement-1.0 feature provides:

� A REST interface for rempte job submission

� The batchManager command-line utility

� Job logging support

� Multiple server support by using JMS

• WebSphere Developer Tools (WDT) enable to create application and

compose jobs using Job Specification Language (JSL), test and deploy

application in local or remote Liberty server

© 2017 IBM Corporation 20

What’s in the CICS TS Liberty JVM server ?

• PI63005: SUPPORT FOR INVOKING A JAVA EE

APPLICATION RUNNING IN LIBERTY FROM A CICS

PROGRAM

Coming from CICS

TS 5.4

© 2017 IBM Corporation 21

CICS Region

JVM Server

Liberty

WebAppl

DB2

VSAMJCICS

JDBC T2 Database Driver

Business Logic

DB2

z/OS or Multiplatform

Derby

Multiplatform

JDBC T4 Database Driver

Web

Client

RESTful

Client

Web services

Client

HTTP / HTTPS

Updates remote data sources in the same logical UOW as other CICS TS managed resource

© 2017 IBM Corporation 22

CICS TS v5.2 – Transaction Support for Liberty

JAVA Transaction API

CICS TS 5.2

Transaction

Manager

ApplicationCICS

XAResource

Type 4 DB

Liberty Profile

OT Domain

RM Domain

JTA provides coordination of updates across CICS and remote DB throughObject Transaction Service Domain

© 2017 IBM Corporation 23

Enhanced Interoperability using JCA

� Java EE Connector Architecture (JCA) connects JEE application server to enterprise information systems such as CICS

• CICS Transaction Gateway (CTG) provides a set of JCA resource adapters to support the use of the JCA for connecting to CICS TS

� CICS now provides its own JCA local ECI feature

• CICS provides optimized JCA adapter supporting CTG’s JCA ECI

interfaces

• Allows to port existing JCA applications that use the JCA ECI

interfaces from other JEE applications servers into the CICS Liberty

JVM server

• It is possible develop new JEE applications that can link to existing

CICS Cobol programs without being tied to the proprietary JCICS

Java API

© 2017 IBM Corporation 24

© 2017 IBM Corporation 25

© 2017 IBM Corporation 26

© 2017 IBM Corporation 27

© 2017 IBM Corporation 28

New Asynchronous API - Run Transid

� Designed to minimize application idle time when workloads con be run concurrently

– This API enable developers to easily incorporate programming logic that

follows a “parent-child” model

CICS TS 5.4

© 2017 IBM Corporation 29

CICS TS v5 : Cloud Enablement

� First Class Platforms

� First Class Applications

� CICS DevOps solution

� z/OS Provisioning Toolkit

New cloud and DevOps support to automate CICS deployments

On premise pattern based cloud deployment

© 2017 IBM Corporation 30

Increasing service agility - First-class platforms

Create agile service delivery platforms

• Easily deploy applications onto platforms

• Different platforms can have different policies for

the same application

• “How much CPU has this platform consumed?”

• Group new and existing regions as platforms for rapid

application deployments

• Increase flexibility, by decoupling applications from

the underlying CICS region topology

• Increase reliability through automatic resource

deployment and validation

• De-provision resources when requested, without

requiring any interaction from a system administrator

• Deploy applications to started regions within a

platform, without requiring any interaction from a

system administrator

• Dynamically manage platforms by applying policies

during runtime

By defining a platform you can… Greater control through platforms…

© 2017 IBM Corporation 31

Increasing service agility - First-class applications

© 2017 IBM Corporation 32

First-class applications

A collection of one or more CICS bundlesLife-cycle as a single entity

Measure and control resource usage

Develop in Eclipse/RationalShare and promote through SCM

ApplicationName

- org.maw.banking.Loans

Version

- 1.2.1

Resources

- LIBRARY, PROGRAM, TRANSACTION, URIMAP

- (EVENTBINDING, OSGIBUNDLE, …)

Dependencies

- DB2CONNECTION, JVMSERVER,

TCPIPSERVICE, …

Entry points

- operation: browse, update, …

- resource: PROGRAM

Application LifecycleINSTALLENABLEDISABLEDISCARD

© 2017 IBM Corporation 33

Multi-versioning Applications

Rolling back to an older version of an

application is a simple operation -

mark the version as ‘unavailable”

Versioning provides support for the

“major.minor.micro” system

CICS TS

Transition to newer (or older) version

Version 1.0.0

Version 1.0.1

Version

1.2.0

Version 2.0.0

Install, enable,

make available

make

unavailable

© 2017 IBM Corporation 34

Multi-versioning Applications

Application packaging helps you consolidate onto fewer regions by

providing private program definitions

CICS TS

X

Y

Private programs

Customer App

Private programs

Payroll AppURIMAP

PROG1

LIBRARY

URIMAP

PROG1

LIBRARY

© 2017 IBM Corporation 35

DevOps - Automated builds

� The Process

© 2017 IBM Corporation 36

Automated builds

� CICS Build Toolkit provides a command-line interface for automating the building of CICS projects

• CICS cloud applications and bundles, and OSGi Java components,

automatically built from source code

• Variable substitution to facilitate the deployment of the same application to different environments (e..g. development, quality assurance and production)

• Supported on z/OS, Linux and Microsoft Windows

� Can be used in continuous integration environment – a build script can automatically run when developers make updates to their application to

• Check out the latest application version from source control along with its dependencies

• Call the CICS Build Toolkit to build the projects that form the application

• Copy the built projects to a suitable location, such as an artifact repository or a staging area on zFS

© 2017 IBM Corporation 37

Scripted deployments

� DFHDPLOY is a batch utility to support automated provisioning of

• CICS bundles

• OSGi bundles within CICS bundles

• CICS applications

� Can be used to

• Deploy CICS bundles and CICS applications

• Set the desired stat

– e.g. “enabled” or “available”

• Undeploy and remove bundles and applications

© 2017 IBM Corporation 38

DFHDPLOY Example

� Example JCL to replace an existing bundle WEBSITE

© 2017 IBM Corporation 39

Microservices Definitions

An engineering approach focused on decomposing an application into single-function modules with well defined interfaces which are independently deployed and operated by small teams who own the entire lifecycle of the service.

Microservices accelerate delivery by minimizing communication and coordination between people while reducing the scope and risk of change.

© 2017 IBM Corporation 40

CICS Microservices Scenarios

© 2017 IBM Corporation 41

� The IBM z/OS Provisioning Toolkit v1.0 is a simple command line utility for a rapid provisioning of z/OS development environments

� System programmers can easily manage the provisioning process by preconfiguring the environments, control developer access through z/OS security, and set appropriates provisioning limit

� Application developers can provision and de-provision z/OS applications in minutes, without requiring any z/OS specific administration skills

� The toolkit is fully supported and available to all z/OS v2 clients at no additional charge

� To download the toolkit and read more :

z/OS Provisioning Toolkit v1.0 – in a glance

https://developer.ibm.com/mainframe/products/zospt/

© 2017 IBM Corporation 42

z/OS Provisioning Toolkit - Architecture

CICS

zospt z/OSMF

Images

CICS

WorkflowsCICS

CICSCICS

MQ

z/OS

IBM z/OS Provisioning

Toolkit

IBM Cloud Provisioning

and Management for z/OSZ/OS

Connect

z/OS Provisioning

Toolkit v1.0.1April 11th, 2017

© 2017 IBM Corporation 43

IBM z/OS Provisioning Toolkit – Images

� Images for provisioning the following

environments are included with the product:

• CICS Transaction Server, with embedded IBM

z/OS Connect Enterprise Edition (EE)

• CICS Transaction Server, with a Liberty JVM

server

• A standard CICS TS environment for traditional

COBOL 3270 development

samples to build images

© 2017 IBM Corporation 44

z/OS Provisioning Toolkit v1.0 – DevOps flow

Build

• Build images that match

production environments

• Creates as many images as

you need and easily share

them between developers

• An image can contain

code, configuration and

environment variables

RUN

• Run an image using a single

command to create a container

in just a few minutes

• The container is a provisioned

instance of a image, created

from scratch to provide a

preconfigured runtime

environment for the developer

Manage

• Manage the containers that

are provisioned

• Using simple commands,

developers can stop and

restart their containers or

just remove them completely

• The number of containers is

limited by the Operation

team

© 2017 IBM Corporation 45

CICS TS v5 Vision

Do more with less

Service Agility

Do it faster

Operational Efficiency

Do it continuously

Cloud Enablement

© 2017 IBM Corporation 46

CICS TS – Service Planning

CICS Release Availability Service

CICS TS 5.3 11th December 2015

CICS TS 5.2 13th June 2014

CICS TS 5.1 14th December 2012

CICS TS 4.2 Withdrawn from marketing 30th September 2018

CICS TS 4.1 Withdrawn from marketing 30th September 2017

CICS TS 3.2 Withdrawn from marketing 31th December 2015

CICS TS 3.1 Withdrawn from marketing 31th December 2015

© 2017 IBM Corporation 47

CICS TS – Service Planning

CICS Release Availability Service

CICS TS 5.3 11th December 2015

CICS TS 5.2 13th June 2014

CICS TS 5.1 14th December 2012

CICS TS 4.2 Withdrawn from marketing 30th September 2018

CICS TS 4.1 Withdrawn from marketing 30th September 2017

CICS TS 3.2 Withdrawn from marketing 31th December 2015

CICS TS 3.1 Withdrawn from marketing 31th December 2015

Announced May 16th

Planned Availability June 16th

© 2017 IBM Corporation 48

Customer Success Stories

� Made with z Systems : https://ibm.biz/cics-mwzs

© 2017 IBM Corporation 49

Half a Century

of Investment

Protection…

1960 1980 2000 2020

1964 1999Linux on z

...guess

what it can do

in the next 50 years!

In every second there are

7.000 30.000 60.00046.000

1.150.000

New

Capabilities

S/360

Open

Source

Reliability

Availability

Resiliency

Trust

SecurityBlockchain

Technology

Scalability

IoT

Supply

Chain

Mobile

© 2017 IBM Corporation 50

Half a Century

of Investment

Protection…

1960 1980 2000 2020

1964 1999Linux on z

...guess

what it can do

in the next 50 years!

In every second there are

7.000 30.000 60.00046.000

1.150.000

New

Capabilities

S/360

Open

Source

Reliability

Availability

Resiliency

Trust

SecurityBlockchain

Technology

Scalability

IoT

Supply

Chain

Mobile

© 2017 IBM Corporation 51

Thank you

© 2017 IBM Corporation 52

CICS TS 5.4 – Summary eBook

https://developer.ibm.com/cics/wp-content/uploads/sites/65/2017/05/IBM-CICS-TS-V5.4-Overview.pdf

© 2017 IBM Corporation

53

IBM CICS Performance Series: CICS TS v5.3 Benchamrk on IBM z13

The motivation for the benchmark is to demonstrate some of the benefits of CICS Transaction Server

(CICS TS) V5.3, compared with previous releases in

terms of:

• Improved performance

• Enhanced interaction with IBM z/OS Workload

Manager (WLM) for transaction CPU tracking and IBM Mobile Workload Pricing (MWP)

• The ability to demonstrate the stability and

scalability of CICS handling high-transaction rates

in excess of those tested previously

http://www.redbooks.ibm.com/redpieces/abstracts/red

p5320.html?Open

© 2017 IBM Corporation

54

IBM Cloud Provisioning and Management for z/OS – An Introduction

Want to know more about using a cloud service

to speed up middleware provisioning ?

Download IBM Redpaper publication:http://www.redbooks.ibm.com/abstracts/redp5416.html?Open

Solution Brief http://w3-01.ibm.com/sales/ssi/cgi-bin/ssialias?htmlfid=ZSD03043USEN

FAQshttp://w3-01.ibm.com/sales/ssi/cgi-

bin/ssialias?htmlfid=ZSQ03105USEN

More information coming soon!

© 2017 IBM Corporation

55

Thank you