control m ppt
TRANSCRIPT
![Page 1: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/1.jpg)
Control-M Presenation 1
CONTROL-MPresentation
![Page 2: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/2.jpg)
Control-M Presentation 2
Introducing CONTROL-M
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
Alert reactivity
![Page 3: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/3.jpg)
Control-M Presentation 3
Control-m Architecture
![Page 4: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/4.jpg)
Control-M Presentation 4
CONTROL-M/Agent
Three-Tier Architecture Enterprise Management
DB GUI
GATEWAY Engine
TM
UNIX
CONTROL-MAgent
WINDOWS NT
CONTROL-MAgent
UNIX
DBGATEWAY
CONTROL-MServer
CONTROL-M/Server
Gateway
WINDOWS 2000
CONTROL-MAgent
![Page 5: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/5.jpg)
Control-M Presentation 5
Control-M AgentCONTROL-M/Agent
Run under Windows NT/200, Unix, etc …
Receive order from Control-M Server
Submit, monitor, control and manage jobs
Send result to Control-M Server
UNIX
CONTROL-MAgent
WINDOWS NT
CONTROL-MAgent
![Page 6: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/6.jpg)
Control-M Presentation 6
Control-M Server
It’s the engine of Control-M
Contain all calendars
Contain all job definitions
Activate and Control the « up to plan »
UNIX
DBGATEWAY
CONTROL-MServer
CONTROL-M/Server
![Page 7: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/7.jpg)
Control-M Presentation 7
Enterprise Management
Focal point of control
Responsible for cross-platform dependencies
Standard GUI for all the Production platforms
Give graphic tools to develop jobs
Enterprise Management
DB GUI
GATEWAY
TM
![Page 8: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/8.jpg)
Control-M Presentation 8
Job Definitions
![Page 9: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/9.jpg)
Control-M Presentation 9
Control-M Job Definition
What ?
Where ?
When ?
Resource RequirementsFlow Control ?
Results Control
Who ?
![Page 10: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/10.jpg)
Control-M Presentation 10
What do we schedule
Unix shell scripts/export/home/hipfeed/interfaces/scripts/ft_process.pl
NT Batch Files (.bat .cmd) d:\prod\Ctm\Copy_Logs\del_logs.cmd
Executable
Operator Commands
What
Execute Command ls -l
![Page 11: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/11.jpg)
Control-M Presentation 11
Where do we run
Does it have a Control-M Agent
Is it a Production or a Uat agent
What
Which server do we use
![Page 12: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/12.jpg)
Control-M Presentation 12
Who can execute it
Does the user login have access right to run the job.
What
Which user login is needed to run the job
![Page 13: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/13.jpg)
Control-M Presentation 13
When : Date & time Scheduling Criteria
Specific days of the month/week/period
Automatic holiday processing
The nth workday
Time window
The nth last workday
When
Job can be executed in several times in cyclic mode with personnal interval
![Page 14: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/14.jpg)
Control-M Presentation 14
When : Selecting a Date
When
Run every: 1st, 2nd, 3rd, 4th, 7th and 23rd of the month.
Depend to working days
Run every: Monday, Wednesday, Friday
![Page 15: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/15.jpg)
Control-M Presentation 15
When : Calendars
When
UK Working Days Calendar for Year 2002
No Run : Bank Holidays
![Page 16: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/16.jpg)
Control-M Presentation 16
When : Complex Dates
When
Run on the 4th of the month, in addition to the day in WD Calendar
Last Working Day of the month
![Page 17: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/17.jpg)
Control-M Presentation 17
What is a condition
Flow Control
Is a Flag sent in PREREQUISITE CONDITIONS BOX underEnterprise ControlStation
A condition depends to the ODAT (Control-M Systeme Date)
This Flag can be expectedby one or several other jobs.
It is not a « goto » command
![Page 18: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/18.jpg)
Control-M Presentation 18
Condition Process
Flow Control
START – JOB-OKSTART – JOB-NOK
JOB-OK - END
JOB-NOK - END
Exist ?
Yes or No
Exist ?
START
END
JOB-OKJOB-NOK
NOT OK(exit 1)
OK(exit 0)
PrerequisiteConditions
Box
Yes or No
START – JOB-NOK START – JOB-OK
JOB-OK - END
OR
JOB-NOK - END
Yes or No
Exist ?
![Page 19: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/19.jpg)
Control-M Presentation 19
Complex Dependencies
Flow Control
Many jobs can depend on one conditionOne job can depend on many conditionsCombination of conditions -AND/OR
![Page 20: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/20.jpg)
Control-M Presentation 20
Benefits
Flow Control
Cross-platform automation flow
No need for manual intervention
Create a Business Process View
Create a Focal Point of Control
![Page 21: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/21.jpg)
Control-M Presentation 21
Resource RequirementPrevents resource contentions between jobs
Provides workload balancing
Eliminates contention bottlenecks
![Page 22: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/22.jpg)
Control-M Presentation 22
Results Control
Capture Standard OUTPUT in Sysout
Shout Message can be sent to User Mail, Distribution List, Console ...
Rerun FacilityRuns same job « n » timesRuns another jobStop a Cyclic Job
Results Control
Sysout contain and Error Code will be tested
![Page 23: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/23.jpg)
Control-M Presentation 23
Job Process
![Page 24: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/24.jpg)
Control-M Presentation 24
Dynamic Scheduling
We can accumulateConditionsSchedule Date and TimeQuantitative Resource
JOB-D
JOB-C
JOB-B
JOB-A
![Page 25: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/25.jpg)
Control-M Presentation 25
00:00 00:00 00:00
12/11/2002 13/11/2002 14/11/2002
SYSTEM DATE
The Control-M System Date isn’t a System Date
Schedule PLANTo be executed, a job should be up to plan.
07:00 07:00 07:00
12/11 13/11 14/1111/11
ODAT – Control-M System Date
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
![Page 26: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/26.jpg)
Control-M Presentation 26
Dynamic SchedulingIf all goes well ...
JOB-D
JOB-C
JOB-B
JOB-A
![Page 27: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/27.jpg)
Control-M Presentation 27
Dynamic Scheduling
JOB-D
Problem ...
Exit code 8
JOB-C
JOB-A
JOB-B
![Page 28: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/28.jpg)
Control-M Presentation 28
Dynamic Scheduling
JOB-C
Other Problems ...
Exit code 16“DB Closed”
RestartRestart--DBDB
JOB-D
JOB-BJOB-A
![Page 29: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/29.jpg)
Control-M Presentation 29
Dynamic Scheduling
JOB-C
Many Problems ...
ClearClear--DBDB
Exit code 32 Exit code 32 ““DB ErrorDB Error””
Exit code 16 “DB Closed”
RestartRestart--DBDB
JOB-D
JOB-BJOB-A
Exit code 8
![Page 30: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/30.jpg)
Control-M Presentation 30
Result Analysis
![Page 31: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/31.jpg)
Control-M Presentation 31
Error Recovery Process
Job Ended
OK Not OK
Exit Code Job’s Output
ActionsActionsActionsActionsActionsActions
Result Analysis
![Page 32: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/32.jpg)
Control-M Presentation 32
Result Analysis
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 is capable of detecting errors and reactto them dynamically
![Page 33: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/33.jpg)
Control-M Presentation 33
Result Analysis – Control-M Logs
![Page 34: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/34.jpg)
Control-M Presentation 34
Result Analysis – Job Sysout
![Page 35: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/35.jpg)
Control-M Presentation 35
Result Analysis - Unix
Unix$ cp /etc/passwd /tmp$ cp /etc/passwdx /tmpcp /etc/passwdx: No such file or directory$ cp /etc/passwd /usr/kvm/xyzzycp: /usr/kvm/xyzzy: Permission denied$ exit 12
On Statement/Code examples for this job:
On Stmt cp /etc/passwdx/tmpCode No such file or directory (the string 'no*file‘
will also work - see wild card characters above)
On Stmt cp /etc/passwd/usr/kvm/xyzzyCode cp *: Permission denied
![Page 36: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/36.jpg)
Control-M Presentation 36
Result Analysis - NT/2000
NTE:\fcopy -recover -context_file="fccf_00007" FCOPY-I-CMD_LINE - Original command was : fcopy "E:\\fastcopy\\*.doc" "\\\\nt-tlv2\\tmp" -report -user="fctest" -password=PASSWORD -replace -context_file="fccf_00007" FCOPY-E-CONNECTREF, could not connect to node nt-tlv2-SYS-E-ERRMSG, Connection refused
On Statement/Code examples for this job:
On Stmt fcopy*Code *could not connect to node nt-tlv2*
![Page 37: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/37.jpg)
Control-M Presentation 37
Error Message Regular (Green)Message for informationUse to keep log informationNo Pilote Action
Urgent (Orange)Warning MessageNeed Pilote acknowledgementNot a Critical Problem
Very Urgent (Red)Critical MessageNeed Pilote acknowledgementCritical Problem, need immediate action
![Page 38: Control m Ppt](https://reader034.vdocuments.site/reader034/viewer/2022050711/544f6c2baf7959e51e8b53a5/html5/thumbnails/38.jpg)
Control-M Presentation 38
What do we needFor the Control-M Diagram
A Organization Chart of the treatments
An Application Architecture Diagram
For Each Job Definitions
Command Line or Executable
User Login
Scheduling Criteria (Date, Time, Calendar...)
Error code and Error Message Received and To beSentActions List, Order for each error
External parameters and processes