z/os cloud provisioning and management - ibm · z/os cloud provisioning and ... steps which...

35
Transformation zu einem internen IT-Service Provider Marcel Amrein, Client Technical Specialist, IBM zHybrid Cloud 14. März 2017 z/OS Cloud Provisioning and Management

Upload: tranxuyen

Post on 24-May-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

Transformation zu einem internen IT-Service Provider

Marcel Amrein, Client Technical Specialist, IBM zHybrid Cloud

14. März 2017

z/OS Cloud Provisioning andManagement

Some z/OSMF Basics

z/OSMF was introduced with z/OS 1.11 in 2009

4

z/OSMF Workflow Feature▪ Added in z/OSMF V2.1

– also since V2.1, z/OSMF is based on WebSphere Liberty

▪ A z/OSMF workflow is a guided set of (repeatable) steps which

accomplishes a – more or less complex – task on z/OS.

▪ It is described to z/OSMF through a workflow definition which is

an XML file in ZFS, and (mostly), a variable input file that

provides variable properties referred to by workflow steps.

– symbol replacement mechanism uses the open source

Velocity engine created by the Apache Velocity Project.

▪ Workflow steps may perform a variety of operations, e.g.:

– Submitting jobs or Started Tasks

– Running scripts (REXX)

– invoking TSO/E functions in batch

▪ All workflow services are available via the z/OSMF REST

interface, so these z/OSMF workflows can be created, managed

and used (“run”) from a front-end user interface.

z/OS Cloud Provisioning

▪ Cloud Services characteristics

acc. to NIST

(The National Institute of

Standards and Technology)

▪ z/OSMF

Cloud Provisioning

– Based on Workflows

provided by product

code

– To support „on-demand“

creation (provisioning) of e.g. :

▪ a WAS Liberty server

▪ a CICS region with special

characteristics – … plus maybe more

▪ a DB2 schema

▪ a pair of MQ queues

▪ …

z/OSMF Cloud ProvisioningDemo

The user‘s Marketplace screen

8

Marketplace - the user‘s subscriptions

9

Marketplace – single subscription details

10

The user‘s Software Services screen

11

▪ The Software Services Overview

display corresponds to what we‘ve

seen before on the Marketplace

screens:

– The „2 Templates“ represent the

two „Services“ available to the user

for the „subscription“

– We can see, that the current user

is just working with CICS type of

services.

▪ There are three (3) active

instances, and one (1) which is

no longer available.

Software Services – user‘s Templates

12

Native z/OSMFequivalent toMarketplace

Software Services – user‘s Instances

13

Native z/OSMFequivalent toMarketplace

Software Services – administrator view (1)

14

Software Services – administrator view (2)

15

Administrator template options

16

Template creation (Add Template dialogue)

17

Template source file

Per-step approve newly created template

18

cics.properties (original contents)

Associate tenants

19

Managing tenants

20

• Tenant is a group of users of specific templates and resource pools.• z/OSMF domain administrators may organize these tenant groups.

Associating resource pools

21

• When a tenant is newly associated to a template that contains calls for dynamic network resources, a new “Network Resource Pool” is created to be used for that combination of tenant and template.

The number of service instances created by this tenant group and by a single user can be limited

Default JCL JOB stmt isspecified by the workflow

Administration of network resources to beavailable for dynamic requests

22

• Network Resource Pool administration (Dynamic Network Configuration)is a separate section of z/OSMF

• CICS cloud provisioning makes use of• Port Allocation Ranges• SNA Application Ranges

Network Resource Pool association

23

• The Network Resource Pool (NRP) created on template tenant association has to be configured to get its dynamic resources from particular ranges,and then, has to be marked “complete” to be usable.

• From each section used, (at least) one pool has to be associated

• Pool usage limits have to be specified

List of Network Resource Pools

24

Details of a Network Resource Pool in use

25

Manually managing NRP resources

26

E.g. to cleanup after failures, to remove inconsistencies, dynamicallyprovisioned network resources may be freed manually

Marketplace Administration – ADD Service

Viewing a workflow file – step for JCL submit

Viewing a workflow file – step for REST call

Summary Statements

z/OSMF – initial approach

▪ zOSMF is a Java program. Starting with z/OS 2.1 the Java runtime server

uses the Liberty Profile z/OS

▪ So if you have z/OS 2.1 and zOSMF enabled, you’re using Liberty!

Initially designed as a graphical interface to z/OS system programmer functions

z/OSMF – „extended for cloud“

CICS

zospt

z/OSMF

CICS

Product-supplied

provisioningWorkflows CICS

CICSCICS

MQ

z/OS

others

Marketplace

Network Config

Cloud Provisioning

zospt

CustomerPortal

Cust.Portal

Developer portalfor self-provisioningof development and testenvironments in a cloud-like manner

z/OSMF – extremely simple base configuration

z/OSMF product installation resultsin two ZFS file systems withstandard mount points:• /usr/lpp/zosmf – product code• /var/zosmf/data – data area

Start-up procedure for the z/OSMF Liberty server• SYS1.PROCLIB(IZUSVR1)

Sample TSO Logon procedure fordata set and file REST interface• SYS1.PROCLIB(IZUFPROC)

Simply tailorable configurationparameter member

• Default in SYS1.SAMPLIB(IZUPRM00)

• Specifies- IP address and port,- Security settings etc.

• Extremely simple way ofactivating features via plug-inselection:

• COMMSERVER_CFG isrequired for cloud provisioning

Overall summary

▪ With the Cloud Provisioning feature, delivered by recent (Dec 2016, Jan 2017) PTFs,

z/OSMF can be used to offer cloud-like experience of self-provisioning to z/OS developers.

▪ The Cloud Provisioning feature is available to both z/OSMF V2.1 and V2.2.

▪ z/OS products (DB2, CICS, IMS, MQ) have already started to provide powerful artefacts to

support this feature to provision resources of their type dynamically.

▪ Configuration of z/OSMF itself has been dramatically simplified since the V1.x releases.

▪ Cloud provisioning of (sub-)system environments happens under full control of the z/OS

system administration and network administration.

Any activities on part of both administrators and users are protected by RACF profiles.

For More Information

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!

Questions ?

Many Thanks for your Attention !

Marcel Amrein

IT Specialist for CICS and MQ

IBM Allee 1

D-71139 Ehningen

Mobil: 0160 901 77 458

Mail: [email protected]