Anda di halaman 1dari 23

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

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. Upload the jobs to server
CONTROL-M/Enterprise Manager : Run the batches. Control the batch flow (Hold, Kill, Release jobs) Monitoring the batch

Your presentation title goes here

Restricted for company use only

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.sh NT Batch Files (.bat /.cmd) -> d:\prod\Ctm\Copy_Logs\del_logs.cmd Operator Commands (ls, rm, etc) Data Center

Your presentation title goes here

Restricted for company use only

HSBC TECHNOLOGY AND SERVICES

Control-M Desktop : Defining jobs Scheduling Tab


Scheduling the Jobs execution time can be done here

Run every: Monday, Wednesday, Friday

Run every: 1st, 2nd, 3rd, 4th, 7th and 23rd of the month

Run In the Month of April and May

Your presentation title goes here

Restricted for company use only

HSBC TECHNOLOGY AND SERVICES

Control-M Desktop : Defining jobs Conditions Tab


The Conditions panel describes prerequisite IN and OUT conditions

Your presentation title goes here

Restricted for company use only

HSBC TECHNOLOGY AND SERVICES

Control-M Desktop : Defining jobs Conditions Tab


(Contd.)

Many jobs can depend on one condition One job can depend on many conditions Combination of conditions - 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.

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.
Eg :- /apps/ds/jobrun.sh %%PARM1 %%PARM2 %%PARM3

10

Your presentation title goes here

Restricted for company use only

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 TECHNOLOGY AND SERVICES

Control-M Architecture
Mega Center (Control - M Enterprise Manager) eg : hkd02sn0120v02.hk.hsbc

ControlM Agent (Node)

eg: 130.45.80.1

Data Center (Control-Mserver)


eg: DRE_TT

Data Center (Control-Mserver) eg: GSDE_p01


ControlM Agent (Node) eg: HKG01LP0221S-RS6000.HK.HS

ControlM Agent (Node) ControlM Agent (Node)

ControlM Agent (Node)

12

Your presentation title goes here

Restricted for company use only

HSBC TECHNOLOGY AND SERVICES

Control-M : Uploading the Jobs


When all changes / when the new jobs creation are complete, select File > Write To Control-M EM Highlight the element as per the following screen and click Write.

Click Write

13

Your presentation title goes here

Restricted for company use only

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

HSBC TECHNOLOGY AND SERVICES

Result Analysis Control-M Logs


Right-click on the job will bring us the following menu.

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


Select Sysout and you will get the Sysout for the job.

Above is the Sysout for a Control-M Filewatcher job. The first line shows us the command passed while executing the script with all the parameters included. This Sysout will also display any information that the script passes back. This information can be in form of echo statements written in the script.
19
Your presentation title goes here Restricted for company use only

HSBC TECHNOLOGY AND SERVICES

Result Analysis Control-M Logs


Select log and you will get the log for the job.

This displays a log of all events that have happened to the job. This can include the job being ordered or forced on, the job being held and the job being killed.

20

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. Confirm This is used by an administrator to confirm a job is OK to run. This can be set on the Execution panel of the job editing form. Free This releases a job that has previously been held. Rerun Reruns a failed or killed job. Restart - Allows the job to be restarted from a specific point.

React This reactivates post-processing for the specified job.


Delete This deletes the job from the table. If the job has not yet started to run this prevents it from being able to run, even after all submission and condition criteria are satisfied. If the job is currently executing, this option will be grayed out. If the job has failed, this deletes it from the plan. If a failed job is left on the plan, it will remain there permanently. Kill A job can only be killed from an executing state. It will change the appearance of the job so it appears to have failed (ended Not OK). Force OK This is only available to jobs that have ended not OK (failed) which appear in a red state on the table. Selecting this option changes the job to ended OK, changes the job to a green state on the table and also carries out any post-processing tasks as applicable.
21
Your presentation title goes here Restricted for company use only

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

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. Its solutions connect people, devices and networks across the globe and combine domain expertise, 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.

Presenters 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.com

Restricted for company use only

Anda mungkin juga menyukai