pre-con ed: ca ops/mvs and the power of integration
TRANSCRIPT
World®’16
CAOPS/MVSandthePowerofIntegration
MichaelKiehlProductManager
MFX50E
MAINFRAMEANDWORKLOADAUTOMATION
DonFertenbaughPrincipalConsultant
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
CAOPS/MVShasavarietyofbuilt-inintegrationswithmissionessentialapplications,includingCASYSVIEW,CAWorkloadAutomation,BCPii,andSecurity.ThissessionwillprovideadeepdiveonhoweachoftheseintegrationsworkandcanbeleveragedtomaximizeyourCAOPS/MVSinvestmentandincreaseyourbusinessagility.
MichaelKiehlCAProductManager
DonFertenbaughCAPrincipalConsultant
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
CAAUTOMATIONPOINT
CASYSVIEW PERFORMANCEMANAGEMENT
SECURITY
CAWORKLOADAUTOMATIONESP EDITION
CAWORKLOADAUTOMATIONCA7EDITION
BCPII
1
2
3
4
5
6
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAutomationPointIntegration
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAutomationPointIntegration
§ LinksMainframeandDistributedEnvironmentsTogether§ AutomateAdditionalEnvironmentsviaTelnet/SSHConnections§ Components
– ConsoleConsolidation§ RemoteAccess(Desktop,Web)
– CompletelyAutomatetheIPLprocess§ DR/BCPprocessing
– NotificationManager§ Notification§ Escalation
– WebServices– OpenObjectREXX
ProductOverview
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Bi-directionalCommunicationviaMSF/CCI
CAAutomationPointIntegrationCommunicationPaths
ConsoleMessages
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAutomationPointIntegrationCAAutomationPointtoCAOPS/MVSMSFFunctions
LIST§ ReturnsalistofMSFnodesthatarecurrentlyconfiguredontheissuingCAAutomationPointworkstation.
OPER§ Sendsaz/OSsystemcommandexecutionrequesttotheCAOPS/MVShost.
OSFTSO§ RunanyTSOcommandprocessor,OPS/REXXprogram,orTSO/EREXXprogram
VER§ ReturnsinformationabouttheversionoftheADDRESSOPScommandenvironmentthatisrunning.
WTO§ SendsamessagewhichcandriveaCAOPS/MVSautomatedaction.
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAutomationPointIntegrationCAOPS/MVStoCAAutomationPointFunctions
NMFIND§ InvokesNotificationManagerindicating:Whomtocontact,Whattotellthem,andWhatactiontotakenwhentheyrespond
PPQWRITE§ Writesaline(s)toaCAAutomationPoint”Program-to-ProgramQueue”
REXX§ RunanyREXXprogram
WTO§ SendsamessagewhichcandriveaCAAutomationPointautomatedaction.
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAutomationPointIntegrationUseCases
CA OPS/MVSMonitoring Using theconsoleinterface,CAAutomationPoint’srulescantriggeranautomatedrestartwhenCAOPS/MVSissuesanAbendor“EmergencyProductShutdown”message.Additionally,NotificationManagercanbeleveragedtoalertsupportstaffoftheoutageallowingforanymanualtriagetooccur.
IncidentNotificationandCentralization
IncidentscanbedirectedtoCAAutomationPointrules(ConsolesorMSFLinks)allowingforacentralizedlocation wheretheycanbemanagedordistributedfromusingNotificationManager,MergedMessageWindow,orthevariousexternalcommunicationmethods.
MultiplatformAutomation
CAAutomation PointcanbeusedtoautomateMainframe,UNIX,Linux,Windows,AS/400,Tandem,andVAXenvironmentsviascripts,remotelogons,andconsolesallowingforautomatedprocesstobepassedbetweenmultipleplatformswithinasingleprocess.
HMCConfigurationAccess
CAAutomation PointallowsformonitoringofHMCmessages,andHMCconfigurationchangesexternaltotheMainframethusallowingthisactiontobetakenregardlessofsystemstatus.
Automated IPLs CAAutomation PointandCAOPS/MVSSystemStateManagerworkinginconjunctioncanfullyimplementaonebuttonIPLprocess.DuetoCAAutomationPointrunningoff-platformthisprocesscanbeimplementedtoperformsysplexIPLs,rollingIPLs,andShutdowninPrimaryDataCenterwithRestartinSecondaryDataCenterIPLs.
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CASYSVIEWPerformanceManagementIntegration
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CASYSVIEWPerformanceManagementIntegration
§ MainframePerformanceManager– z/OS,JES2,JES3,DB2,CICS,IDMS,IMS,CADatacom/DB,TCP/IP,WebSphereMQ
§ Real-timeandHistoricalperformancedata
§ PerformanceAlertsbaseduponthresholds
ProductOverview
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CASYSVIEWPerformanceManagementIntegrationCASYSVIEWtoCAOPS/MVSAPIFunctions
CAOPS/MVSAPIEventSpecifier
CASYSVIEWCommand
Description
CAGSVX0001 THRESH MVSEventNotifications
CAGSVY0001 CTHRESH CICSEventNotifications
CAGSVP0001 IMSTHRSH IMSEventNotifications
CAGSVN0001 TCPTHRSH TCP/IPEventNotifications
CAGSVS0001 MQTHRESH WebSphere MQEventNotifications
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CASYSVIEWPerformanceManagementIntegrationCAOPS/MVSAddressSYSVIEWEHostEnvironment
TheADDRESSSYSVIEWEhostenvironmentsendscommandsdirectlytoCASYSVIEWandreturnsoutputfromthosecommandsdirectlytotheOPS/REXXexternaldataqueue.
AnySYSVIEWcommandcanbeissuedwiththeresultingoutputreturned toREXXexternaldataqueue
XVEXTRACKeyword– Allowscommand outputtobeextracteddirectlyintostemvariables
sysvcmd = 'ALERTS WARNING;', /* Issue ALERTS WARNING cmd */'XVEXTRAC DATA NAME type.;', /* Extract the alert type.. */'XVEXTRAC DATA ARGUMENT jobn.;',/* Jobname */'XVEXTRAC DATA ALIAS asid.;', /* Asid */'XVEXTRAC DATA CURRENT curr.;', /* Current usage % */'XVEXTRAC DATA WARNING warn.' /* Warning % value */
/* into named stem variables*/
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CASYSVIEWPerformanceManagementIntegrationUseCases
Automated Remediation HavingCASYSVIEWgenerate CAOPS/MVSAPIeventsbasedonperformancemetricsallowsfortheseissuestobecorrectedviaCAOPS/MVSScripts,additionaldataobtained,orescalated.
IncidentCorrelation CAOPS/MVScancoordinateresponsestomultipleAPIevents and/orcollectadditionalinformationviaSYSVIEWhostenvironmentbeforetakingactionallowingforbetterunderstandingoftheissue.
IncidentThresholding CAOPS/MVScanuseit OPSTHRSH()functiontoallowforperformanceincidentstobethrottledrequiringtheeventtooccurmultipletimeswithoutapredefinedtimeframe.
PerformanceIncidentswithoutThresholds
CAOPS/MVSuses theSYSVIEWEHostEnvironmentthroughit’sTime-Of-DayprocessingtogatherCASYSVIEWdatafromcommandsthatdonothaveThresholdsdefinedorwhenthethresholdingpossibledoesn’thavethefinelevelofdetailrequired.
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationESPEditionIntegration
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationESPIntegration
§ AFlexibleandVersatilejob-schedulingandworkload-managementsystem
§ AgentssupportMainframe,UNIX,Windows,andLinux
§ CriticalPathAnalysisandForecasting
§ WebServicesInterface
ProductOverview
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationESPIntegrationCAESPtoCAOPS/MVSAPIFunctions
SEND2OPS CALLOPS
Sends anAPIeventtoCAOPS/MVSforrulesprocessingviaAPIIDCAESP00001
Sendsan APIeventtoCAOPS/MVSforrulesprocessingviaAPIIDCAESP00000§ RULESUFkeywordcanbespecifiedtoreplacetherightmostfour
alphanumericcharacters
Codedattheapplicationlevel,joblevel,orboth.Theapplication-levelmessageissentwhenevertheapplicationisinvoked.Thejob-levelmessageissentwheneverthejobruns.IfyoucodeSEND2OPSatbothlevels,bothmessagesaresent(assumingthejobisincludedinthegeneratedapplication).
CAOPS/MVSAOFvariablesAPI.ESPUSERandAPI.ESPEVENTaresettothevaluesofESPvariablesESPUSERandESPEVENT
API.LEVELvariableis settothenameofthecurrentESPsubsystem
Can onlybeusedinsideESPEvents
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationESPIntegrationCAOPS/MVSAddressESPHostEnvironment
TheADDRESSESPhostenvironmentsendscommandsdirectlytoCAESPandreturnsoutputfromthosecommandsdirectlytotheOPS/REXXexternaldataqueue.
ESPSubsystemmust bespecifiedbeforesendingcommands
waeecmd = 'LJ OPSJOB' /* Desired CA WAEE command */address ESP /* Set ESP host environment */"Subsys(X114);"waeecmd /* Build required keywords */
say 'RC of cmd 'waeecmd'='rc /* Simple say of return code */
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationESPIntegrationUseCases
Automated Remediation HavingCAESPgenerate CAOPS/MVSAPIeventsbasedonschedulingissuesallowsissuestobecorrectedviaCAOPS/MVSScripts,additionaldataobtained,orescalated.
AugmentedSchedules Coordinatebatchjobschedules withrequiredautomationscriptsorCAOPS/MVSSystemStateManagerSTCRecycles.Example:CAESPsendsCAOPS/MVSanAPIEventtoshutdownaCICSRegionsviaSSM.OncetheCICSRegionisDOWN,CAOPS/MVSsignalsCAESPviahostenvironmenttostartnextjobinschedule.
Sharing Calendars CAOPS/MVSuses thesystemdateandtimeforallitsprocessing,howeversinceCAESPneedstorunjobsbaseduponvariousbusinessschedulesitwillhavethesecalendarsdefined.UsingtheCAOPS/MVShostenvironmentthesebusinesscalendarscanbeextractedfromCAESPandusedforautomationprocessing.
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationCA7EditionIntegration
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationCA7Integration
§ AFlexibleandVersatilejob-schedulingandworkload-managementsystem
§ AgentssupportMainframe,UNIX,Windows,andLinux
§ CriticalPathAnalysisandForecasting
§ WebServicesInterface
ProductOverview
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationCA7IntegrationCA7toCAOPS/MVSAPIFunctions
Browse DatasetMessagescanbeforwardedtoCAOPS/MVSasAPIIDCA7MSGviaCA7RouteMasterStationMessages(MSMR)facility.
MSMRincludemessagesaboutthestatusofCA7jobsandCA7 systemactivitiessuchasschedulescanandjobsubmission.
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationCA7IntegrationCAOPS/MVSOPSCA7Function
TheOPSCA7functionsendscommandsdirectlytoCA7andreturnsoutputfromthosecommandsdirectlytotheOPS/REXXexternaldataqueue.
ThefunctioncalldefaultstoCA7instanceCA71,this canbeover-riddenwithaparameter
§ RC = OPSCA7("CA7=CA7n;/LOGON=userid;your CA7 command;/LOGOFF")
CAOPS/MVSsample programCA7MVSillustrateshowtoimplementaCA7interfaceusingtheCAOPS/MVSEPIfacility.
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationCA7IntegrationUseCases
Automated Remediation HaveCAOPS/MVSreacttoAPIeventsaboutschedulingissuestobecorrectedviaCAOPS/MVSScripts,additionaldataobtained,orescalated.
AugmentedSchedules Coordinatebatchjobschedules withrequiredautomationscriptsorCAOPS/MVSSystemStateManagerSTCRecycles.Example:CA7sendsCAOPS/MVSanAPIEventtoshutdownaCICSRegionsviaSSM.OncetheCICSRegionisDOWN,CAOPS/MVSsignalsCA7viahostenvironmenttostartnextjobinschedule.
Sharing Calendars CAOPS/MVSuses thesystemdateandtimeforallitsprocessing,howeversinceCA7needstorunjobsbaseduponvariousbusinessschedulesitwillhavethesecalendarsdefined.UsingtheCAOPS/MVShostenvironmentthesebusinesscalendarscanbeextractedfromCA7andusedforautomationprocessing.
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BCPii Integration
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BCPii Integration
§ ImplementedviaCommonServicesHiSRV component
§ HardwaremessagesdirectedtoCAOPS/MVSAPIEvents
§ AbilitytoGET/SETAttributesandissueCommands
CAOPS/MVSHardwareServices
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BCPii IntegrationHiSRV HardwareEvents
EventDescription HWSEventId EventDescription HWSEventId
Act.ProfileChange HWSACTPCHG HardwareInterfaceUp HWSINTFUP
ApplicationEnded HWSAPPEND HardwareMessage HWSHWMSG
ApplicationStarted HWSAPPSTRT HardwareMsg Delete HWSHWMSGD
AttributeAdd/Update HWSATRUPDT NewChild HWSNEWCHLD
CapacityChange HWSCAPCHG NewEntity HWSNEWENT
CapacityRecord HWSCAPREC PowerChange HWSPOWCHG
CommandResponse HWSCMDRESP SecurityEvent HWSSECUR
DisabledWait HWSDBLWAIT StatusChange HWSSTATCHG
EntityException HWSENTEXC TopologyComplete HWSTOPCOMP
HardwareComm.Error HWSHWCOMER TopologyError HWSTOPERR
HardwareInterfaceDown HWSINTFDWN Other HWSOTHER
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BCPii Integration
§ WritesassociatedeventdataasMLWTO– provideshistoricalrecordofeventdatathatcanbeanalyzedandusedtodeveloprule-
basedeventautomation
CAOPS/MVSAPIHWSVSampleRule
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BCPii IntegrationGET/SETAttributesExamples
GetthevalueofIFLPWMAX,anunsignedintegerattributerepresentingthemaximumIFLprocessingweightforLPARCA03.TheREFRESHparameterdeterminesifthecommandissentthroughBCPii orusestheHiSRV cachedvalue.
SetthevalueofIFLPWCAP,aBooleanattributerepresentingifIFLprocessingweightforLPARCA03iscapped,toTRUE.TheTIMEOUTparametersetto‘0’indicatesthiscommandwillnevertimeout.
31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
BCPii IntegrationHiSRV Commands
Command Target Entity Description$TEST$$ many Sendatestcommands,usedfordevelopmentanddebuggingACTIVATE CPC/LPAR ActivateaCPCorLPAR.CannottargetcurrentCPC/LPARCBU CPC Activate/deactivateCapacityBackupforaCPCDEACTIVATE CPC/LPAR DeactivateaCPCorLPAR.CannottargetcurrentCPC/LPARHWMSG CPC Controlstatusofmessagesretainedbythehardware.LOAD(IPL) LPAR RequestaLoadoperationonanLPAR.CannottargetcurrentLPAROOCOD CPC Activate/DeactivateOn/OffCapacityOnDemandforaCPCOSCMD LPAR SendanoperatingsystemcommandtotheOSofanLPARPSWRESTART LPAR PerformaPSWRestart.CannottargetcurrentLPARSTART LPAR StartanLPAR.CannottargetcurrentLPARSTOP LPAR StopanLPAR.CannottargetcurrentLPARSYSREST LPAR RequestasystemresetofanLPAR.CannottargetcurrentLPAR
32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SecurityIntegration
33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SecurityIntegration
§ TheOPSECUREfunctionusesasetofsubfunctions toreturninformationthatisrelatedtoCAACF2,CATopSecret,orRACF.OPSECUREreturnsthefollowingtypesofinformation:– Subfunction codeAextractsdatafromthestandardsecuritycontrolblock(ACEE).– Subfunction codeDverifiesdatasetaccess.– Subfunction codeFfetchesafieldfromalogonIDrecord.– Subfunction codeIreturnsinformationaboutthesecurityproductonyoursystem.– Subfunction codePenablesyoutovalidateauserpassword,setanewone,orboth.– Subfunction codeRrequestsgeneralresourceinformation.
§ IfthesecurityproductwasunknowntoCAOPS/MVS,issuethefollowingcommandafterthesecurityproductisstarted:– FOPSx,RESTART(SECURITY)
OPSECUREFunction
34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
MFX51E CAOPS/MVSandSystemStateManager 11/15/2016at11:00am
MFX116EL Hands-OnLab:CAOPS/MVSandSystemStateManager 11/15/2016at1:00pm
MFX178EIdeation:IntelligentMainframeManagement–UnderstandingAutomationsRoleinProblemResolution 11/15/2016at3:00pm
36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MustSeeDemos
IntelligentMainframe
CAOPS/MVSMainframeTheatre
IntelligentMainframe
CAVantageMainframeTheatre
IntelligentMainframe
CASYSVIEWMainframeTheatre
IntelligentMainframe
CAUIMforzSystemsMainframeTheatre
37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Thankyou.
Stayconnectedatcommunities.ca.com
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.38 @CAWORLD#CAWORLD
MainframeandWorkloadAutomation
FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI