Autosys Work-Flow
• Event Server (or Autosys Database)
o Data Repository that stores Autosys system information,events and job definitions.
o The Autosys Db is termed ‘Data Server’ which describes a server instance
• Event Processor
o Interprets and processes all the events it reads from the Autosys Database
o A program that actually runs Autosys
o Scans the database for processing events. Checks if the events satisfy the starting conditions of the job and the determines the actions
• Remote Agent
o Temporary process started by the event processor to perform a specific task on a remote machine
o It starts the command specified for a given job, sends running and completion information about a task to the Event Server
• Step1: The Event Processor scans the Event Server for the next event to processor.If no event is ready,the Event Processor scans again in 5 seconds.
• Step2: The Event Processor reads from the Event Server that an event is ready.The job definition and attributes are retrieved from the Event Server,including the command and the pointer to the profile file to be used for the job
• Step3: The Event Processor processes the event.The Event Processor attempts to establish a connection with the Remote Agent on the client machine and passes the job attributes to the client machne.The Event Processor sends a CHANGE_STATUS event marking in the Event Server that the job is in STARTING state
• Step4: The Remote Agent is invoked using the UserID and Password passed from the Event Processor.
• Step5: The Remote Agent receives the job parameters and sends an acknowledgement to the Event Processor
• Step6: The Remote Agent Starts a process and executes the command in the job definition.
• Step7: The Remote Agent issues a CHANGE_STATUS event marking in the Event Server that the job is in RUNNING state
• Step8: The client job process runs to completion,then returns an exit code to the Remote Agent and quits.
• Step9: The Remote Agent sends the Event Server a CHANGE_STATUS event corresponding to the completion status of the job.The Remote Agent quits
What is Autosys?
• An automated job control system for scheduling,monitoring and reporting jobs• The jobs can reside on an Autosys configured machine attached to a network
What is an Autosys-job?
• A single action performed on a validated machine• Autosys-jobs can be defined using GUI or JIL
• Any single command,executable script or NT batch file.It includes a set of qualifying attributes ,conditions specifying when and where a autosys-job should be run.
Autosys-jobs can be defined by assigning it a name and specifying attributes describing its behavior.
Two methods to define Autosys jobs are:-
1. Using Autosys GUI
• Autosys GUI allows to set the attributes that describe when,where and how a autosys-job should be run.
• GUI Control Panel is used to define autosys-jobs Contain fields that correspond to Autosys JIL sub-commands and attributes.
2. Using job Information Language(JIL)
• A specification language that has its own commands to describe when, where and how a autosys-job should be run.
• The attributes are set of JIL sub-commands
Comments
Post a Comment