Control-M

- Krishna Sumanth Kolla

HSBC Technology and Services

HSBC TECHNOLOGY AND SERVICES

}

Control-M Introduction

 Control-M is a workload Automation (traditionally called batch scheduling) software produced by BMC Software  Traditional job scheduling based on date/time criteria does not meet the needs of most IT organizations.

 Originally written for mainframes but also available for distributed
computing platforms including Unix, Windows, Linux and OpenVMS environments.  Control-M is the most widely used scheduling software in large enterprises

2

Your presentation title goes here

Restricted for company use only

Kill. Upload the jobs to server  CONTROL-M/Enterprise Manager : Run the batches. Control the batch flow (Hold. Release jobs) Monitoring the batch 3 Your presentation title goes here Restricted for company use only .HSBC TECHNOLOGY AND SERVICES } Control-M components: Control-M is a suite of products that are designed for job scheduling  CONTROL-M Desktop : Create / Amend the jobs. Write the amended jobs to server.

rm.sh  NT Batch Files (.cmd) -> d:\prod\Ctm\Copy_Logs\del_logs.cmd  Operator Commands (ls. etc) Data Center 4 Your presentation title goes here Restricted for company use only .bat /.HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – General Tab (Contd…)  Each job in your production environment is represented in CONTROLM/EM by a job processing definition  Unix shell scripts -> /home/scripts/process_17.

HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – Scheduling Tab  Scheduling the Jobs execution time can be done here Run every: Monday. 7th and 23rd of the month Run In the Month of April and May 5 Your presentation title goes here Restricted for company use only . Wednesday. 4th. Friday Run every: 1st. 2nd. 3rd.

HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – Conditions Tab  The Conditions panel describes prerequisite IN and OUT conditions 6 Your presentation title goes here Restricted for company use only .

)  Many jobs can depend on one condition  One job can depend on many conditions  Combination of conditions .HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – Conditions Tab (Contd….AND/OR demo 7 Your presentation title goes here Restricted for company use only .

HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – Steps Tab  This tab defines what action the job taken after its completion. 9 Your presentation title goes here Restricted for company use only .

HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – Set Tab  Parameters passed to script to execute is defined in “set” tab of properties for the job./apps/ds/jobrun.sh %%PARM1 %%PARM2 %%PARM3 10 Your presentation title goes here Restricted for company use only . Eg :.

HSBC TECHNOLOGY AND SERVICES } Control-M Desktop : Defining jobs – Execution Tab  Node ID: Server on which the script is executing 11 Your presentation title goes here Restricted for company use only .

hsbc ControlM Agent (Node) eg: 130.80.HK.HSBC TECHNOLOGY AND SERVICES } Control-M Architecture Mega Center (Control .HS ControlM Agent (Node) ControlM Agent (Node) ControlM Agent (Node) 12 Your presentation title goes here Restricted for company use only .45.1 Data Center (Control-Mserver) eg: DRE_TT Data Center (Control-Mserver) eg: GSDE_p01 ControlM Agent (Node) eg: HKG01LP0221S-RS6000.hk.M Enterprise Manager) eg : hkd02sn0120v02.

HSBC TECHNOLOGY AND SERVICES } Control-M : Uploading the Jobs  When all changes / when the new jobs creation are complete. Click Write 13 Your presentation title goes here Restricted for company use only . select File > Write To Control-M EM  Highlight the element as per the following screen and click Write.

HSBC TECHNOLOGY AND SERVICES } click Write again The following screen should be displayed At this point your changes have been saved to the Control-M Enterprise Manager Need to be uploaded to the Control-M Server environment. click Close 14 Your presentation title goes here Restricted for company use only .

HSBC TECHNOLOGY AND SERVICES } 15 Your presentation title goes here Restricted for company use only .

HSBC TECHNOLOGY AND SERVICES } CONTROL-M/Enterprise Manager 16 Your presentation title goes here Restricted for company use only .

HSBC TECHNOLOGY AND SERVICES } Result Analysis – Control-M Logs 17 Your presentation title goes here Restricted for company use only .

Select ‘Why?’ The following screen will appear  „Why?‟ can be performed on jobs with Waiting condition Status 18 Your presentation title goes here Restricted for company use only .HSBC TECHNOLOGY AND SERVICES } Result Analysis – Control-M Logs Right-click on the job will bring us the following menu.

 The first line shows us the command passed while executing the script with all the parameters included. 19 Your presentation title goes here Restricted for company use only .  Above is the Sysout for a Control-M Filewatcher job.  This information can be in form of echo statements written in the script.HSBC TECHNOLOGY AND SERVICES } Result Analysis – Control-M Logs Select ‘Sysout…’ and you will get the Sysout for the job.  This Sysout will also display any information that the script passes back.

20 Your presentation title goes here Restricted for company use only . This can include the job being ordered or forced on. This displays a log of all events that have happened to the job. the job being held and the job being killed.HSBC TECHNOLOGY AND SERVICES } Result Analysis – Control-M Logs Select ‘log’ and you will get the log for the job.

 Kill – A job can only be killed from an executing state. If the job is currently executing. 21 Your presentation title goes here Restricted for company use only .HSBC TECHNOLOGY AND SERVICES } Control-M EM Options  Hold – This will pause the job and stop running it. If a failed job is left on the plan. If the job has not yet started to run this prevents it from being able to run. This can be set on the Execution panel of the job editing form. Selecting this option changes the job to ended OK.  React – This reactivates post-processing for the specified job.  Force OK – This is only available to jobs that have ended not OK (failed) which appear in a red state on the table. it will remain there permanently. If the job has failed.  Free – This releases a job that has previously been held. this deletes it from the plan.  Rerun – Reruns a failed or killed job. even after all submission and condition criteria are satisfied.  Confirm – This is used by an administrator to confirm a job is OK to run. this option will be grayed out.  Delete – This deletes the job from the table.  Restart . It will change the appearance of the job so it appears to have failed (ended Not OK).Allows the job to be restarted from a specific point. changes the job to a green state on the table and also carries out any post-processing tasks as applicable.

HSBC TECHNOLOGY AND SERVICES } 22 Your presentation title goes here Restricted for company use only .

HSBC TECHNOLOGY AND SERVICES } .Krishna Sumanth Kolla 23 Your presentation title goes here Restricted for company use only .

com Restricted for company use only . process skills and technology to deliver unparalleled business value. thereby enabling HSBC to stay ahead of competition by addressing market changes quickly and developing profitable customer relationships. Its solutions connect people. devices and networks across the globe and combine domain expertise. Presenter’s Contact Details: Name: Lorem ipsum Role: Lorem ipsum Direct: +00 00 000 Email: loremipsum@hsbc.com Name: Lorem ipsum Role: Lorem ipsum Direct: +00 00 000 Email: loremipsum@hsbc.HSBC TECHNOLOGY AND SERVICES About HSBC Technology and Services HSBC Technology and Services (HTS) is a pivotal part of the Group and seamlessly integrates technology platforms and operations with an aim to re-define customer experience and drive down unit cost of production.

Sign up to vote on this title
UsefulNot useful