Академический Документы
Профессиональный Документы
Культура Документы
Control-M Components
=========================================================
Introduction to Control-M
Control-M is a software application product developed by a team of software engineers in
Israel to provide enterprise-level job scheduling and management. According to BMCs
literature CONTROL-M for Distributed Systems is a business integrated scheduling product
that focuses on the production environment's business applications and platforms. Simply
put, Control-M is an application able to execute programs on many different types of servers,
manage the timing of them and report the results to a central point.
What are the default port numbers from Server to Agent and Agent to Server?
CONTROL-M/Server and CONTROL-M/Agent communicate by means of two TCP/IP
ports. They are "Server-to-Agent Port" and "Agent-to-Server Port". The default "Server-toAgent Port Number" is 7006 and "Agent-to-Server Port Number" is 7005. Normally these
values will be in the range of 1025 to 65535[inclusive].
What is Datacenter?
Control-M datacenter is comprised of Control-M/Server, Database, and ControlM/Agents.
If you see the diagram here, you can observe 2 datacenters in that picture.
Normally we will be having different datacenters for Test, Dev, Prod.. etc. in some
organizations for few critical applications they may maintain a different datacenter.
Datacenter design is completely depend upon the organizations design plan for
scheduling solution.
What are The Control-M Accessories?
Control-M/Enterprise Manager GUI (EM/GUI or ECS GUI), Gateways, Global Alert
Server (GAS), Global Condition Server (GCS) and Control-M GUI Server.
It is important to understand what each of these components does and its place in the
Control-M architecture.
What is GAS?
Expansion of GAS is Global Alert Server. This is one of the components of Control-M
EM Server.
This will be used to store all the alerts generated from datacenters under the Control-M
EM.
What is GCS?
Expansion of GCS is Global Condition Server. This is also one of the components of
Control-M EM Server.
This will be used to store all the conditions generated from datacenters under the
Control-M EM.
What is New Day Process(NDP)?
At a set time each day (defined during installation as the start of day at the site), CONTROLM performs New Day processing, during which:
CONTROL-M performs a number of maintenance and cleanup functions that the operator
Click on File/Open Viewpoint in the Control-M/Enterprise Manager window to load the list
of viewpoints. You can have more then one viewpoint open at a time.
In this example two viewpoints have been opened. One viewpoint shows All Active Jobs.
The other viewpoint shows Ended NOTOK jobs only.
You can open as many viewpoints as you wish and click on the Window/Tile and the
Window/Cascade menu options to rearrange the view. You can simply click and drag the
viewpoint windows around to the desired place. All viewpoints will default to show at the
datacenter level.
The CONTROL-M/Enterprise Manager window consists of the following parts:
Navigation Tree Hierarchical view of jobs in the current environment.
Flow Diagram Graphic representation of job production flow, based on job dependencies
established by prerequisite conditions specified in job processing definitions. Components of
the active environment are represented by boxes called nodes. The information displayed in a
node varies depending on the type of node and on how certain customization options.
Net Overview Miniature version of the flow diagram, indicating the part of the network
currently displayed in the Flow Diagram view. By ragging the selected area in this view to a
different part of the network, you can quickly navigate in a complex environment.
Understanding the flow diagram:
In the flow diagram, components of the environment (definition environment or active
environment) are represented by node boxes. The information displayed in a node varies
depending on the type of node and on customization options.
It is the escalation procedure to use in case of any event occur. Event may be Job
Failure, Long Running, Not started by a particular time or Not completed by a specified time.
What is Owner field denotes in Control-M job properties?
This is the actual ID which will be used to execute the job in the given node-id.
Simple terms, The Owner should have permissions to execute the job at the target
machine.
What is Filewatcher?
It is an utility provided by BMC to watch for a File Event to occur. It might be a File
Create, Update or Delete.
For Eg: If I want to start a job based on a File Created at a particular location, I'll setup a
Filewatcher job to look for that particular file and this FileWatcher job will finished OK
when It finds the file. Once this job finished I'll run the NEXT job.
There will be different parameters which we will be using to setup a FileWatcher job.
How will you use Filewatcher?
We can use this in 2 types.
Method 1: Using CTMFW Utility. This should be defined in Command field of a Job.
Method 2: We can use FileWatcher plug-in given by BMC. You have to import the XML
file given by BMC to use this.
Explain Advance File Transfer (AFT)
AFT is another plug-in (application form) given by BMC.
Using this we can transfer File(s) from one location (Source) to another location
(Destination).
To use this, AFT should be setup in Agent Configuration.
What is Job Type?
It is the type of job which you are going to define.
Eg: OS, File Watcher, AFT, FTP, SAP, WINDOWS, Web Service..etc.
Normally we'll select this option in the job properties window, on top of properties tabs.
What is a Template?
Template is nothing but a sample, which will contain certain default values in job
properties.
will check for this option and bring the job into AJF though the job scheduled date has been
crossed.
What is Forecast?
Additional feature control-m has to foresee the job schedule.
You can see this option in 'Scheduling' tab of the job properties dialog box. When you
click on this option it will show you next 12 months schedule of the job based on the options
you have specified in this tab.
Using this you can make sure your scheduling criteria is perfect as per the user request.
What is meant by Agent or Node? Is there any difference?
It is the target system where the control-m job is going to execute.
Agent or Node both are same.
Difference between Node and Node Group?
Node is a Single Agent where as Node Group is a collection of agents (more than 1
agent).
What is wait for confirmation? What is the use of it?
It is similar to a HOLD but the job won't be in Held Status.
Sometimes if any manual confirmation is required before executing a job, we'll use
"Wait for confirmation" in Execution tab.
If you select this option, the job will turn in "PINK" color.
You have to Right click and "Confirm" the job to run (it may go in Wait status, if it has
any other prerequisite conditions or time dependency)
What is MAXWAIT?
Maximum number of days that the job can wait to be executed after its original
scheduling date has passed.
How many types of conditions you use in Control-M?
2 types. Prerequisite Conditions and Global Conditions
Prerequisite Conditions scope will be in the same server/datacenter
Global Conditions scope will be across servers/datacenters
What are Global Conditions?
If you would like to make dependency across the datacenter, then you have to use
Global Conditions.
These Global Conditions needs to be defined using Tools -> Global Conditions option.
Types of Conditions in Condition Tab?
2 types. In Condition and Out Condition.
In Conditions are of Predecessor job(s)
Out Conditions are for Successor job(s)
What are resources? And how many types of resources are available in Control-M?
Resources will be used to make mutual exclusive jobs (jobs not to run at the same time).
There are 2 types or resources.
1 - Quantitative Resources and 2 - Control Resources
Explain Control and Quantitative Resources?
Control Resources are the ones which you can specify the type of control the jobs needs
(Exclusive or Shared). They are often used to represent files, or database tables.
Quantitative Resources are resource definitions for which you specify in CONTROLM/EM an overall quantity available to the CONTROL-M, and the amount required by the job
in the Resource tab. Examples of quantitative resources you might define are CPU (%), RAM
(MB), Hard Disk (GB), and Tape Drives (#).
Use of Set Tab?
It will be used to define variables to pass as parameters to the jobs.
What do you mean by Auto-Edit variable?
AutoEdit variables are resolved at time of job submission, during job execution, or
immediately following job execution (depending on the variable).
These can be used to send as parameters to jobs.
What is PostProc tab?
This tab is used to send Alerts or Shouts to GAS or Shout Destinations (Mail or Page or
Message) based on the event defined.
Possible events are on Job ended "OK" or "NOT OK" or "Rerun" or "Not Submitted on
time" or "Not Completed On time" or "Executing for Long time".
What is COMPSTAT?
It is a Control-M variable which will holds the job Return Code of the current run.
What is MayBe Condition?
If you would like to add a In Condition only if the predecessor job exist else ignore
condition, then you have to use May Be Condition.
It is nothing but a Conditional Dependency.
Ex: If JOB-B is depending on JOB-A, but JOB-B have to wait on ONLY when JOB-A is
in AJF. In this case we'll give Out Condition of JOB-A as #-JOB-A-OK and in Condition of
JOB-B as #-JOB-A-OK.
If you add #- before the condition name that will be taken into account only when the
job is in AJF.