This action might not be possible to undo. Are you sure you want to continue?
CONTROL-M is an interoperable solution for the integration of production control from a focal point of management across diverse environments Challenges Managing the enterprise vs. Platforms Controlling the Business Process
Three-Tier Architecture Enterprise Management DB GUI TM GATEWAY Engine CONTROL-M/Server GATEWAY DB CONTROL-M Server Gateway UNIX CONTROL-M/Agent CONTROL-M Agent CONTROL-M Agent CONTROL-M Agent WINDOWS NT WINDOWS 2000 Control-M Presentation UNIX 4 .
monitor.CONTROL-M/Agent Control-M Agent CONTROL-M Agent CONTROL-M Agent WINDOWS NT UNIX Run under Windows NT/200. control and manage jobs Receive order from Control-M Server Send result to Control-M Server Control-M Presentation 5 . Unix. etc … Submit.
Control-M Server CONTROL-M/Server GATEWAY DB CONTROL-M Server UNIX It’s the engine of Control-M Contain all job definitions Contain all calendars Activate and Control the « up to plan » Control-M Presentation 6 .
Enterprise Management Enterprise Management DB GUI TM GATEWAY Focal point of control Standard GUI for all the Production platforms Responsible for cross-platform dependencies Give graphic tools to develop jobs Control-M Presentation 7 .
Job Definitions Control-M Presentation 8 .
Control-M Job Definition What ? Where ? Who ? When ? Flow Control ? Resource Requirements Results Control Control-M Presentation 9 .
pl NT Batch Files (.What do we schedule Unix shell scripts /export/home/hipfeed/interfaces/scripts/ft_process.bat .cmd) Wha t d:\prod\Ctm\Copy_Logs\del_logs.cmd Executable Operator Commands Execute Command ls -l Control-M Presentation 10 .
Where do we run Wha t Which server do we use Does it have a Control-M Agent Is it a Production or a Uat agent Control-M Presentation 11 .
Control-M Presentation 12 .Who can execute it Wha t Which user login is needed to run the job Does the user login have access right to run the job.
When : Date & time Scheduling Criteria Specific days of the month/week/period When Automatic holiday processing The nth workday The nth last workday Time window Job can be executed in several times in cyclic mode with personnal interval Control-M Presentation 13 .
7th and 23rd of the month. 3rd.When : Selecting a Date When Run every: 1st. Wednesday. Run every: Monday. 2nd. 4th. Friday Depend to working days Control-M Presentation 14 .
When : Calendars UK Working Days Calendar for Year 2002 When No Run : Bank Holidays Control-M Presentation 15 .
in addition to the day in WD Calendar Last Working Day of the month Control-M Presentation 16 .When : Complex Dates When Run on the 4th of the month.
What is a condition Is a Flag sent in PREREQUISITE CONDITIONS BOX under Enterprise ControlStation Flow Cont rol This Flag can be expected by one or several other jobs. It is not a « goto » command A condition depends to the ODAT (Control-M Systeme Date) Control-M Presentation 17 .
END JOB-NOK .Condition Process START NOT OK (exit 1) START – JOB-NOK Flow START – JOB-OK START – JOB-NOK OK (exit 0) Exist ? Yes or No START – JOB-OK Exist ? Yes or No Cont rol JOB-NOK JOB-OK JOB-OK .END OR JOB-OK .END Exist ? Yes or No END Control-M Presentation 18 .END Prerequisite Conditions Box JOB-NOK .
Complex Dependencies Flow Cont rol Many jobs can depend on one condition One job can depend on many conditions Combination of conditions AND/OR Control-M Presentation 19 .
Benefits Cross-platform automation flow No need for manual intervention Create a Business Process View Flow Create a Focal Point of Control Cont rol Control-M Presentation 20 .
Resource Requirement Prevents resource contentions between jobs Provides workload balancing Eliminates contention bottlenecks Control-M Presentation 21 .
Distribution List.. Console .Results Control Capture Standard OUTPUT in Sysout Sysout contain and Error Code will be tested Shout Message can be sent to User Mail.. Rerun Facility Runs same job « n » times Runs another job Stop a Cyclic Job Resu lts Co ntrol Control-M Presentation 22 .
Job Process Control-M Presentation 23 .
Dynamic Scheduling JOB-B JOB-A JOB-C We can accumulate Conditions Schedule Date and Time Quantitative Resource JOB-D Control-M Presentation 24 .
a job should be up to plan.Schedule PLAN To be executed. A plan is a period of 24 hours The plan begins at 7:00 AM (for that example) The plan stops at 6h59 AM the following day The Control-M System Date isn’t a System Date ODAT – Control-M System Date 11/11 12/11 13/11 14/11 00:00 07:00 12/11/2002 00:00 07:00 13/11/2002 00:00 07:00 14/11/2002 SYSTEM DATE Control-M Presentation 25 .
.. JOB-B JOB-A JOB-C JOB-D Control-M Presentation 26 .Dynamic Scheduling If all goes well .
JOB-B JOB-A JOB-C Exit code 8 JOB-D Control-M Presentation 27 ...Dynamic Scheduling Problem .
JOB-B JOB-A Restart-DB JOB-C Exit code 16 “DB Closed” JOB-D Control-M Presentation 28 .Dynamic Scheduling Other Problems ...
JOB-A JOB-B Restart-DB JOB-C Clear-DB Exit code 8 Exit code 16 “DB Closed” JOB-D Exit code 32 “DB Error” Control-M Presentation 29 ..Dynamic Scheduling Many Problems ..
Result Analysis Control-M Presentation 30 .
Error Recovery Process Job Ended Exit Code Job’s Output Result Analysis OK Not OK Actions Actions Actions Actions Actions Actions Control-M Presentation 31 .
Result Analysis CONTROL-M is capable of detecting errors and react to them dynamically Analyze contents of the Job Log Match Line of statement with statement ouput and errors (contain of sysout) Actions : Set completion status to Ok or NOTOK Set a parameter value (counter) Create or delete a condition Force a job to run Notify a user or console message Rerun the job Stop Cyclic Control-M Presentation 32 .
Result Analysis – Control-M Logs Control-M Presentation 33 .
Result Analysis – Job Sysout Control-M Presentation 34 .
Unix Unix $ cp /etc/passwd /tmp $ cp /etc/passwdx /tmp cp /etc/passwdx: No such file or directory $ cp /etc/passwd /usr/kvm/xyzzy cp: /usr/kvm/xyzzy: Permission denied $ exit 12 On Statement/Code examples for this job: On Stmt Code cp /etc/passwdx/tmp No such file or directory (the string 'no*file‘ will also work .Result Analysis .see wild card characters above) cp /etc/passwd/usr/kvm/xyzzy cp *: Permission denied On Stmt Code Control-M Presentation 35 .
Original command was : fcopy "E:\\fastcopy\\*. could not connect to node nt-tlv2 -SYS-E-ERRMSG.NT/2000 NT E:\fcopy -recover -context_file="fccf_00007" FCOPY-I-CMD_LINE . Connection refused On Statement/Code examples for this job: On Stmt Code fcopy* *could not connect to node nt-tlv2* Control-M Presentation 36 .Result Analysis .doc" "\\\\nt-tlv2\\tmp" -report -user="fctest" password=PASSWORD -replace -context_file="fccf_00007" FCOPY-E-CONNECTREF.
Error Message Regular (Green) Message for information Use to keep log information No Pilote Action Urgent (Orange) Warning Message Need Pilote acknowledgement Not a Critical Problem Very Urgent (Red) Critical Message Need Pilote acknowledgement Critical Problem. need immediate action Control-M Presentation 37 .
Time.What do we need For the Control-M Diagram A Organization Chart of the treatments An Application Architecture Diagram For Each Job Definitions External parameters and processes Command Line or Executable User Login Scheduling Criteria (Date. Order for each error Control-M Presentation 38 . Calendar.) Error code and Error Message Received and To be Sent Actions List...