Pre-Con Ed: Best Practices: Enabling CA Workload Automation DE Artifacts to Move Applications...
-
Upload
ca-technologies -
Category
Technology
-
view
30 -
download
3
Transcript of Pre-Con Ed: Best Practices: Enabling CA Workload Automation DE Artifacts to Move Applications...
World®’16
BestPractices:EnablingCAWorkloadAutomationDEArtifactstoMoveApplicationsThroughtheDevelopmentLifecycleJohnRooney,Sr.PrincipalConsultant,CATechnologies
MFX23E
MAINFRAMEANDWORKLOADAUTOMATION
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
AsCAWorkloadAutomationDE(CAWLADE)userstakeadvantageofpre-
productionenvironmentstotestouttheirjobflows,ithasbecomemore
importanttobeabletoabletomigratetheCAWLADEartifactsfromDevto
productionwithaslittlemanualinterventionaspossible.Thistalkwilldiscussthe
strategiesandtoolstousetocreateanautomatedprocesstomigrateyourCA
WLADEartifactsthroughthelifecycleprocess.
JohnP.RooneyCATechnologiesSr.PrincipalConsultant
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
MULTIPLEENVIRONMENTSANDSTANDARDS
USEOFSYMBOLICS
LEVERAGINGJAVASCRIPTS
IMEXUTIL – IMPORT/EXPORTUTILITY
1
2
3
4
Q&A
SUMMARY5
6
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DecisiontouseyourEnterpriseWorkloadproductornot?
§ Istheapplicationbusinesscritical?
§ Doestheapplicationhaveabusinessimpacton:– Revenue– Service– Customer
Yes.ThenyouneedtousetheEnterpriseWorkloadsolution
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OnceyouhaveaProductionWorkloadinstance,whatisthevalueofaPre-Productioninstance?§ Itisusedtoprotectproduction
– Minimizespotentialforproductionfailureoroutage– Testingofapplicationflowsbeforeproduction– TestingofApplicationIntegrationsinpre-prodenablesbetter
EnterpriseWorkloadusageandvisibility– PartofaDevOpsimplementationstrategy
§ TestingofCAWLADEserverupgradesandfixes
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PotentialissueswithmultipleCAWLADEinstances
§ Manualefforttomigrateartifactsfromoneinstancetoanother– ManualefforttochangevalueslikeargumentsintheApplicationsand
Jobs– ChangeEventnamesandschedulingfrequencies
§ Hardtokeepartifactsinsyncwithoutnamingstandards
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PotentialissueswithusingasingleCAWLADEinstances
§ Hardertokeeplogicalseparation
§ Applicationnameshavetobeuniquewithinaninstance– YoucannothavedifferentactiveversionsofthesameApplication
nameatthesametime– Needtochangeapplicationnames(likeaddingasuffix)toenable
multipleapplicationswithinthesameCAWLADEinstance
§ Hardertomaintainsecurityprofiles
§ Namingstandardsareamust!
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ValueofcreatingNamingstandards
§ Easiertocategorizeartifactsforsearchingpurposes
§ Easiertodetermineownershiporresponsibility
§ Easiertocreateandonboardnewapplications
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ValueofcreatingNamingstandards
§ Easiertocreateand/orclonesecurityrules
§ EasiertosubscribeinMonitoring– SubscriptiononlyallowsasingleApplicationFilter
§ EnablemovingapplicationsthroughadevelopmentlifecycleaspartofyourDevops strategy– Minimizeoreliminatemanualchangesbetweenstages
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SuggestionsforCAWLADEArtifactNamingStandards
§ AshortBusinessApplicationnamecanbeveryusefulasaprefixforCAWLADEartifacts
§ Eventnamesshouldbeanindependentnameandnotassociatedwitharealuserid– ExampleDEV,TEST,PROD
§ AnothersuggestionforEventnamesistouseacustomernameordistributioncenternamewhenyouareusinganApplicationasaTemplateforamanytooneexecution– ExampleDC1,DC2,DC3
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWLADEArtifactswherethebusinessapplicationnamecanbeusedasaprefix§ Event– EVENT_PREFIX. prefix_APPLICATION_NAME
§ Application– prefix_APPLICATION_NAME– RuntimenamecanoverridethesavedApplicationname
§ Resources- prefix_D/R/T_RESOURCE_NAME
§ SecurityGroup- prefix_GROUP
§ GlobalVariableContext
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAWLADEArtifactswherethebusinessapplicationnamemakessenseasaprefixfornon-commonartifacts§ Alerts- prefix_ALERT_NAME
§ JavaScripts - prefix_JAVASCRIPT_NAME
§ CalendarSpecialDays- prefix_SPECIAL_DAY
§ AgentGroup- prefix_Agent_group
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SampleSecuritysettingforAppsdev inPre-prod
§ DenySUBSCRIBEALL– Helpswithperformance
§ AllowanyEventPrefix– Lessmaintenancebyallowing
userstousetheirownuseridastheprefixforevents
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
StaticVariables– ESPprefixedJavaScriptexecutedatEventLevel(maynotbenecessary)
§ Environmentname/prefix
§ Hostname/Port
§ Serverhomedirectory
§ CAWLADEServerID
§ Database/FTPUserids
§ Symlib JavaScriptforDefaultSymbolics
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DynamicVariables– APPLandWOBprefixedJavaScriptexecutedattheApplicationorJobLevel
§ Dates
§ Agents
§ Directories/paths
§ Databaseservers
§ Emailids
§ Times/SLAs/Criticaljobs
§ Notifications
§ Jobname/qualifier
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SampleJavaScripttocreatedatesymbolics invariousformats
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SampleDefaultGlobalVariableContext§ UsingaJavaScriptorGlobalVariableContextenablesbeing
abletochangeallinstancesatonetime– LeavetheApplicationsalone– Couldhaveseparationofdutiesforupdatingvalues
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WaystominimizeoreliminatechangeswhilemovingthroughthelifecycleusingJavaScripts§ DefinedefaultcontextwithstaticvariablesdefinedintheEvent
– MaynotneedtomovetheEventthoughthelifecycle
§ DefinedynamicvariablesinaJavaScriptdefinedintheApplicationatEventTriggertime– Datesymbolics forpast,presentandfuturedates
§ EmbedJavascripts inthejobdefinition– Forvaluesthatneedtobesetjustbeforethejobisexecuted
§ InvokeRepositorybasedJavaScripts forgenericfunctions
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Waystominimizeoreliminatechangeswhilemovingthroughthelifecycle§ TrytomakeitsothatonlytheApplicationneedstobe
migrated– UselinksforAPPLSTARTandAPPLENDasfunctionstoexecute
JavaScripts toset-upotherjobsandtokeeptheApplicationasself-sufficientaspossible
§ %IFfunctioninvariousjobdefinitionfields– Canenabledecisionmakingforaparticularjobfield
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Waystominimizeoreliminatechangeswhilemovingthroughthelifecycle§ %IFfunctioninvariousjobdefinitionfields
§ Createapplicationstandardsfordeployingapplications– Standarddirectorynamesinpre-prodandprodwillminimizetheneed
forcreatingexceptionsymbolics
§ UnixandLinuxareinterchangeablejobtypes– CantestwithaUnixagentbutactuallyuseLinuxinproduction
§ Useagentgroupingoragentalias– Randomorroundrobin– Don’thavetospecifythe“real”agentname
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LeveragingAgentAlias
§ DonotneedtodefinetherealagentnameintheCAWLADEtopologytouseaparticularagent
§ Anagentaliascanbeset-upforanyreasonandforanypurpose– CApre-salesroutinelyusesaliasestomimiccustomer’sagents– Multiplealiasescanbeset-uponanagent
§ Coulduseproductionagentnamesforpre-prodagents
§ Whenretiringanagent,canbeaneasywaytoswitchagentswithoutchangingjobdefinitionsimmediately
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
IMEXUTIl – Import/ExportUtility
§ Usefulasawayofexportingallartifactsasanotherwayofbackinguptheinstance– Restoreanindividualartifactwithouthavingtorestoreawholedatabase
§ Createasoftwarechangeprocessfromapre-prodinstancetoaproductioninstance
§ Caution:ifCAWLADEinstancesaredifferentreleases,maynotbeabletobeused– Releasedependent(doesnotapplytoSPreleases)
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ExportinganApplicationTriggerandPassApplicationnameasUser1forexecutionfromexternalChangeManagementproduct
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ImportinganApplicationTriggerandPassApplicationnameasUser1forexecutionfromexternalChangeManagementproduct
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ApplicationParameterscanbeusedwithaTemplateApplication§ Canexecutedynamicallybywebservices§ Canexecuteanapplicationandpass
manymorethanfourparameterstoit
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ExecutingaTemplateApplicationusingWebServices
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Summary
§ SomeupfrontnamingconventionscanhelpoutlaterwhenplanningforApplicationlifecyclemanagement
§ LeverageJavaScripts andGlobalvariablesforCAWLADEinstancerelatedsymbolics
§ IMEXUTILcanbeveryusefulformanagingtheactualmovementofartifactsfrompre-prodtoprod
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessionsSESSION# TITLE DATE/TIME
MFX37EYouVoiceCounts!CustomerDrivenRequirementsforCAWorkloadAutomation
11/15/2016at1:00pm
BanyanA/B
MFX141ELLab:IncreasedAgilityandFlexibilitywithWebServicesforCAWLADEandESP
11/15/2016at9:30am
SouthSeasD
MFX30S CustomerUseCase:RealWorldAutomationinRetail11/16/2016at3:45pm
BanyanA/B
MFX136SDeliveringCAWorkloadAutomationfromaSaaSplatform
11/17/2016at4:30pm
JasmineB
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MustSeeDemos
ModernWorkloadAutomation
CAWLADEMFandWorkloadAutomation
SeamlessApplicationAutomationAgents&AdvancedIntegrationsMFandWorkloadAutomation
CAConversionasaService
CAWorkloadAutomationMFandWorkloadAutomation
Innovations:CrossEnterpriseWorkloadAutomationCAWLAAE&DEMFandWorkloadAutomation
31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.32 @CAWORLD#CAWORLD
MainframeandWorkloadAutomation
FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI