44
World ® ’1 6 Upgrading CA Universal Job Management Agent to CA Workload Automation System Agent Charles Walls, Principal Consultant, CA Technologies MFX19E MAINFRAME AND WORKLOAD AUTOMATION

Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

Embed Size (px)

Citation preview

Page 1: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

World®’16

UpgradingCAUniversalJobManagementAgenttoCAWorkloadAutomationSystemAgentCharlesWalls,PrincipalConsultant,CATechnologies

MFX19E

MAINFRAMEANDWORKLOADAUTOMATION

Page 2: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

1 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Inthissession,CAWorkloadAutomationCA7®Edition(CAWACA7)customerswilllearnaboutthearchitecturedifferencesoftheagentsandroleresponsibilitycomparison.Wewillalsoreviewbasicmonitoringtechniquestroublingshootingissueswiththeagentpriortoescalation.

CharlesWalls

CATechnologiesPrincipalConsultant

Page 4: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

CAWORKLOADAUTOMATIONAGENTSOVERVIEW

UNIVERSALJOBMANAGEMENTAGENT(CAUUJMA)- HOWITWORKS

AGENTCOMMANDSANDMONITORING

CAWORKLOADAUTOMATIONSYSTEMAGENT- HOWITWORKS

ARCHITECTUREDIFFERENCES

MIGRATINGUUJMAWORKLOADTOCAWASYSTEMAGENT

1

2

3

4

5

6

Page 5: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationAgentsOverview

§ CAUUJMAandCAWorkloadAutomation(CAWA)SystemAgent…they’rebothworkloadagentscorrect?

§ CanIstilluseCAUUJMA?

§ WhyshouldIconsiderchanging?

§ IsCAUUJMAgoingaway?

Page 6: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationAgentsOverview

§ TerminologyUsedDuringOurSession– CAUUJMAUniversalJobManagementAgent– CCICommonCommunicationsInterface– CA7TOUNICA7Job tosubmitcrossplatformrequeststoCAUUJMA– XPJOBCA7usedtosubmitcrossplatformrequeststoCAUUJMA– CAWorkloadAutomationSystemAgentRelease11.3– AGJOBCA7usedtosubmitcrossplatformrequeststoCAWASystem

Agent

Page 7: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

UniversalJobManagementAgent(CAUUJMA)

§ HowItWorks– SubmitsandTracksDistributedWorkloads– Sendsjobinitiation,terminations,failurestomainframe– UsesCACCSCCICommunicationsLayer(CCITCPGW)– CAUUJMACCIRMTD.RCusedtoconnecttotheMF– RequiredROOT/Administratorforinstall– Dynamicdatasetcreation/update– XNODEprimary|SecondaryserverforXPJOBtypes

Page 8: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

UniversalJobManagementAgent(CAUUJMA)

Oid(WALCH05-U182868,CAI_OPR_SAFD ) Did( , ) type(L)Oid(WALCH05-U182868,CA_Cal_Chk ) Did( , ) type(L)Oid(WALCH05-U182868,ROUTER_SERVER ) Did( , ) type(L)Oid(WALCH05-U182868,EMSRVC_ROUTER_U ) Did( , ) type(L)Oid(WALCH05-U182868,CAU9SET SetUp Mgr ) Did( , ) type(L)Oid(WALCH05-U182868,SUBMITC Server ) Did( , ) type(L)Oid(A21SENF,CASCHED Job track ) Did( , ) type(R)Oid(A21SENF,CASCHED Server ) Did( , ) type(R)Oid(A21SENF,CA7XE21 Server ) Did( , ) type(R)Oid(A21SENF,CAU9SET SetUp Mgr ) Did( , ) type(R)Oid(A21SENF,SUBMITC Server ) Did( , ) type(R)Oid(A21SENF,CA7XE21 Job track ) Did( , ) type(R)Oid(A21SENF,CA-7 XTM UC07 ) Did( , ) type(R)

LOCAL=WALCH05-U182868WALCH05-U18286832768startupalias=walch055Remote=USI121MEA21SENF32768startupport=8500Remote=USI182MEA21SENF32768startupport=8500

§ ConfiguringCACCI– LocalHostNameslongerthan8requiredAlias– RemotestatementsrequiredforeachCAWACA7Instance

Page 9: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

UniversalJobManagementAgent(CAUUJMA)

§ SupportPlatforms– HP,AIX,WIN,Linux,Linux/390– OS400,Solaris,Tandem

CA Workload Automation CA 7

TCP/IP

CCITCPGW

CCI

CAUUJMA

CCI CCI CCI CCI

CAUUJMA CAUUJMA CAUUJMA CAUUJMA

