ibm system automation for z/os 4.1 a new version emerges · 2017-03-16 · issues ingsuspd...

53
IBM System Automation for z/OS 4.1 A new version emerges Ulrike Muench [email protected] #20651

Upload: others

Post on 24-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

IBM System Automation for z/OS 4.1 –

A new version emerges

Ulrike Muench – [email protected]

#20651

Page 2: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

Copyright and Trademarks

© Copyright IBM Corporation 2017

The following names are trademarks of the IBM

Corp. in USA and/or other countries and may be

used throughout this presentation:

CICS, DB2, IBM, IMS, ITM, NetView, OMEGAMON, RMF, RACF, Tivoli,

VTAM, WebSphere, z/OS, zSeries, System z, Linux on System z

Other company, product and service names may

be trademarks or service marks of others.

Page 3: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

3

IBM System Automation Ecosystem

z/OS Linux, AIX, Windows

IBM System

Automation

for z/OS

V4.1

IBM

Automation

Control for

z/OS V1.1.1

IBM Tivoli

System Automation

for Multiplatforms

V4.1

IBM Service

Management

Unite

V1.1.2.3

(Monoplex)

Agentless

Adapter

IBM Service Management Unite – Automation

is part of SA z/OS 4.1

Agentless Adapter is part of

IBM Service Management Unite – Automation

Planned availability date: March 17th 2017

Page 4: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

4

Agenda

Why is a resource in a given state - INGWHY

Exclusion and inclusion of resources to be automated - INGSUSPD

Automate cross sysplex borders

Attractive dashboard included in SA z/OS

Page 5: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

5

behavior

Powerful Automation Product

Start

Stop

Recover

Applications

GroupsRelationships

Different Sources

for Requests

Operators / TWS /

Service Periods ...

Runmodes

Flags

Pacing

Gate

States

Trigger

Monitor...

RFE 44679

Why is a

resource in a

specific

state?

https://openclipart.org/detail/2481/exclamation-icons

Page 6: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

6

INGWHY

AX

WHYAWAITING

REASON

SITUATION

‘A has a dependency on X’

Page 9: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

9

New INGWHY

Reason

Action

Different reasons

and actions Customer

defined

action

possible

DSIPARM

INGWHYU

Situation

Scroll with

F10/F11

Page 10: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

10

INGWHY – DSIPARM INGWHYU

Data REXX• Copy particular operator action from SINGNPRM(INGWHYSA) to INGWHYU

/*====================================================================*/

/* Action : A0209600 */

/* : Resource is in agent state BROKEN. */

/* The Desired state is AVAILABLE. */

/*====================================================================*/

IF #action = 'A0209600' THEN DO

'Refer to your company''s rules in order to take the appropriate'

'action.'

'You may contact the owner that is responsible for '#sub_res'.'

'Consider the following commands to apply to '#sub_res': '

'- EXPLAIN '

'- SETSTATE '

END

• Adapt the text

• Save

• Test using INGWHY or with used variables set: BROWSE INGWHYU TOAD

See INGWHYU for

the list of supported

variables

Set 1 Color and Highlighting

Attributes are used

Page 11: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

11

Agenda

Why is a resource in a given state - INGWHY

Exclusion and inclusion of resources to be automated - INGSUSPD

Automate cross sysplex borders

Attractive dashboard included in SA z/OS

Page 12: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

12

INGSUSPD

RFE 63348For maintenance reasons or problems:

start and stop resources

outside of automation

Up to now

• Turn off manager‘s automation flag

• Turn off agent‘s automation flag

Settings are visible in specific

commands

New with SA z/OS 4.1

• Suspend automation with

one single command

Suspension is clearly visible

• Still tracking of statuses is possible

• No alerting anymore

Page 13: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

13

INGSUSPD - workflow

Use command INGSUSPD to

suspend automation for

specific resources

(APGs, APLs and MTRs)

Use display commands (INGLIST, DISPSTAT,

etc.) to track the status of suspended resources

Use command INGSUSPD to

resume automation

again

Page 14: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

14

INGSUSPD – internal workflow

Operator/SME

issues INGSUSPD

Automation Manager

sets AM suspend flag

propagation along HasParent,

HasPassiveParent, HasMember

Automation Agent

agent receives order to suspend

turns off agent’s automation flag

Resource is suspended

does not receive any start/stop orders

anymore

Page 15: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

15

INGSUSPD – Scope parameter

Suspension of APL (or MTR) Suspension of APG

behaves like a passive member:

it cannot be selected by the group

* *

* behaves like a passive group

- no votes are generated

- no members can be selected

** **

**

Page 16: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

16

INGSUSPD in INGLIST

New suspension

column

Page 17: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

17

INGSUSPD request parameters

Comment can be made

mandatory using exit AOFEXC26

Page 19: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

19

INGLIST showing suspended resources

DIRect

INDirect

PENdingColor directly

