Professional Documents
Culture Documents
Getting Started
MAN01164838E
This documentation and related computer software program (hereinafter referred to as the Documentation) is for the end users informational purposes only and is subject to change or withdrawal by Computer Associates International, Inc. (CA) at any time. This documentation may not be copied, transferred, reproduced, disclosed or duplicated, in whole or in part, without the prior written consent of CA. This documentation is proprietary information of CA and protected by the copyright laws of the United States and international treaties. Notwithstanding the foregoing, licensed users may print a reasonable number of copies of this documentation for their own internal use, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only authorized employees, consultants, or agents of the user who are bound by the confidentiality provisions of the license for the software are permitted to have access to such copies. This right to print copies is limited to the period during which the license for the product remains in full force and effect. Should the license terminate for any reason, it shall be the users responsibility to return to CA the reproduced copies or to certify to CA that same have been destroyed. To the extent permitted by applicable law, CA provides this documentation as is without warranty of any kind, including without limitation, any implied warranties of merchantability, fitness for a particular purpose or noninfringement. In no event will CA be liable to the end user or any third party for any loss or damage, direct or indirect, from the use of this documentation, including without limitation, lost profits, business interruption, goodwill, or lost data, even if CA is expressly advised of such loss or damage. The use of any product referenced in this documentation and this documentation is governed by the end users applicable license agreement. The manufacturer of this documentation is Computer Associates International, Inc. Provided with Restricted Rights as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or DFARS Section 252.227-7013(c)(1)(ii) or applicable successor provisions.
Contents
Chapter 1: Reliable Job Management
Unicenter AutoSys Job Management 11 Approach to Enterprise-Wide Job Management 11 The Purpose Of This Guide 12 Benefits 12 Distinctive Features 12 Supported Environments 13 Taking Job Management To The Next Level 13 CA Services: Enabling Solutions Through Experience 13 CA Education Services 13 Computer Associates: The Software That Manages eBusiness 14 For More Information 14
iii
iv
11
Benefits
Simplifies the managing and monitoring of thousands of jobs by providing a single point of control of enterprise-wide networks and by allowing related tasks to be grouped into a single job stream. Provides job scheduling flexibility by basing start conditions on time/day, file arrival, and job dependencies (such as success, failure, or process exit code). Helps ensure uninterrupted processing of jobs by providing automated restart, recovery, re-queuing, and fault tolerance; uses alarms to notify users of potential problems before they occur. Integrates easily with other open systems products and applications (for example, alarms and events can be integrated into existing email, notification, troubleticketing, and console systems).
Distinctive Features
Increased Performance Improved performance using multi-threaded processing to enable more jobs to run in parallel. Enterprise-wide Cross Platform Job Management Simplifies cross platform job management through direct integration communication to Unicenter Job Management solutions. Web-Based User Interface Provides a single point of control and administration of jobs and reduces IT learning and operational costs. Multi-platform Support Customers can manage their enterprise-wide processes on a number of various platforms. Unparalleled Reliability and Scalability Scales tens of thousands of jobs easily over hundreds of multi-platform machines per night, while maintaining its hallmark reliability.
12
Supported Environments
Supported server and agent platforms include: HP-UX; IBM AIX; NCR/AT&T UNIX; Pyramid DC/OSx; Silicon Graphics IRIX; Sun Solaris; Data General DG-UX; DEC OSF/1; Sequent DYNIX; Siemens Nixdorf SINIX; DEC; Compaq Tru64; RedHat Linux; Windows NT; Windows 2000; and Windows XP.
CA Education Services
Computer Associates Global Education Services (CA Education) offerings include instructor-led and computer-based training, product certification programs, third-party education programs, distance learning, and software simulation. These services help to expand the knowledge base so companies are better able to use CAs products more efficiently, contributing to their greater success. CA Education has been developed to assist todays technologists in everything from understanding product capabilities to implementation and quality performance. Because the vast community of education seekers is varied, so too are CAs methods of instruction. CA Education is committed to provide a variety of alternatives to traditional instructor-led training, including synchronous and asynchronous distance learning, as well as Unicenter simulation. For training that must be extended to a wider audiencefor a fraction of the cost and logistical hassle of sending everybody away to a classCA Education offers excellent distance learning options.
13
14
nicenter AutoSys Job Management, an industry-leading job management solution provides robust, scalable production control. As more and more companies rely on the Internet as a primary business resource, they require increasingly powerful, dependable tools that can effectively manage their missioncritical eBusiness needs. Unicenter AutoSys Job Management easily accommodates the massive processing of jobs required by eBusiness, providing rapid and reliable Internet job management. Unicenter AutoSys Job Management delivers visualization and modeling capabilities to effectively implement job flows across the environment. It further centralizes processing by providing seamless integration with leading ERP packages, such as SAP R/3, PeopleSoft, and others. Unicenter AutoSys Job Management delivers immediate benefits such as: Reducing development costs through the elimination of time-consuming shell script coding and debugging. Increasing productivity by automating routine tasks. It also minimizes downtime by proactively searching for problems and immediately recovering from them. Expanding profits by using a single system built to manage a complex, distributed network of computers.
Unicenter AutoSys Job Management comprises many functional components designed to provide the best means for centralizing and automating the scheduling and management of jobs in distributed UNIX and Windows environments. This product brings the functionality of mainframe batch scheduling to these environments with features such as centralized system-wide monitoring and programmable error recovery. Unicenter AutoSys Job Management offers Java, Windows, and Motif user interfaces, allowing customers to mix and match scheduling components to meet their UNIX and/or Windows environments.
21
UNIX Client
Remote Agent
Windows Client
Remote Agent Windows Job
Event Server (database)
22
Centralized Control
As distributed environments become increasingly complex, the importance of a single point of control is even more of a necessity. Unicenter AutoSys Job Management greatly enhances the graphical user interface (GUI), by providing a webenabled user interface, which may be accessed from any machine. The database is accessible from the Unicenter AutoSys Job Management Java GUI server node. Only one database connection is established for each Unicenter AutoSys Job Management instance that is being monitored. When the first user signs on to the GUI and opens up a monitoring session, the server will go out to the database and cache a local copy of the jobs on the server. This single connection will then periodically poll the Unicenter AutoSys Job Management instance for any changes to the database and refresh its cached copy with the relevant changes. Since you view the cached version of the data, the load against the Unicenter AutoSys Job Management database remains unaffected, regardless of the number of users that are signed on. And because database connection is accomplished using JDBC, the same Java GUI server can access Unicenter AutoSys Job Management instances that utilize different databases.
23
Extended Functionality
Unicenter AutoSys Connect Option provides an interface for Unicenter AutoSys Job Management to communicate with OS/390 scheduling products such as Unicenter CA-7 Scheduling, Unicenter CA-7 Scheduler, and Unicenter CA-Jobtrac Scheduling. This allows Unicenter AutoSys Job Management to centralize the management of an enterprise workload, which helps you leverage your existing investment in scheduling products.
Whats Next?
Unicenter AutoSys Job Management is part of the Unicenter scheduling solution, which offers complete job management across all major platforms and provides support for companies deploying applications and systems across global environments. Unicenter AutoSys Job Management is a true cross-platform, modular solution that runs on UNIX and Windows, and can schedule to these and other platforms, delivering one scheduling solution to span the entire organization. In the next chapter, you will begin to take advantage of the many unique capabilities Unicenter AutoSys Job Management has to offer. You will begin by customizing the web user-interface. You will customize your reports and create a basic job definition in order to familiarize yourself with Unicenter AutoSys Job Management architectures vast potential for your business.
24
31
An Interface That Suits Your Needs The Java Interface Administrator can create sub-views of the overall or enterprise job flow. Depending upon the permissions assigned to your unique user account, you may be allowed access to the Enterprise view, or provide access to specific sub-views pertaining to your role in the company. The graphical Monitoring view displays the jobs contained in an Unicenter AutoSys Job Management instance in text and graphical views. The display is colorcoded and customizable. The size of the text or graphical viewing panes can be reduced or enlarged by centering the mouse on the bar between the two views and dragging up or down. The Jobflow View can be customized by color-coding job status, changing the relative size of the text or graphical viewing panes and rearranging the Jobflow. You can rearrange jobs and boxes belonging to a business unit to be in proximity in the Jobflow view. Detailed reporting is available for all jobs from the Monitoring dialog. To display a job detail report, right click on a job from the text pane and scroll over Detail and select the number of job runs to display. To display a job detail report, right click on a job from the graphical pane and scroll over Detail and select the number of job runs to display.
32
An Interface That Suits Your Needs 2. Choose My Reports and click Manage.
3. 4.
Complete the fields and click Save Report to save the report definition. You have now successfully created a report definition. From here on, you will have this report available to you every time you access My Reports.
33
Defining a Job in Unicenter AutoSys Job Management Using the GUI Interface
Lets run through an example of how to define a job in Unicenter AutoSys Job Management using the traditional GUI interface. To start the GUI: 1. In Windows, in the Unicenter AJM program group, choose the Unicenter AutoSys Graphical Interface.
2.
The Job Editor provides all the fields you need to create a basic job definition. Click Job Editor on the Unicenter AutoSys toolbar:
34
An Interface That Suits Your Needs The Job Editor displays different tabs and fields based on whether you are defining a command job, file watcher job, or box job. The Job Editor shown is based on a command job.
3. 4.
In the Send to Machine field, enter the machine on which the command will be executed, by doing one of the following: Click Add, enter a machine name, and click OK. Select localhost from the drop-down list, which specifies to run the job on the event processor machine.
NOTE: You should add your own machine name. In addition, for Windows, you must have already entered into the Unicenter AutoSys Job Management database a valid Windows user ID and password for the Owners user account on the machine.
5. 6.
From the File menu, choose Save. The Save As dialog opens. In the Save As dialog, select an Instance and enter the new job name and click OK, for example:
test_run
7.
When the definition is written to the database, a confirmation dialog is displayed. Click OK to close the dialog.
35
Whats Next?
Using the user-interface described in this chapter, you will learn how to schedule a job to the mainframe in the next chapter. By the time you reach the end of Chapter 4, you will have demonstrated the bi-directional communication Unicenter AutoSys Job Management has to offer.
36
hen a job is submitted, the Unicenter AutoSys Job Management Event Processor on the distributed platform interrogates the start job request, processes and transmits it to the mainframe to a cross platform enabled scheduling system. This can be any one of the CA developed mainframe schedulers, or to the Unicenter AutoSys Connect product. Once the product receives the request on the mainframe, it goes ahead and submits and then tracks the mainframe job. This is done either directly by the XPS enabled mainframe-scheduling product or through Unicenter AutoSys Connect via a two-step process to submit and track the mainframebased job. Unicenter AutoSys Job Management not only allows for job submission to the mainframe but it has the ability to accept a job submitted from any one of the CA developed mainframe scheduling products and report the status back. This includes CA-7, CA-Scheduler, and CA-Job Tracker. For details and procedures on how to submit the job, see the appropriate mainframe scheduler product guide. The following tutorial guides you through the procedure necessary to enable bidirectional scheduling in Unicenter AutoSys Job Management. The tutorial's scenario involves the following systems:
Unicenter AutoSys Job Management Machine Mainframe Hostname- local_host Hostname- remote_host Operating System- UNIX Operating System- OS/390 Software Installed- Unicenter Common Services Interface (CAICCI) Parameter Configuration: AUTOSYS=/opt/autotree/tst/autosys Software Installed- Unicenter Common Services Interface (CAIRIM, CAICCI, CAIENF) AUTOUSER=/opt/autotree/tst/autouse AUTOSERV=ACE
41
Jobs Using Bi-directional Scheduling In order for this bi-directional scheduling to take place, you must enable Unicenter AutoSys Job Management cross platform scheduling and configure CCI. To enable cross platform scheduling, the following Unicenter AutoSys Broker options in the Unicenter AutoSys Job Management must be enabled: AutoSysAgentSupport This activates a process managed by the Unicenter AutoSys Broker that acknowledges the mainframes presence. Receive Remote Job Submission This activates a second process managed by the Unicenter AutoSys Broker that allows it to receive job submissions from the mainframe. In addition to those options being set, in order for Unicenter AutoSys Job Management to submit a job to the mainframe, the job to be executed (specified by the command line argument within the Unicenter AutoSys Job Management definition) must be defined as a valid job within the mainframe scheduling system. And conversely, in order for the mainframe to submit a job to Unicenter AutoSys Job Management, the job to be executed (specified by the SUBFILE parameter of the mainframe job) must be defined as a valid job within the Unicenter AutoSys Job Management system.
42
On UNIX, to enable cross-platform scheduling support to the mainframe set the AutoSysAgentSupport parameter in the instance configuration file to a value of 1.
$AUTOUSER/config.$AUTOSERV: AutoSysAgentSupport=1
To allow Unicenter AutoSys Job Management on Unix to receive jobs from the mainframe set the AutoSysAgentSupportReceiveSubmit parameter in the instance configuration file to a value of 1.
$AUTOUSER/config.$AUTOSERV:AutoSysAgentSupportReceiveSubmit=1
43
Jobs Using Bi-directional Scheduling 2. Cross-platform dependencies are jobs that execute on an external instance but were not initiated on behalf of the local Unicenter AutoSys Job Management instance. When the cross-platform dependent job completes, status information will be forwarded back to the local Unicenter AutoSys Job Management instance and recorded in the database. Cross-platform dependency support on mainframe is obtained through Unicenter AutoSys Connect. Currently, this support cannot be obtained directly with a mainframe scheduler. If you wish to implement support for cross-platform dependencies create a file named config.EXTERNAL in the $AUTOUSER directory. Add an entry similar to the following:
RMT:CNCT=remote_host
Where RMT is a 3-character name that you assign to the external instance. Where CNCT is set for Unicenter AutoSys Connect. Where remote_host is a valid mainframe hostname, defined to Unicenter AutoSys Job Management. This is discussed in more detail later. For further information on creating the config.EXTERNAL file, see the appendix "Integrating with the Mainframe and AutoSys Agents for AS/400 and OpenVMS," in the Unicenter AutoSys Job Management for Windows User Guide.
Configuring CCI
CCI provides the underlying communication infrastructure that connects applications running on OpenVMS, OS/390, AS/400, Windows, various versions of UNIX, and many other operating systems. CCI forms the basis for the cross-platform Job Management Agent that you can manage from Unicenter AutoSys Job Management. To configure CCI on Windows: 1. During installation of the Unicenter AutoSys Job Management CCI component, the installation prompted for remote machines that Unicenter AutoSys Job Management would communicate with. If additional machines need to be added to $CAIGLBL0000/caiuser/ccirmtd.rc file, continue with the steps below. Otherwise, proceed to section Starting CCI. 2. 3. Log into the Windows desktop with an account having administrative privileges where Unicenter AutoSys Job Management is installed. Locate and edit file $CAIGLBL0000/caiuser/ccirmtd.rc file.
44
Jobs Using Bi-directional Scheduling 4. Confirm or enter the following values for local and remote parameters:
LOCAL = local_host local_host 32768 startup REMOTE = remote_host cci_system_id 32768 startup port=7000
See the Unicenter AutoSys Job Management for Windows Installation Guide for detailed syntax information. To configure CCI on UNIX: 1. Log in as root to open the $CAIGLBL0000/cci/config/local_host/ ccirmtd.prf file. 2. Enter the following values for local and remote parameters:
LOCAL = local_host local_host 32768 startup REMOTE = remote_host cci_system_id 32768 startup port=7000
See the Unicenter AutoSys Job Management for UNIX Installation Guide for detailed syntax information.
Starting CCI
You must start or restart CCI to enable the new settings. To start CCI on Windows: Existing Condition Unicenter is installed Unicenter is not installed To stop CCI on Windows: Existing Condition Unicenter is installed Unicenter is not installed To start CCI on UNIX: Existing Condition Unicenter is installed Unicenter is not installed Command unistart cci $CAIGLBL0000/cci/scripts/CCISA_rc Command unicntrl stop uni ccicntrl stop Command unicntrl start uni ccicntrl start
45
Jobs Using Bi-directional Scheduling To stop CCI on UNIX: Existing Condition Unicenter is installed Unicenter is not installed Command unishutdown cci $CAIGLBL0000/cci/scripts/CCISA_cshut
If Unicenter AutoSys Job Management will submit work to CA7 and support cross-platform dependencies through Unicenter AutoSys Connect, the following would be entered via JIL at the operating system command prompt:
jil insert_machine: remote_host type: c NOTE: The above machine definition type c implies Unicenter
AutoSys Job Management will submit work through Unicenter AutoSys Connect on the mainframe.
See the appendix Integrating with the Mainframe and AutoSys Agents for AS/400 and OpenVMS, in the Unicenter AutoSys Job Management for Windows User Guide.
46
2.
To submit a job to CA7, through Unicenter AutoSys Connect where the CA7 defined job to run on the mainframe is CA7JOBNM use the following JIL:
insert_job: ca7_job1 command: auto_cnct a remote_host j CA7JOBNM s CA7 c RUN -d machine: remote_host * date_conditions: 1 days_of_week: all start_mins: 25 NOTE: The machine definition of remote_host must have type
3.
To define two jobs, each having a dependency on two OS/390 cross-platform dependent jobs named JB5MINS and JB5HRS respectively, use the following JIL:
insert_job: test_dep1 command: sleep 100 condition: success(JB5MINS^RMT) machine: local_host insert_job: test_dep2 command: sleep 100 condition: success(JB5HRS^RMT) machine: local_host NOTE: This job definition requires the config.EXTERNAL file
47
Jobs Using Bi-directional Scheduling 4. You can also define jobs as a combination of both command jobs and external dependencies. To submit a job that will execute a CA7 defined job named ASYS7002 after the cross-platform dependent job JB5HRS completes use the following JIL:
insert_job: CA7job4 command: auto_cnct a remote_host j ASYS7002 s CA7 c RUN -d machine: remote_host condition: success(JB5HRS^RMT) NOTE: This job definition requires the config.EXTERNAL file
contain an entry for a external instance named RMT and the machine definition of remote_host must have type coded as c for Unicenter AutoSys Connect.
Unicenter AutoSys Job Management is an automated job control system for scheduling, monitoring, and reporting on any AutoSys-configured machine that is attached to a network. As with most control systems, there are many ways to correctly define and implement jobs. It is likely that the way you utilize Unicenter AutoSys Job Management to address your distributed computing needs will evolve over time. As you become more familiar with both the features and the characteristics of your own jobs, you will also refine your use of Unicenter AutoSys Job Management.
48