Page 10: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

UniversalJobManagementAgent(CAUUJMA)

§ Challenges– SingleJobtype– Mostadvancedintegrationsrequiredawrapperscript– CCI

§ CCITCPGWMFGatewayinstallationrequirements§ MultipleSystemSupport§ Reliability

Page 11: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationSystemAgent

§ HowitWorks– DirectsubmitusingTCP/IP(nomainframeinitiators)– AESencryptionusingshortdatapackets– Nativejobtypetemplatesreducingoreliminatingscripting– DataEventsensorsandIntegrationpointstoyourbusinessapplications– CAWACA7willbroadcastnewlocationtoallagentsifmovedtoan

alternatesystem

Page 12: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationSystemAgent

I5

WindowsAIXHPUX

WebUIVTAMISPF

LINUX/z/LINUX

ERP

Database Web/ApplicationServices

CAWorkloadAutomationCA7

RemoteExecutionz/OS

TCP/IPAESEncryption

CAiDash

Page 13: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationSystemAgent

§ TypicalDeploymentRoleandResponsibility– Systems(SYS)– CA7Configuration/IAS

– ProductionControl(PC)– CAWACA7/CAWAAgentParameterfile§ /IAS,FUNC=RECONFIG

– ServerAdministration(ADM)– AgentInstallation

– Operations(OP)– MonitoringandErrorRecovery§ LQ,JOB=,LIST=ALL

§ AGFILE,JOB=

Page 14: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationSystemAgent

MANAGERNAME(CA7XE21)+

RETRYINTERVAL(4000)RETRYCOUNT(5)SLEEPTIME(300)

AGENTRCVRECEIVER1PORT(4701)

AGENTCW_AGENT2+

PLATFORM(NT)ASCIICRYPTNAME(CRYPT1)+

ADDRESS(USI199MX)PORT(7521)

AGENTEUI122MUX+

PLATFORM(UNIX)ASCIICRYPTNAME(MVS66)+

ADDRESS(EUI122MUX)PORT(7530)

§ ConfiguringCAWACA7tosupportCAWASystemAgent– ManagerandReceiverportarefixedvalues

§ CAWAAgentInstallpromptsforthesevalues– AgentStatementsareaddedtodefinetheagenttoCAWACA7

§ Characteristicsinclude– AgentName

– Platform

– Encryption

– Hostname

Page 15: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationSystemAgent

LAGENT

AGENT=*

AGENTName Active Host

CW_AGENT2 YES USI189WA

U182868 YES WALCH05-u182868.ca.com

BRAGENT NO BR_WIN_APPSERVER1

WA_AGENT YES 130.119.195.62

§ CAWASystemAgentCommand– /IAS,FUNC=RECONFIG|STARTCOM|STOPCOM

§ UpdatesCAWACA7afterchangestoAgentparameterfile§ StartandStopAgentCommunications

– LAGENT§ ListAgentsdefinedtoCAWA7andstate

Page 16: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWorkloadAutomationSystemAgent

Page 17: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

# Agent name

agentname=u182868

# Communications

#communication.inputport=7520

communication.managerid_1=CA7XE21

communication.manageraddress_1=usi121me

communication.managerport_1=4701

communication.monitorobject_1=u182868/AGENTMON1.0/MAIN

# Security

#security.filename=C:/Program Files/CA/WA Agent/security.txt

security.level=ON

security.cryptkey=C:/Program Files/CA/WA Agent/cryptkey.txt

§ CAWAAgentParameters– Submitjobsonbehalfofanotheruser– Communicationparameters– Security

Page 18: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

§ Security– UJMAjobsubmissionmayrequireapasswordandavaliduserIDin

orderforajobtobeexecuted.§ ExtNodeL.schconfigurationfileforyouwithasingleentryof-n=*,*,Etoenablepasswordvalidationforallusersonallnodes.

– CAWASystemAgentuserIDscomefromeithertheCAWACA7jobdefinitionorfromtheagentPARMLIBdata.§ PasswordsassociatedwithuserIDs,agents,andjobtypesaremaintainedthroughtheAGPSWDcommand

Page 19: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

§ SecurityCAWASystemAgent– AES32characterencryptions/FIPS140-2compliant– CAWASystemAgentLocalsecurityifenabledperformthefollowing

actions§ Ifthesecurity.txtfileexisttheagentusestherulesdefinedinthefile§ Ifarequestdoesnothaveamatchinthesecurityfiletheagentdeniestherequest.

§ ThefollowingruledeniesanyschedulingmanageruserfromsubmittingjobsundergemoranyuserIDsthatbeginwithgem,fromalldirectories.

