pre-con ed: ca workload automation ae: tips and tricks
TRANSCRIPT
![Page 1: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/1.jpg)
World®’16
CAWorkloadAutomationAE:TipsandTricksMikeWoods,CATechnologies,PrincipalEngineeringServicesArchitect
MFX09E
MAINFRAMEANDWORKLOADAUTOMATION
![Page 2: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/2.jpg)
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
![Page 3: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/3.jpg)
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
ThissessionwillcovermanytipsandtricksgatheredfromCAexpertsandcustomers.Thepresentationwillcoverdaytodayusageincludingschedulingandmonitoring.
MichaelWoodsCATechnologiesPrincipalEngineeringServicesArchitect
![Page 4: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/4.jpg)
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
CAWORKLOADAUTOMATIONAE
LOADBALANCING
WORKLOADCONTROLCENTER
Q&A
1
2
3
4
![Page 5: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/5.jpg)
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ PassingjobattributeasenvironmentvariablesThissettingsmakessomejobattributesavailableasenvironmentvariables– SetJobAttributeEnvironmentals=0|10Specifiesthattheschedulerdoesnotautomaticallysetthesupportedjobattributesasenvironmentvariables
1Specifiesthattheschedulerdoes automaticallysetthesupportedjobattributesasenvironmentvariables
ConfigurationSettings
![Page 6: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/6.jpg)
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ PassingjobattributeasenvironmentvariablesThissettingsmakessomejobattributesavailableasenvironmentvariables
__job_name=job_name
__box_name=box_name
__machine=machine
__run_machine=run_machine
__max_exit_success=max_exit_success
ConfigurationSettings
![Page 7: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/7.jpg)
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ Passingenvironmentvariablesasjobattributes– Jobattributeenvvars addedin11.3release– Onlyapplicablefor11.3+agents– Envvar attributecancontainupto255charactersperentryI.Eenvvars:MIKE=WOODS– Overrideswhatisinjobprofile– Maybeusefulfortestingchangeswithoutchangingscripts– Canbeusedtoswitchpwd
![Page 8: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/8.jpg)
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ Failbacksimplification– PrimaryFailbackMode settingsettings0|1|20defaultsetting,muststopschedulertoregainHAstatus1Theschedulerrunsdormantlikeashadowuntilthenextfailoverand
takesoverprocessingevents2Theprimarybecomestheprimaryagainwithoutshuttingtheshadow
downfirst
§ Note– ADBfailoverwillstillrequireanautobcptosynchronizethedatabaseagain
ConfigurationSettings
![Page 9: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/9.jpg)
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ ManagerHostAlias– Isusedtodefinehowtheagentdefinesthemanagerhostname
communication.manageraddress_1=SWATRH5x64-3– Helpsensureagentsresolvenametocommunicateback– Onlyapplicabletothescheduler
§ AutoServerAliasId– SameideaasManagerHostAlias
ConfigurationSettings
![Page 10: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/10.jpg)
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ AppendMessages– AppendEventMessageText settingvalues0|1– 0messagesaredisplayedasnormal– 1Specifiesthattheeventmessagetextiswrittenonthesameline
afterthekeywordTEXT.– Createsalongermessagetomakelogscrapingmoreeffective
ConfigurationSettings
![Page 11: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/11.jpg)
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ AUTOSYS_LOG– Issetontheclientenvironment– Whenset,createsacopyoftheoutputintothe$AUTOUSER/outdir
§ I.E.autorep.31150.out§ Intheaboveexample,31150isthepid oftheclirequest
– WhencombinedwithISDBGACTIVitgivestheadditionaloutputintothefileaswell.Thiscreatesasingleplacetocollectthedatawhentryingtotroubleshootaproblem.
EnvironmentVariables
![Page 12: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/12.jpg)
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ RESTRICT_FORCE_STARTJOB
§ IssetontheschedulerenvironmentSpecifiesiftheschedulerrestrictsyoufromrunningmultiplejobinstanceswhilethejobisinaRUNNINGstate.CAUAJM_I_60000Job(test)isalreadyrunning.FORCE_STARTJOBhasnoeffect.
EnvironmentVariables
![Page 13: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/13.jpg)
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWorkloadAutomationAE
§ AfteraDBfailover,theyneedtoberesynced
§ Oracleprovidesdatapumputilitythatismoreefficientthatautobcp– CreateLinkstoeachdatabaseasdocumentedintheAdminguide– Testlinks– UseautobcpORAdp.plwhendoingaresynch
DBFailover
![Page 14: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/14.jpg)
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LoadBalancing
§ UsingJobClass– Usedtodefinehowmanyconcurrentjobscanberunningbeforequeing– AgentallowsyoutoconfigurecustomjobclassesInitiators.class_n=jobclass,number_of_initiatorsExampletocreateanadditionaljobclassnamedDBthatallows10jobsofthatclasstorunatanygiventime.Initiators.class_1=DEFAULT,1000Initiators.class_2=DB,10
configuration
![Page 15: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/15.jpg)
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LoadBalancing
§ UsingJobClass– Job_class jobattributeusedtospecifywhichclassitshoulduseExample:insert_job:dbtrig1job_type:DBTRIGJob_class:DBmachine:DB_agenttablename:storesconnect_string:"jdbc:sqlserver://myhost:1433;DatabaseName=pubs"
configuration
![Page 16: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/16.jpg)
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LoadBalancingconfiguration
§ UsingJobClass– Automatiaclly assignajobtoaclass– initiators.afmjobclassmap_n=verb,subverb,jobclass– FromReceiver.log/WAAE_WF0.1/MAINRUNSQOOPJOB– Updateagentparm.txtinitiators.class_2=Hadoop,10initiators.afmjobclassmap_1=RUN,SQOOPJOB,Hadoop– Verify7433.843957_1/WAAE_WF0.1/MAINacquiredinitiatorofclassHADOOP.9left
![Page 17: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/17.jpg)
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
§ MyProfile– Userscansetpersonalpreferences
§ TimeZone– Displaystimestampsinselectedtimezone§ Date/timeformat- selecttheformatforthedateandtimebasedoncountrypreferences
§ Type– choosetheformatofhowmuchinformationisdisplayed– I.E.Short=10/2/161:54AM
– I.EFull=Sunday,October2,20161:54:26AMGMT
– I.E.inTurkish=02Ekim 2016Pazar 01:54:35GMT
Personalcustomizations
![Page 18: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/18.jpg)
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
§ QuickEditandApplicationEditor– Userscandecidewhatjobtypestheywouldliketoseeonpalate.
§ Dashboard– Candisplaywidgetstheyhaveaccessto– Canrearrangethem– Modifythesize– Numberofrowsdisplays– Auto-refresh
Personalcustomizations
![Page 19: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/19.jpg)
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
§ Monitoring– Modifythesize– Numberofrowsdisplays– Auto-refresh
Personalcustomizations
![Page 20: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/20.jpg)
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
§ Displaysjobsina‘filedirectory’style
§ Boxesareexpandedtoshowjobswithinandnestedaredisplayedaswell.
§ Jobselectedinflowviewishighlightedintreeview
§ Jobselectedintreeviewisbroughtintofocusonflowview
TreeViewinMonitoring
![Page 21: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/21.jpg)
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenterUsingTree-View
![Page 22: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/22.jpg)
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
§ Increaseproductivityandhelpensurestandardsareatleastdisplayed
§ Usethebatchinterfacetocreate
§ Canbeglobaloruserspecific
JobTemplates
![Page 23: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/23.jpg)
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
CreatesjobtemplatestobeusedbothinQuickEditandApplicationEditor
§ Globaltemplateforallusers,templatesonlyforspecificusesSyntax:job_template -u,--user<user>-p,--password<password><-g,--global|-f,--for-user<user>><-l,--list|-r,--remove<template-name>|-i,--import<template-name><file-name>|-export<template-name><file-name>[-o,--overwrite]
![Page 24: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/24.jpg)
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
1. Useautorep toprepareJILdefinitions2. ModifyJILfiletoprepareitforimportasatemplate3. Createaglobaltemplateforallusers4. Createatemplateforejmcommanderuseronly5. Listtheglobaltemplatesavailable6. Listthetemplatesavailableforejmcommanderuseronly7. LogintoQuickEditorasejmcommanderandusethenewtemplates
![Page 25: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/25.jpg)
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenterPrepareJILDefinitions
Note1:AfterJILfilesareready,copythemtoacomputerrunningWCC.
Note2:Itispossibletohaveonly1jobdefinitionfor1filetoimportastemplate.
§ Useautorep outputtocreateaJILfile:autorep–q–jJOBNAME>filename.jil
![Page 26: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/26.jpg)
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenterPrepareJILDefinitions Continued
§ Deleteinsert_job:JOBNAME§ Incaseyouwanttousejobnameasapartoftemplate:
– renameinsert_job:JOBNAMEtojob_name:JOBNAME– putjob_type:TYPEonanewline
§ RepeatthesameforbothJILfiles
![Page 27: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/27.jpg)
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenterImportasaGlobalTemplate
§ Importglobaltemplate:job_template.bat-uejmcommander-pejmcommander-g-iglobalTemplatec:\temp\global_template.jil
![Page 28: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/28.jpg)
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenterImportasaUserTemplate
§ Importusertemplate:job_template.bat-uejmcommander-pejmcommander–fejmcommander-iuserTemplatec:\temp\user_template.jil
![Page 29: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/29.jpg)
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
§ Listtheglobaltemplatesavailable:job_template.bat-uejmcommander-pejmcommander–l-g
§ Listtheusertemplatesavailable:job_template.bat-uejmcommander-pejmcommander–l-f
WorkloadControlCenterListtheTemplates
![Page 30: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/30.jpg)
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
![Page 31: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/31.jpg)
31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WorkloadControlCenter
§ Logonagainafteraddingadd/modifyatemplateusingjob_template CLI
§ Logonagainaftermodifyingfilterjobtypesfilterusingfilter_jobtypes CLI
§ LogonagaintoapplyneworupdatedEEMpolicies
![Page 32: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/32.jpg)
32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
![Page 33: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/33.jpg)
33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessionsSESSION# TITLE DATE/TIME
MFX12ECriticalPathAnalysiswithCAWorkloadAutomation(AE)iDash– Overview
11/14/2016at10:00amBanyanA/B
MFX20EBeyondtheCAWorkloadAutomationAECLI– LeveragingCAWLAAEWebServices
11/14/2016at5:00pmJasmineC
MFX27E PlanningDisasterRecoveryforCAWorkloadAutomationAE11/15/2016at9:00amJasmineC
MFX122S VisionandRoadmap:CAWorkloadAutomationAE11/16/2016at12:45pmBanyanA/B
![Page 34: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/34.jpg)
You Are Cordially Invited……..CA Workload Automation & CA Process Automation
Where? South Seas E When? Tuesday, November 15th
Time? 4:30pm – 6:00pm
Customer & Partner Reception
![Page 35: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/35.jpg)
35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MustSeeDemos
CAConversionService
CAWorkloadAutomationMFandWorkloadAutomation
SeamlessApplicationAutomationAgents&AdvancedIntegrationsMFandWorkloadAutomation
AdvancedWorkloadAnalyticsCAWorkloadAutomationiDashMFandWorkloadAutomation
Innovations:CrossEnterpriseWorkloadAutomationCAWLAAE&DEMFandWorkloadAutomation
![Page 36: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/36.jpg)
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.36 @CAWORLD#CAWORLD
MainframeandWorkloadAutomation
FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI
![Page 37: Pre-Con Ed: CA Workload Automation AE: Tips and Tricks](https://reader033.vdocuments.us/reader033/viewer/2022051007/5874134e1a28abcb5b8b4cb5/html5/thumbnails/37.jpg)
37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Thankyou
Stayconnectedatcommunities.ca.com