ibm system automation for z/os 4.1 a new version emerges · 2017-03-16 · issues ingsuspd...
TRANSCRIPT
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.
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
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
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
6
INGWHY
AX
WHYAWAITING
REASON
SITUATION
‘A has a dependency on X’
7
INGLKUP REQ=ANALYSE – old way
9
New INGWHY
Reason
Action
Different reasons
and actions Customer
defined
action
possible
DSIPARM
INGWHYU
Situation
Scroll with
F10/F11
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
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
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
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
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
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
** **
**
16
INGSUSPD in INGLIST
New suspension
column
17
INGSUSPD request parameters
Comment can be made
mandatory using exit AOFEXC26
19
INGLIST showing suspended resources
DIRect
INDirect
PENdingColor directly
indicates
suspension
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
21
INGVOTE showing SUSPEND request
No differentiation of
source unlike for
start/stop requests
Kill or Cancel
leads to resuming
automation
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
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
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
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)
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
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
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
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
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
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
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
33
*E2E Best practices policy
To be used for E2E agent
To be used for E2E adapter
Description afterwards in
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
35
Customization Dialog – E2E definitions
36
Defining DMN – Remote Domain
Default of
SYSPLEX INGXSGnn
Where nn is the XCF
Group ID
37
Customization Dialog – Remote Domain
Defines which SAplex
will get the End-to-End
management role
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
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)
40
APG – Adding Resource References
Specify YES to
see also REF
resources
41
INGLIST showing DMN and REF
Starting automation
manager with Type HOT
to get the latest status at
manager‘s initialization
42
INGINFO for a Domain
Operational Info shows
short notification and an
explanation
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
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
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
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
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
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
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
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
52
Captured MessagesNew with Service
Management Unite
Version 1.1.2.3
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