xd*gem*+

Page 20: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

000001CMDNAMEC:\SCRIPTS\DIR1.BAT

000002ARGS"USI1217YSETPARM=NOUPDATE=YES"

000003EXITCODE0SUCCESS

000001#7UNI

000002//CWX0003PJOB1520000,'MVSTOUNIX',CLASS=A,MSGCLASS=X

000004//SYSINDD*

000005NODE=U182868

000006SUBFILE=C:\SCRIPTS\DIR1.BAT

000007PARM1=USI1217YSETPARM=NOUPDATE=YES

000010//DDDSN=XPS.PASSWORD(CWX),DISP=SHR

§ Controlparametersfortheapplication– CAWACA7TOUNISYSINParameters– XPJOBdefinedaspartoftheCAWACA7definition– CAWASystemAgentstoredinCAWACA7JCLLibrary

Page 21: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

LQ,JOB=CWX0003P,AGENT=CW_AGENT2

LIST=STATUS JOB=CWX0003P

JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB

NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID MODE REQ STATUS

CWX0003P RDY 0548 284/1717 284/1617 284/1717 WIN- 001 DEMD 000 W-AGENT

§ ErrorRecovery– CA7TOUNICAUUJMAabendswithU4000ifAgentisoffline– CAXPJOBCAUUJMAissueserrorNODEFailed– CAWASystemAgentstatusisW-AGENT

§ JobwillwaituntilCAWAAgentisavailable§ Retryintervaldetermineshowlogbeforetimeout

Page 22: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

§ CAWASystemAgentCommands– LJCKCommandforCrossPlatformJobs

§ Displayscrossplatformmessagethatwillbesenttotheremotenode§ ProvidesSyntaxcheckingforcrossplatformjobs§ ResolvesCAWACA7GlobalVariables

Page 23: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferencesLJCK,JOB=CWX0003P

DSN=CAIXE21.CA7.USERLIB DATE=16.284 PAGE 0001

JOB=CWX0003P MEMBER=CWX0003P JCLID=100 LIST=MERGE

***************************** JOB DEFINITION DATA *****************************

JOBNAME : CWX0003P

JOBTYPE : NT_JOB

AGENT : CW_AGENT2

USER :

************** DATA FROM PARMLIB (WITH EXPANSION AND SUBSTITUTION)*************

1. CMDNAME C:\SCRIPTS\DIR1.BAT

2. ARG "USI1217Y SETPARM=NO UPDATE=YES"

3. EXITCODE 9 SUCCESS

***************** DATA FROM AFM (ERRORS DISPLAYED WITH <nnnnn>)****************

AGENT CW_AGENT2

CMDNAME C:\SCRIPTS\DIR1.BAT

ARG "USI1217Y SETPARM=NO UPDATE=YES"

<00002> CAIAS0103E Invalid statement ARG for job/request type NT_JOB

EXITCODE 9 SUCCESS

Page 24: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

----------------- CA-7 Job SPOOL For Agent cw_agent2 ---------

Jobname: CWX0003P CA7#: 0548 System: TEST SchId: 0001 Q-DtTm: 16284 1617

Job Type: NT_JOB Spool Offset: 0 Next Offset: EOF

----------------------------------------------------------------

Output of messages for workload object CWX0003P.N00548/TEST.S00001D162841617/M+

AIN

Start date Mon Oct 10 15:24:13 2016

C:\Program Files (x86)\CA\WA Agent R11.3.4>sleep.exe 10

§ CAWASystemAgentCommands– AGFILEretrievesCrossPlatformStandardOutput

§ ScriptoutputretainedonCAWASYSAgentServer§ DefaultistoretrievelastrununlessusingLIST=ALL§ OutputavailableinCA7WebClient

Page 25: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ArchitectureDifferences

CWX0003P.N01485/TEST.S00001D162861411/MAIN State FAILED Cmpc(10)

SetEnd JobLogId(54F045CBD68D108E4055AB74787AC28FC35247F8)

User(cw_agent2) Host(WALCH05)

§ CAWASystemAgentReceiverandTransmitterLogs– LocatedinagentinstallDir/LOG– ReceiverLogcontainsinformationfromSchedulingmanager– TransmitterLogcontainsinformationsenttomanager

Page 26: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

§ Beforeyoustartconvertingitisgoodtofollowgeneralgoodpracticeprinciples– ReviewCAWACA7Interfacesguideforr11.3/r12

§ Cross-PlatformSchedulingusingAGJOB§ CA7TOUNIConversionUtility§ CAXPJOBConversionUtility

– Createatestplan

– EngageCASupportifneeded

Page 27: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

