hands-on lab: ca workload automation advanced integrations and agents

28
World ® ’1 6 CA Workload Automation Advanced Integration and Agents Gregg Rask: CA Technologies, Senior Principal Consultant Lee Roberson: CA Technologies, Senior Principal Consultant MFX142EL MAINFRAME AND WORKLOAD AUTOMATION

Upload: ca-technologies

Post on 10-Jan-2017

92 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

World®’16

CAWorkloadAutomationAdvancedIntegrationandAgents

GreggRask:CATechnologies,SeniorPrincipalConsultantLeeRoberson:CATechnologies,SeniorPrincipalConsultant

MFX142EL

MAINFRAMEANDWORKLOADAUTOMATION

Page 2: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Thishands-on-labwillprovidetheabilityforyoutostrengthenyourskillsandbecomeveryfamiliarwiththeCAWorkloadAutomation(CAWLA)AdvancedIntegrationforHadoop,aswellastheadvancedCAWLAAgentsforInformatica,MSSQLServer,andDatabaseswhichareusedtocreatehighlyautomatedandintelligentbusinessprocesses.

GreggRaskCATechnologiesSeniorPrincipalConsultants

LeeRobersonCATechnologiesSeniorPrincipalConsultants

Page 4: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

INTRODUCTIONTOTHEAGENT’SCAPABILITIES

ARCHITECTUREREVIEW

Q&A

SOLUTIONARCHITECTURE

HANDS-ONLABOVERVIEW

PLAYTIME

1

2

3

4

5

6

Page 5: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentJobTypes- Out-of-the-box

SystemTasks ApplicationServices Application Hadoop

WebServicesMonitoring

DatabaseIntegrations

AgentlessWindowsEventLog DatabaseStoredProcedureWindowsServices SQL

HDFSHiveOoziePigSqoop

RemoteExecution

CPU InformaticaPowerCenterDisk DatabaseMonitor MicroFocusIP DatabaseTrigger

TextFile ProcessAutomation PeopleSoftPeopleToolsProcess MicrosoftSQLServer

SingleRequestRPC/Encoded RequestSet

FileTrigger/Watcher Document/Literal CopySingleRequest

HPIntegrityNonStop MBean ProcessMonitoriSeries ●OracleE-BusinessSuite

ManualJob MBeanCreate/Remove BatchInputDataSetTrigger MBeanGet/Set EventMonitor

●z/OS SessionBean BWInfoPackageBatchJob EntityBean DataArchiving

SNMP RMI JobCopyWake-on-LAN JMSPublish/Subscribe BWProcessChain

Command HTTP ●SAPFTP/SFTPandSecureCopy POJO R/3

Page 6: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentJobTypes- Hands-onLab

SystemTasks ApplicationServices Application Hadoop

WebServicesMonitoring

DatabaseIntegrations

AgentlessWindowsEventLog DatabaseStoredProcedureWindowsServices SQL

HDFSHiveOoziePigSqoop

RemoteExecution

CPU InformaticaPowerCenterDisk DatabaseMonitor MicroFocusIP DatabaseTrigger

TextFile ProcessAutomation PeopleSoftPeopleToolsProcess MicrosoftSQLServer

SingleRequestRPC/Encoded RequestSet

FileTrigger/Watcher Document/Literal CopySingleRequest

HPIntegrityNonStop MBean ProcessMonitoriSeries ●OracleE-BusinessSuite

ManualJob MBeanCreate/Remove BatchInputDataSetTrigger MBeanGet/Set EventMonitor

●z/OS SessionBean BWInfoPackageBatchJob EntityBean DataArchiving

SNMP RMI JobCopyWake-on-LAN JMSPublish/Subscribe BWProcessChain

Command HTTP ●SAPFTP/SFTPandSecureCopy POJO R/3

Page 7: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentPlug-InsDatabases

DatabasesDBMonitor • Monitoradatabase tableforaddedordeletedrows;checksatintervals

DBTrigger • Monitoradatabasetable foradded,changed(ingeneralormatchingaspecifictrigger)ordeletedrows;forexample,waitforarowwheredept=75tobedeleted

DBStored Procedure • Invokeaprocedure orfunctionstoredwithinadatabase;criteriacanbeaddedtotesttheprocedure’soutput

SQL • ExecuteaSQLstatementandcapturetheoutput; criteriacanbeaddedtotestthestatement’soutput

Page 8: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentArchitecture- Database

WAServer

DatabasePlug-in

Database Database‘N’

JDBC JDBC

Page 9: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentPlug-InsMSSQLServer

MSSQLServer• Executeanypre-definedSQLServerAgentjob.

• WillmonitoreachstepintheSQl ServerAgentjobandenabletheabilitytorestartfromanindividualstep.

• Foreachagentlicense,theMSSQLServerAgentPlug-IncanconnecttouptotenSQLdatabases.

Ajobstepmustbeofoneoffollowingtypes,• MicrosoftActiveXScript• OperatingSystem(CmdExec)• PowerShell• ReplicationDistributor• ReplicationMerge• ReplicationQueueReader• ReplicationSnapshot• ReplicationTransactionLogReader• AnalysisServicesCommand• AnalysisServicesQuery• SSISpackageexecution• T-SQLScript(Transact-SQL)

Page 10: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentArchitecture- MSSQL

WAServer

MSSQLAgent/Plug-in

MSSQLDatabase- Active

MSSQLAgent MSSQL

