You are on page 1of 46

Modernize and Optimize Your Mainframe

MW112SN

Deep Dive on CA Workload Automation AE (CA AutoSys) r11.3.5


Nick Minchenko , VP Software Engineering Michael Woods, Sr. Eng Services Architect

Abstract

Nick Minchenko , VP Software Engineering Michael Woods, Sr. Engineering Services Architect This session will discuss in more detail a few of the key features introduced in CA Workload Automation AE r11.3.5 like Security, Monitoring, Reporting and Global Variable Substitution

Copyright 2013 CA. All rights reserved.

Agenda

Pending Machine Changes New Job Types

Utilities
Email Notification Failover Security Workload Control Center

Copyright 2013 CA. All rights reserved.

Pending Machine Changes


New options on how to handle jobs when the machine is unavailable
Job Status to set job to
GlobalPendMachStatus: FAILURE, INACTIVE, ON_ICE, PEND_MACH, SUCCESS and TERMINATED

How long to wait for machine before setting to configured status


GlobalPendMachDelay: Number of seconds to wait for the agent to come back online

New options on how to handle the release of jobs when machine is available again
Only used for jobs in pending machine status

Control how many jobs


Control how often to release jobs
4 Copyright 2013 CA. All rights reserved.

Job Types
New and Enhanced
Micro Focus
Execute and monitor Micro Focus jobs

Process Automation
Supports invocation and tracking of CA ITPAM processes

Oracle E-Business Suite


Added support for a number of additional Oracle attributes that allow you to:
Notify users Select output format Use either short or display program name Select template language and territory Select whether to quote resolved expressions Select whether set defaults should have priority over program defaults

Remote Execution
Supports execution of command jobs on systems without any agent installed

Web Services
Added support for Document\Literal web services, Web Services Security, and firewall traversal using a proxy Previous job type renamed Web Services RPC\Encoded to differentiate

PeopleSoft
Added support for PSJob process type Extended supported length for ps_operator_id to 111 characters

SNMPGET and SNMPSET


Define jobs to get (read) or set (write) attributes via SNMP

Wake On LAN
Define job to send a WOL command to the system you specify

Copyright 2013 CA. All rights reserved.

Utilities

Autoaggr
Is now used to generate reports Job Status statistics, Alarm statistics, scheduler statistics

Forecast
Multiple days allowed Sorted by start time by default

Copyright 2013 CA. All rights reserved.

Email Notification

New ability to send an email at job fail or at job completion Jil attributes
Send_notification: y(1)|n(0)|f

Notification_emailaddress: a comma delimited list of addresses


Notification_msg: up to 255 characters to be included in the email sent.

Configuration
NotifySMTPHost=<host1>
NotifySMTPFromAddress=<FromAddress> UseSMTPAuthentication=<0|1>

NotifySMTPUser=<user/password>

Copyright 2013 CA. All rights reserved.

Failover

New variables for STOP_DEMON event using -V


T Shutdown Third Machine A Shutdown Application servers P Shutdown Primary Scheduler S Shutdown Shadow Scheduler FAILOVER Shut down current processing scheduler and start processing events on the other scheduler

With no parms, it will shutdown the current processing scheduler, but the other scheduler will not start processing events.

Copyright 2013 CA. All rights reserved.

Failover
Configuration options
PrimaryFailbackMode=0|1|2 The valid values are as follows:
0 = OFF - Specifies that the primary scheduler will shutdown if it detects the system is in a failed over state.

1 = DORMANT: Specifies that the primary scheduler will enter into dormant state if it detects the system is in a failed over state. It will remain dormant until it is either shutdown or notified by the shadow scheduler to resume processing. 2 = IMMEDIATE: Specifies that the primary scheduler will takeover and resume processing if it detects the system is in a failed over state. The shadow scheduler will be notified by the primary scheduler to reenter its dormant state. # Default: 0
9 Copyright 2013 CA. All rights reserved.

Email Notification
CA Workload Automation - Automated Email Notification

Instance:
Scheduler host: Job name: Status: Job run machine: Job run identifier: Job start time: Exit code: Message:

DEV
SWATRH5x64-2.ca.com test SUCCESS SWATRH5x64-2.ca.com 100.74010.1 11/14/2012 11:10:01 0