indicates

suspension

Page 20: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

20

DISPFLGS showing suspended resources

Cannot be

changed, same

for INGSET

and INGAUTO

S indicates

suspension

using

INGSUSPD

Information also visible

in INGINFO,

DISPSTAT, DISPINFO,

and INGDATA

Page 21: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

21

INGVOTE showing SUSPEND request

No differentiation of

source unlike for

start/stop requests

Kill or Cancel

leads to resuming

automation

Page 22: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

22

INGSUSPD – APL status

• A suspended APL’s observed status is either AVAILABLE or SOFTDOWN

• A suspended APL’s compound status is always SATISFACTORY

• System Automation maps the status for suspended APLs like this:

msg UP=YESmsg FINAL=NO

ACTIVE msgFINAL=YES

Compound State: SATISFACTORY

Desired State: AVAILABLE

Observed State: AVAILABLE

Compound State: SATISFACTORY

Desired State: AVAILABLE

Observed State: SOFTDOWN

Compound State: SATISFACTORY

Desired State: AVAILABLE

Observed State: SOFTDOWN

Page 23: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

23

INGSUSPD - APG

The status of a suspended group depends on the availability status of its members

like follows:

• BASIC

– All members Observed State: AVAILABLE Observed State: AVAILABLE

– otherwise Observed State: SOFTDOWN

• MOVE

– One member Observed State: AVAILABLE Observed State: AVAILABLE

– No member Observed State: AVAILABLE Observed State: SOFTDOWN

• SERVER

– # of members Observed State: AVAILABLE >= Availability Target

Observed State: AVAILABLE

– otherwise Observed State: SOFTDOWN

Page 24: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

24

INGSUSPD - MTR

• An MTR has to be directly suspended or needs a HasParent relationship to another resource with an INGSUSPD SUSPEND Scope=ALL request to get suspended

• An MTR remains in ACTIVE status when it is suspended while its status is– ACTIVE

– FAILED

– STARTING / STOPPING

• An MTR remains in INACTIVE status when it is suspended while its status is– INACTIVE

– BROKEN

• This mimics the behavior applied to APLs which ensures that when the MTR is resumed, that monitoring can resume as well or that the MTR is restarted

Page 25: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

25

INGSUSPD - behavior

• A suspended resource normally cannot be started or stopped via INGREQ

– only desired status changes accordingly, but no action is triggered

– OVERRIDE = SUS is possible to ignore the suspension

– OVERRIDE = SUS is used by default for a system shutdown

• A suspended MTR does not monitor anymore (Timer is canceled)

• Job Log Monitoring is stopped for suspended resources

• RESUME automation restores the normal behavior (except Job Log

Monitoring)

Page 26: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

26

Agenda

Why is a resource in a given state - INGWHY

Exclusion and inclusion of resources to be automated - INGSUSPD

Automate cross sysplex borders

Attractive dashboard included in SA z/OS

Page 27: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

27

Application to be managed Cross Sysplex

AOC4PLEXAOC4 AOC5

SYSPLEXASYSA SYSB SYSC

Applications run on every system

• CSMSERV

• CSMXCF

Can be managed together by

Application Group of type system

• CSM_GRP

AOCAPLEXAOCA AOCB AOCC AOCD

...

http://www-304.ibm.com/partnerworld/gsd/solutiondetails.do?solution=51616&expand=true&lc=en

Page 28: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

28

Application to be managed Cross Sysplex

AOC4PLEX

AOC4 AOC5

SYSPLEXASYSB SYSCSYSA

• monitor and manage

all CSM applications from one point

AOCAPLEXAOCA AOCB AOCC AOCD

...

• even regard dependencies

to other resources

Page 29: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

29

Application to be managed Cross SysplexAOC4PLEX

CSM_ALL

AOCAPLEX

CSM_AOCA/REF/AOCAPLEX

CSM_AOCC/REF/AOCAPLEX

CSM_AOCD/REF/AOCAPLEX

CSM_AOCB/REF/AOCAPLEX CSM_GRP/APG/AOCA

CSM_GRP/APG/AOCB

CSM_GRP/APG/AOCC

CSM_GRP/APG/AOCD

CSM_GRP/APG/AOC4

CSM_GRP/APG/AOC5

AOCAPLEX/DMN

End-to-end

agentEnd-to-end

adapter

Page 30: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

30

End-to-End Environment

SAplex with E2E role

End-to-end

Agent

NetView / SA

End-to-end

Agent

Primary

Automation

Manager (PAM)

Secondary

Automation

Manager (SAM)

PAM gets the

E2E role

Remote Plex1

NetView / SA

PAMSAM

E2E

adapterE2E

Adapter

Remote Plex2

NetView / SA

PAMSAM

E2E

adapterE2E

Adapter Remote Plex3

NetView / SA

PAMSAM

E2E

adapterE2E

Adapter

Page 31: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

31

End-to-End Adapter

Incoming

requests

NetView

SA z/OS

Primary Agent

z/OS system

NetView SSI

PPI

INGEVE2E

INGE2Enn

NetView E/ASSA z/OS

Primary

Automation

Manager (PAM)

End-to-end

Automation

Adapter 5529

EIF eventSynchronous

communication

2001

Outgoing

EIF events

z/OS system

▪ Executes requests

▪ informs about

• resource state

changes

• domain (SAplex)

join/leave

• policy change

Request issuer and event receiver can be

WebUI (SMU) and E2E agent

Page 32: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

32

End-to-End Agent

NetView

SA z/OS Agent

z/OS system

NetView SSI

PPI

INGJVM01

SA z/OS

Primary

Automation

Manager (PAM)

End-to-end

Agent

Synchronous

communication

2003

z/OS system

Outgoing requests

to E2E adaptersIncoming events

from E2E adapters

Page 33: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

33

*E2E Best practices policy

To be used for E2E agent

To be used for E2E adapter

Description afterwards in

Page 34: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

34

INGAMS showing End-to-End

If E2E agent

runs in SAplex

PAM gets E2E

role

If E2E adapter

runs on a

system its

AGENT gets

E2E indicator

Page 35: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

35

Customization Dialog – E2E definitions

Page 36: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

36

Defining DMN – Remote Domain

Default of

SYSPLEX INGXSGnn

Where nn is the XCF

Group ID

Page 37: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

37

Customization Dialog – Remote Domain

Defines which SAplex

will get the End-to-End

management role

Page 38: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

38

Defining REF – Resource Reference

also

dependencies

can be

defined

https://openclipart.org/detail/2483/exclamation-icons

Resource References can be added to APGs

using its Resources policy and specifying

YES to show all resources

Page 39: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

39

Customization Dialog – Resource Reference

Actual remote resource name

CSM_GRP/APG/AOCA

Define in which SAplex the remote resource runs on

(can be in a different policy database)

Page 40: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

40

APG – Adding Resource References

Specify YES to

see also REF

resources

Page 41: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

41

INGLIST showing DMN and REF

Starting automation

manager with Type HOT

to get the latest status at

manager‘s initialization

Page 42: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

42

INGINFO for a Domain

Operational Info shows

short notification and an

explanation

Page 43: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

43

INGINFO for a REF resource

Operational Info shows

short notification and an

explanation

Real name of the remote resource

Information entered in

Customization Dialog

Page 44: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

44

Agenda

Why is a resource in a given state - INGWHY

Exclusion and inclusion of resources to be automated - INGSUSPD

Automate cross sysplex borders

Attractive dashboard included in SA z/OS

Page 45: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

45

Service Management Unite - Automation

• Automation part of new dashboard available with

IBM System Automation V4.1

• Download code from IBM Service Management Unite

download page

• Linux on x or Linux on z Systems

• Provides predefined pages

• For Operating, Administrators and System

Programmers

• Highly adaptable and customizable

Page 46: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

46

Domain and Automation Health page

• Shows E2E domains with its

sysplexes and also domains

connected via Agentless

Adapter and System

Automation for Multiplatform‘s

Adapter

• Displays statistics about the

health of the selected domain

• Provides information about the

recent actions and messages

• Displays the top level

resources of the selected

domain

Page 47: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

47

Domain Page

• Shows Resources of specific

domain with its

• Compound State

• Observed State

• Desired State

• Suspended ?

• Indication of an operator

request

• Displays the Relationships of

the selected resource in a

grahical view

• Shows the systems belonging

to the Domain in the Nodes

widget

• Lists the Requests for the

selected resource

Page 48: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

48

Resources widget

Depending on the

resource type different

actions can be

performed

e.g. application:

Group

structure

visible

Search

possible

Different resource

types use different

icons

Page 49: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

49

Relationships widget

Arrows without description are

‚hasMember‘ - Relationships

Support of Resource References

of E2E automation

Box shows clearly visible

that resources are located in

a different sysplex

Direct jump into the

domain view of the

remote domain is

possible

Page 51: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

51

Manage Schedules

Actual

day

Actual

time

• Double click on a

timestamp to create an

override schedule for the

resource

• Double click on an

existing schedule to

change it

• Drag and drop a

schedule to move it to a

different time

• Drag and drop a start or

stop time of a schedule to

shorten or extend it

Actual

scheduled

downtime

Page 52: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

52

Captured MessagesNew with Service

Management Unite

Version 1.1.2.3

Page 53: IBM System Automation for z/OS 4.1 A new version emerges · 2017-03-16 · issues INGSUSPD Automation Manager sets AM suspend flag propagation along HasParent, HasPassiveParent,

53

Thank You for Attending!

Please remember to complete your evaluation of

this session in the SHARE mobile app.

IBM System Automation for z/OS 4.1 - A new version emerges

#20651