Database- Passive

MSSQLAgent

JDBC/CLI JDBC/CLI

SP SP

Page 11: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MSSQLAuthenticationInformation- Example

#databaseauthentication

db.url=[jdbc url.forexample,jdbc:jtds:sqlserver://localhost:1433/msdb]

db.username=[username]

db.password=[encryptedpassword]

db.domain=[windowsdomainifwindowsauthenticationisused]

Page 12: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MSSQLAuthenticationInformation

#authenticationproperties

db.url=jdbc:jtds:sqlserver://SQLMATICA:1433/ForwardInc

db.username=sa

db.password=9C11675F9ED8322327

Page 13: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgent- SQLPropertiesFile§ db.classname=net.sourceforge.jtds.jdbc.Driver

§ GetJobList=job_id|name|description

§ GetJobDetail=job_id|originating_server|name|enabled|description|category|owner|date_modified

§ GetJobStep=step_id|step_name|subsystem|command

§ GetJobTargetServer=server_id|server_name|enlist_date

§ GetJobHistory=job_name|step_id|step_name|sql_message_id|sql_severity|message|run_status|run_date|run_time|run_

duration

Page 14: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgent- SQLPropertiesFile(continued)

§ GetJobStepLog=*ALL

§ GetJobStatus=job_id|originating_server|name|last_run_date|last_run_time|last_run_outcome|current_execution_status|

current_execution_step|current_retry_attempt|type

§ max.retry=2

§ Retry.interval=60

§ monitor.poll.interval=60

§ appendRunLog=*FAILURE

Page 15: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentPlug-InsInformatica

Informatica• Executeanypre-definedworkflowinInformatica.

• Youcanalsoselectindividualtaskstoexecuteaswellastorestartfrom.

• Youcanmonitortheexecutionaswellasretrievetheoutput(spoolfile)fromitsexecution.

• Jobanderrorlogging,history,etc.

• Foreachagentlicense,theRemoteExecutionAgentPlug-Incanconnecttouptothreeremotesystems.

Page 16: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

§ NativeInformaticaauthenticationandsecurity

§ EncryptedpasswordsandcommunicationviatheSystemAgent

§ Retrievelistsofdefinedworkflows,listsoftasksanddependenciesinagivenworkflow

§ Defineworkflowsuccess

§ Informaticadebuginformation

CAWLAAgentforInformatica

Page 17: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentArchitecture- Informatica

WAServer

Informatica Agent/Plug-in

DefaultDatabase

DatabaseRepository

InformaticaServer

Page 18: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseConnectionInformation

#DBconnectionproperties

informatica.db.type=SqlServer

informatica.db.user=sa

informatica.db.password=9C11675F9ED8322327

informatica.db.url=jdbc:jtds:sqlserver://SQLMATICA:1433/PC_repository

Page 19: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

InformaticaConnectionInformation

#Informaticaconnectionproperties

informatica.domain.name=Domain_SQLMATICA

informatica.service.name=ForwardInc_BIS

informatica.repository.name.default=ForwardInc

informatica.user.id.default=administrator

informatica.password.default=9C11675F9ED8322327

Page 20: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAgentPlug-InsHadoop

HadoopHDFS Createzerosizefile(TOUCH):Path/paths

CopyfileordirectorywithinHDFS(COPY)CopyfileordirectorytoHDFS(COPYFROMLOCAL)CopyfileordirectoryfromHDFS(COPYTOLOCAL)Makedirectory(MKDIR)MovefileordirectorywithinHDFS(MOVE)MovefileordirectoryfromlocalfilesystemtoHDFS(MOVEFROMLOCAL)Removefile(REMOVE)

Hive RunaHivejobCancelaHivejob

Oozie RunanOozieworkflowTerminateanOozieworkflowineitherasuspendedorrunningstateSuspendanOozieworkflowResumeanOozieworkflow

Pig Define,run,andcontrolPigjobsCancelrunningPigjobs

Sqoop ImportandExportdatainto/fromHDFSCancelarunningSqoop job

Page 21: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAWLAAdvancedIntegrationArchitecture

WAServer

AIforHadoop

Oozie HiveDB SqoopDBHadoopEdgenode

HTTP JDBCSSH

Port22 JDBC

Page 22: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Hands-onLabOverview

§ Createbusinessprocessusingagentjobtypes

§ Initiatebusinessprocess

§ Troubleshootfailure(s)

Page 23: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PlayTime!!!

Page 24: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?Informatica

Page 25: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

MFX121SCaseStudy:AmerenImprovesResponseTimetoGridOutageswithCAWorkloadAutomationAgents

11/17/2016at12:45pm

JasmineB

MFX180SHowtoHaveaVoiceinProductEnhancementsthroughCACommunitiesIdeationandValidation

11/17/2016@3:00pm

JasmineB

Page 26: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

ModernWorkloadAutomation

CAWLADEMFandWorkloadAutomation

SeamlessApplicationAutomationAgents&AdvancedIntegrationsMFandWorkloadAutomation

CAConversionasaService

CAWorkloadAutomationMFandWorkloadAutomation

Innovations:CrossEnterpriseWorkloadAutomationCAWLAAE&DEMFandWorkloadAutomation

Page 27: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Page 28: Hands-On Lab: CA Workload Automation Advanced Integrations and Agents

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.28 @CAWORLD#CAWORLD

MainframeandWorkloadAutomation

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