InstallCAWASystemAgent

ReviewCA7TOUNISYSINandDDconcatenation

Configure CAWACA7IAS(IntegratedAgentServices

ExecuteAGJOBTest

TOUNItoXPJOBConversionUtility

ComparisonReview

CAWASystemAgenttestreview

XPJOBtoAGJOBConversionUtility

Select candidatesforUtilitytesting

Page 28: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

CAWACA7

TCP/IP

CCITCPGW

CCI

CAUUJMA

CAWASystemAgent

CAWASystemAgent

CCI

CAUUJMA

§ Compatibility– BothArchitecturescancoexist– BothAgentscanrunonthesameserver– Migratebyjob,applicationorserver

Page 29: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

§ TheConversionutilitieshavetwobenefits.– Theutilityprovidesasemi-automatedmechanismforchangingyour

TOUNI/XPJOBstoUNIX(UNIX_JOB)orWindows(NT_JOB)definitions.– Theutilitymaintainsanyrequirements,triggers,andschedules

associatedwiththeoriginalXPJOBdefinition.

OneofthemostsignificantdifferencesyouseewhentheconversioncompletesisthelackofCA7TOUNIrunningasjobsontheMFandXPJOBPARMnnstatements

Page 30: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

CMDNAMEC:\SCRIPTS\DIR1.BATARGS"USI1217YSETPARM=NOUPDATE=YES"EXITCODE0SUCCESS

000001#7UNI000002//CWX0003PJOB1520000,'MVSTOUNIX',000003//CLASS=A,MSGCLASS=X000004//SYSINDD*000005NODE=U182868000006SUBFILE=C:\SCRIPTS\DIR1.BAT000007PARM1=USI1217Y000008PARM2=SETPARM=NO000009PARM3=UPDATE=YES000010//DDDSN=XPS.PASSWORD(CWX),DISP=SHR000011/*

CAWACA7TOUNI

CAWACA7 SystemAgent

Page 31: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

000001#7UNI

000002//CWX0003PJOB1520000,'MVSTOUNIX',

000003//CLASS=A,MSGCLASS=X

000004//SYSINDD*

000005NODE=U182868

000006SUBFILE=C:\SCRIPTS\DIR1.BAT

000010//DDDSN=XPS.PASSWORD(CWX),DISP=SHR

§ CA7TOUNIPre-ConversionUtility– TheutilitydynamicallyallocatesanypermanentSYSINDDdatasets

associatedwiththeCA7TOUNIjob– Theutilityaddseachrecordtothenewsequentialfileaspartofa

SYSINDD*statement.– CreatesIEBUPDTEaddingeachCA7TOUNIjobtoanewPDSforinputto

theconversionutility

Page 32: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

§ CA7TOUNIConversionUtility– CreatesacopyofCAWACA7JCLLIBthatwillbeusedbyconversion

utility– Createssequentialfile(CONVCMDS)containingCAWACA7update

parameterstoconvertCA7TOUNIjobstoXPJOBS– CAWACA7BatchTerminal(BTI)jobusesoutputfileCONVCMDSto

executethechanges– Maintainsanyrequirements,triggers,andschedulesassociatedwith

theoriginalCA7TOUNIjob.TheprocessalsomaintainsPROFILEandSTEPLIBdatasetdefinitionsresultingfromtheoriginalCA7TOUNILOAD,ordoneusingtheDB.6panel.

Page 33: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

§ XPJOBUtility– BackupcopiesofexistingXPJOBOptionalPARMLIBmembersare

created– Theconversionfile,XNODEandXPSWDcleanupfiles,andagentuser

ID/passwordfilearegenerated– BatchTerminalInterfaceprogramreadstheconversionfilethatwas

createdtoperformtheactualconversion– TheAgentSecurityfileisusedtoupdateuserIDsandpasswords

requiredtorunthejobsattheAgentsaredefined– cleanupoldXNODEandXPSWDentriesthattheoriginalXPJOBsused

Page 34: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

§ XPJOBConversionUtility– Thefollowingconditionsandrulesmustbetruefortheconversionto

completesuccessfully:– TheXPJOBmusthavesuccessfullyexecutedinaCAWorkload

AutomationSEenvironmentwithoutQJCLupdates.Jobsthathavenotrunsuccessfullymostlikelyhaveerrorsthatwouldprecludetheirsuccessfulconversion.

– UtilityprovidesmigrationassistanceforCAUUJMAonlyjobsdestinedforaUNIXorWindowsenvironment.

Page 35: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MigratingUUJMAWorkloadtoCAWASystemAgent

§ XPJOBConversionUtility– TheXPJOBmusthavesuccessfullyexecutedinaCAWACA7– UtilityprovidesmigrationassistanceforCAUUJMAonlyjobsdestined

foraUNIXorWindowsenvironment.

Page 36: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AgentCommandsandMonitoring

§ CAUUJMAAgentCommands– UNIFSTAT- Liststatusofagentservices– UNISHUTDOWNALL– StopsallCAUUJMA/CCIServices– UNISTARTALL– StartsAllCAUUJMA/CCIServices– UNICYCLEALL– Stops/StartsallCAUUJMACCIServices

§ AWASystemAgentCommands– ./cybAgent &- StartsAgent– ./cybAgent –s- StopsAgent– ./cybAgent –v– statusandreleaseSPinformation

Page 37: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AgentCommandsandMonitoringLQ,JOB=CWX0003P,LIST=ALL

LIST=ALL JOB=CWX0003P DATE=16.284 PAGE 0001

JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB

NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID MODE REQ STATUS

CWX0003P REQ 0548 284/1717 284/1624 284/1717 WIN-AGJ 001 DEMD 001 R-C0010

--------------------------- JOB INFORMATION ---------------------------

. SYSTEM NAME = TEST

. DRCLASS = **NONE**

. AGENT: CW_AGENT2

------------------------- REQUIREMENTS STATUS -------------------------

_______ JOB RESTART REQUIRED

-------------------------- AGENT INFORMATION --------------------------

Job Type: NT_JOB JobNo: 14848

Agent: CW_AGENT2 Status:

User:

--------------------------- PARM INFORMATION --------------------------

CMDNAME C:\SCRIPTS\DIR1.BAT

Page 38: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AgentCommandsandMonitoringLQ,JOB=CWX0003P,AGENT=CW_AGENT2

LIST=STATUS JOB=CWX0003P

JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB

NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID MODE REQ STATUS

CWX0003P RDY 0548 284/1717 284/1617 284/1717 WIN- 001 DEMD 000 W-AGENT

LQ,JOB=CWX0003P

LIST=STATUS JOB=CWX0003P DATE=16.284 PAGE 0001

JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB

NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID MODE REQ STATUS

CWX0003P ACT 0532 284/1701 284/1600 284/1701 WIN-AGJ 001 DEMD 000

LQ,JOB=CWX0003P

LIST=STATUS JOB=CWX0003P DATE=16.287 PAGE 0001

JOB QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)-- CPU SCH ENTRY MSTR JOB