Job completion time: 11/14/2012 11:20:01

your job has completed


10 Copyright 2013 CA. All rights reserved.

Statistics Aggregation

You can configure CA Workload Automation AE to aggregate the job, alarm, and scheduler statistics automatically at a specified interval. AggregateStatistics=0|1
Runs at hourly, midnight, Sunday, First of the month

Can be done manually by running using the AGGREGATE event.

Required to be run for some WCC reports and for the autoaggr reports

11

Copyright 2013 CA. All rights reserved.

IP Caching

By default the scheduler will cache the IP address of each agent the first time it is able to contact it and use it until an error occurs. If you have a reason not to use this feature you will need to turn it off in the configuration EnableIPCaching=0|1
Default 1

12

Copyright 2013 CA. All rights reserved.

Security

Security Changes
EEM R12
Supports multiple Active Directories
Domain and Forest Uses domain/user format for authentication and authorization

Failover/Multi-Write setup
Command line driven Easier to use than previous releases

14

Copyright 2013 CA. All rights reserved.

Security Changes
Job type resource class
Execute action used to enable use in jil Autosec_test support BASE_JOBTYPE

As_control resource
Xxx.AGGREGATE

New groups defined


WorkloadAutomationAEAdmin WorkloadAutomationAEWebService

15

Copyright 2013 CA. All rights reserved.

Security Changes
Autosys_secure batch updates
Generate PEM file e host [secadmu p] Revert to native security n [secadmu p] Show security settings s [-secadmu p]

16

Copyright 2013 CA. All rights reserved.

Security Changes
WCC has new application name WCC0004 New resource classes ExternalApplicationAccess: Controls access to the additional tabs and any JAWS instances defined.
Action view grants access Resource name jaws/yourJawsServerName Resource name externalApplication/youExtAppName as you defined in the external app definition.

ReportTemplateAccess: Controls access to the individual reports.


Action Is the report name Resource name use *, not relevant to permission test, only action checked.
17 Copyright 2013 CA. All rights reserved.

Security Changes
WidgetAccessccess: Controls access to the widgets on the main page.
Action The name of the widget on the main page Resource name use *, not relevant to permission test, only action checked.

18

Copyright 2013 CA. All rights reserved.

WCC (Workload Control Center)

WCC (Workload Control Center)

Rewritten for 11.3.5 Better Performance


Can use enterprise type db (MS-SQL, Oracle)

Reduced number of Tomcat servers


Now only 2

64 bit, except for CA Workload Automation AE API code

20

Copyright 2013 CA. All rights reserved.

21

Copyright 2013 CA. All rights reserved.

22

Copyright 2013 CA. All rights reserved.

23

Copyright 2013 CA. All rights reserved.

24

Copyright 2013 CA. All rights reserved.

25

Copyright 2013 CA. All rights reserved.

26

Copyright 2013 CA. All rights reserved.

Web Services

Web Services
WA AE now has its own web services that can be exploited by end user applications. Focused on job monitoring and job control. Install time option (Requires EEM)

Runs as a separate process (Apache Tomcat)


Interacts with database directly

Results can be returned in XML or JSON format

28

Copyright 2013 CA. All rights reserved.

RESTful Web Service

Functionality provided by JAX-RS WADL based Lightweight infrastructure Stateless Mutual understanding of the agreed content/context

29

Copyright 2013 CA. All rights reserved.

Architecture

Scheduler

7507 7520

Jdbc port
Web Server Consumer 8443

Apache Tomcat Web Server

RDBMS

System System System Agent Agent Agent

5520

7500

7520

EEM

Application Server

30

Copyright 2013 CA. All rights reserved.

Supported RESTful requests

Resource retrieval
Supported resources: jobs, job-runs, job-dependencies, gvar Handled by HTTP GET Response Formats: XML/JSON

Resource control
Supported resources: events to control jobs and gvar Handled by HTTP POST Request Formats: XML/JSON Need to post the data

31

Copyright 2013 CA. All rights reserved.

Web Services URI Directory

application schema job1 job job2 job2 job-dependencies

Full WADL Schema in detail

Resource Retrieval

AEWS
job3
job-run-info gvar var1

job5

job4

event
32 Copyright 2013 CA. All rights reserved.