NAME NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN ID MODE REQ STATUS

CWX0003P REQ 1485 286/1511 286/1413 286/1511 WIN-AGJ 001 DEMD 001 R-C0010

------------------------- REQUIREMENTS STATUS -------------------------

_______ JOB RESTART REQUIRED

Page 39: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AgentCommandsandMonitoring

§ /Agentcommand– SendsarequesttoaCAWASystemAgenttoperformaspecificcontrol

actions§ Refreshtheagentsecurityfiles§ Clearlogfiles

§ Stoptheagentaftercurrentworkiscomplete

§ Updateaconfigurationsetting

§ Verifythecommunicationlinktotheagent

/AGENT,AGENT=CW_AGENT2,FUNC=PING

RESPONSE STATUS Plugin(status) User(cw_agent2)

Host(WALCH05)

SCM0-00 /AGENT COMPLETED AT 15:34:52 ON 16.286.

Page 40: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 41: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

40 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

MFX11E BenefitsofUpgradingtoCAWorkloadAutomationCA7Editionr12

11/15/2016at1:00pmJasmineC

MFX134S UseCase:MigratingfromTermaJawstoCAWorkloadAutomationiDash

11/17/2016at12:45pmBanyanA/B

MFX125S VisionandRoadmap:CAWorkloadAutomationCA7Edition 11/17/2016at3:45pmJasmineB

MFX137S EfficientlyManagerSLAsusingPredictiveAnalyticswithCAWorkloadAutomationCA7Edition

11/17/2016at4:30pmJasmineC

Page 42: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

41 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

Innovations:CrossEnterpriseWorkloadAutomationCAWLAAE&DEMFandWorkloadAutomation

SeamlessApplicationAutomation

Agents&AdvancedIntegrationsMFandWorkloadAutomation

CAConversionasaService

CAWorkloadAutomationMFandWorkloadAutomation

ModernWorkloadAutomation

CAWLADEMFandWorkloadAutomation

Page 43: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

42 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MainframeandWorkloadAutomation

FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI

Page 44: Pre-Con Ed: Upgrading UUJMA (CA 7 Agent) to CA Workload Automation System Agent

43 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou

Stayconnectedatcommunities.ca.com