Resource Control

Job Retrieval
Supported requests
GET AEWS/job method: Retrieve Information of a Single or Multiple Jobs
URL: Example: https://webserver:port/AEWS/job?parameters https://WSServer:8443/AEWS/job?filter=machine==localhost

Parameters: Jobname Version=n Locale Filter= FilterCriteria Count=n startIndex=n sortBy=col1[,col2]...

-Name of the job to retrieve -Version for the request. Default: current version -User locale. Default: en-US Set of expressions using operators. -Maximum number of records to be returned -Starting logical page number -Order to sort the results

Note: Multiple expressions can be linked with either the and (;) and or (|) boolean operators Example: application==abc;group=yyy|machine=abc

Operators: == Match exactly != Not an exact match =@ Match the pattern. A wildcard can be used. !@ Not match the pattern. A wildcard can be used. < Less than <= Less than or equal to > Greater than >= Greater than or equal to

33

Copyright 2013 CA. All rights reserved.

Job Control
Supported requests
POST AEWS/event/cancel-job method : Cancel a Job, Application or Group
URL: https://webserver:port/AEWS/event/cancel-job?parameters

Request
XML Format POST https://WSServer:8443/AEWS/event/cancel-job Content-Type: application/xml <command> <jobName>test</jobName> <comment>testing cancel-job</comment> </command> JSON Format POST https://WSServer:8443/AEWS/event/cancel-job Content-Type: application/json {"jobName":"test","comment": "testing cancel-job"}

Response
201 Created Server: ApacheCoyote/1.1 Transfer-Encoding: chunked Content-Encoding: gzip Vary: Accept-Encoding Date: Tue, 31 Jan 2012 13:06:47 GMT

34

Copyright 2013 CA. All rights reserved.

Job Control
Supported requests
POST AEWS/event/force-start-job method: Start a Job, Application or Group by Force
URL: https://webserver:port/AEWS/event/force-start-job?parameters

POST AEWS/event/hold-job method: Put a Job, Application or Group ON_HOLD


URL: https://webserver:port/AEWS/event/hold-job?parameters

POST AEWS/event/ice-job method: Put a Job, Application or Group in ON_ICE status


URL: https://webserver:port/AEWS/event/ice-job?parameters

POST AEWS/event/noexec-job method: Put a Job, Application or Group in ON_NOEXEC


URL: https://webserver:port/AEWS/event/noexec-job?parameters

POST AEWS/event/off-hold-job method: Take a Job, Application or Group Off Hold


URL: https://webserver:port/AEWS/event/off-hold-job?parameters

35

Copyright 2013 CA. All rights reserved.

Job Control
Supported requests
POST AEWS/event/off-ice-job method: Take a Job, Application or Group Off Ice
URL: https://webserver:port/AEWS/event/off-ice-start-job?parameters

POST AEWS/event/off-noexec-job method: Take a Job, Application or Group in Off NOEXEC status
URL: https://webserver:port/AEWS/event/off-no-exec-job?parameters

POST AEWS/event/release-resources-job method: Release Resources held by a Job, Application or Group


URL: https://webserver:port/AEWS/event/release-resources-job?parameters

POST AEWS/event/reply-job method: Reply to a Job, Application or Group


URL: https://webserver:port/AEWS/event/reply-job?parameters

36

Copyright 2013 CA. All rights reserved.

Job Control
Supported requests
POST AEWS/event/restart-job method: Restart a Job
URL: Note: https://webserver:port/AEWS/event/restart-job?parameters Applies to z/OS or MicroFocus Job only

POST AEWS/event/start-job method: Start a Job, Application or Group


URL: https://webserver:port/AEWS/event/start-job?parameters

37

Copyright 2013 CA. All rights reserved.

Global Variables Retrieval


Supported Requests
GET AEWS/gvar/variableName method: Retrieve Information of a Specific Global Variable
URL: Example: https://webserver:port/gvar/variableName?parameters https://WSServer:8443/AEWS/gvar/TestVar

GET AEWS/gvar method: Retrieve Information of a Single or Multiple Global Variables


URL: Example: https://webserver:port/gvar?parameters https://WSServer:8443/AEWS/gvar?filter==name=@gvar*

38

Copyright 2013 CA. All rights reserved.

Global Variables Control


Supported requests
POST AEWS/event/delete-gvar/name method: Delete a Global Variable
URL: https://webserver:port/AEWS/event/delete-gvar/name?parameters

POST AEWS/event/set-gvar/name method: Create or Update a Global Variable


URL: https://webserver:port/AEWS/event/set-gvar/name?parameters

39

Copyright 2013 CA. All rights reserved.

Security Implementation
Authentication
Requires EEM (Native Security not supported) EEM JAAS Login Module uses BASIC authentication over SSL Access controlled by Local EEM Application Group User MUST belong to this group Authorization Uses WAAE polices

40

Copyright 2013 CA. All rights reserved.

Summary CA Workload Automation AE r11.3.5


Rich Graphical User Interface
Accelerates root cause analysis Automates administrative tasks

New Broad and Expansive Capabilities


Support for more applications Helps application integration costs

Ease of Deployment and Maintenance


Allows rapid deployment Reduces time to value
41 Copyright 2013 CA. All rights reserved.

FOR INFORMATION PURPOSES ONLY

Terms of this presentation


Copyright 2013 CA. All rights reserved. IBM, System z, zEnterprise, zSeries, z/OS, z/VM, RACF, CICS, IMS and DB2 are trademarks of International Business Machines Corporation in the United States, other countries, or both. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. All trademarks, trade names, service marks and logos referenced herein belong to their respective companies. This presentation was based on current information and resource allocations as of April 2013 and is subject to change or withdrawal by CA at any time without notice. Notwithstanding anything in this presentation to the contrary, this presentation shall not serve to (i) affect the rights and/or obligations of CA or its licensees under any existing or future written license agreement or services agreement relating to any CA software product; or (ii) amend any product documentation or specifications for any CA software product. The development, release and timing of any features or functionality described in this presentation remain at CAs sole discretion. Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in this presentation, CA will make such release available (i) for sale to new licensees of such product; and (ii) to existing licensees of such product on a when and if-available basis as part of CA maintenance and support, and in the form of a regularly scheduled major product release. Such releases may be made available to current licensees of such product who are current subscribers to CA maintenance and support on a when and if-available basis. In the event of a conflict between the terms of this paragraph and any other information contained in this presentation, the terms of this paragraph shall govern. Certain information in this presentation may outline CAs general product direction. All information in this presentation is for your informational purposes only and may not be incorporated into any contract. CA assumes no responsibility for the accuracy or completeness of the information. To the extent permitted by applicable law, CA provides this presentation as is without warranty of any kind, including without limitation, any implied warranties or merchantability, fitness for a particular purpose, or non-infringement. In no event will CA be liable for any loss or damage, direct or indirect, from the use of this document, including, without limitation, lost profits, lost investment, business interruption, goodwill, or lost data, even if CA is expressly advised in advance of the possibility of such damages. CA confidential and proprietary. No unauthorized copying or distribution permitted. CA does not provide legal advice. Neither this document nor any CA software product referenced herein shall serve as a substitute for your compliance with any laws (including but not limited to any act, statute, regulation, rule, directive, policy, standard, guideline, measure, requirement, administrative order, executive order, etc. (collectively, Laws)) referenced in this document. You should consult with competent legal counsel regarding any Laws referenced herein.

42

Copyright 2013 CA. All rights reserved.

Q&A

Recommended Sessions

SESSION #
MW118SN MW122SN MW120SN

TITLE
Defining User Experience for the Future of Workload Management Unlocking the True Potential of New Job Types in CA Workload Automation AE (CA AutoSys) r11.3 Real-Life Example: Exploiting CA Workload Automation AE (AutoSys) to Reduce Operational Costs

DATE/TIME
04/24/2013 at 10:00 pm 04/24/2013 at 8:30 pm 04/24/2013 at 11:15 pm

Related Technologies

Exhibition Center & Campground


EC-MNFSE119 & CG-MNFST416
CA Workload Automation AE
CA Workload Automation Agents CA Workload Automation iDash, CA Workload Automation iXp CA Process Automation Power Packs

Session Evaluation

Please provide your feedback about this session Session #: MW112SN

46

Copyright 2013 CA. All rights reserved.

You might also like