Control-M/Forecast
Control-M/Forecast simulates future job and SLA service
An executable container of jobs and sub-folders that passes its definitions to the included jobs and sub-folders. run and execution behavior, based on the current job definitions, scheduling criteria, Control-M Statistics
Control-M Statistics calculate start and end time, execution time, and standard deviation estimations from records of past job executions that are saved on Server, and can be refined with Periodic Statistics rules., and Forecast Rules, as described in SLA Manager/Forecast Rules. This enables you to determine how jobs are expected to perform, as described in Creating a Forecast, and (if relevant) why they are not expected to run, as described in Discovering Why.
After you create a Forecast, you can add one or more What-If Scenarios to simulate how future job runs and executions will perform under different circumstances, or with modified job definitions or scheduling criteria, as described in Creating a What-If Scenario.
-
A business user wants to know how a workflow will run and complete tomorrow. The user creates a Forecast that filters the required jobs and sees that job A will not run. To discover why, the user clicks job A, opens the Why tool, and sees that the resource pool is not available. The user creates a What-if Scenario that increases the resource pool to the required level, and then refreshes the Forecast to see if job A will now run and complete successfully. The business user can now discuss the Forecast results with a Control-M Scheduler to determine the appropriate course of action.
-
Jobs A and B are connected by an event. A Control-M Scheduler deletes job B, creates job C in its place, and creates additional jobs with different scheduling criteria in the same folder. To verify that the workflow will run and complete successfully after the update, the Scheduler checks in the workspace and creates a Forecast for a future date. In the Forecast, job B disappears from the workflow, job C appears, and the remaining workflow runs on time and completes as expected. The Scheduler then creates Forecasts for additional dates to verify the unique scheduling criteria for the remaining added jobs.
-
A Control-M Scheduler updates a calendar and then creates a Forecast to verify that the relevant workflows will run successfully with the calendar changes.
-
From noon to 2:00 PM this Sunday, a Control-M/Server will be down while it is upgraded to a higher version. To see which applications, folders, and jobs are expected to run on the Control-M/Server at this time, a Scheduler creates a Forecast. The Scheduler then creates a Downtime What-If Scenario for this Control-M/Server, for the expected downtime hours, to understand its effects on the workflow. This enables the Scheduler to determine if one or more jobs must be held or if other actions must be taken before the maintenance period begins.
Creating a Forecast
This procedure describes how to create a Forecast, which simulates future job runs and executions. This enables you to determine how jobs are expected to perform on the date that you define.
BMC recommends that you create no more than three simultaneous Forecasts.
Before You Begin
-
Verify that the Forecast setting is enabled in System Settings, as described in Configuring System Settings.
Begin
-
From the Tools drop-down list, select Forecast.
The Forecast tab appears.
-
In the Date area, click the calendar date field and type or select a future date to simulate job runs and executions.
-
In the Attributes area, define the job or service attributes that apply to this Forecast.
-
In the Advanced area, define the advanced attributes that apply to this Forecast, as described in Advanced Forecast Attributes.
-
Click Run Forecast.
The defined Forecast appears in the Forecast tab.
Discovering Why
This procedure describes how to determine why one or more jobs fail to run or execute in a Forecast simulation.
Before You Begin
-
Verify that the Forecast setting is enabled in System Settings, as described in Configuring System Settings.
-
Create a Forecast, as described in Creating a Forecast.
Begin
-
From the Forecast tab, select a job that did not run or execute, and then from the Forecast toolbar click Why.
The Why? dialog box appears with a simulated job log
The activity log of a job, which lists every job status change, such as job execution start and completion times, and how the job ended. that enables you to determine why the job failed to run or execute.
Creating a What-If Scenario
This procedure describes how to create a What-If Scenario, which enables you to forecast how a job is expected to perform if different job definitions or scheduling criteria are defined.
Before You Begin
-
Verify that the Forecast setting is enabled in System Settings, as described in Configuring System Settings.
-
Create a Forecast, as described in Creating a Forecast.
Begin
-
From the Services tab toolbar, click Add Rule.
A list of What-If Scenario rules appear, as described in What-If Scenario Rules.
-
Click and define one of the following rules:
-
Resource Pool: For more information, see Resource Pool Rule Attributes.
-
Job Run Time: For more information, see Job Run Time Rule Attributes.
-
Time Frame: For more information, see Time Frame Rule Attributes.
-
Event: For more information, see Event Rule Attributes.
-
Force OK: For more information, see Force OK Rule Attributes.
-
Confirmation: For more information, see Confirmation Rule Attributes.
-
Job Priority: For more information, see Job Priority Rule Attributes.
-
Skip Job: For more information, see Skip Job Rule Attributes.
-
Downtime: For more information, see Downtime Rule Attributes.
-
-
(Optional) Click Add Rule to simulate additional changes to the job definitions and scheduling criteria.
-
(Optional) To disable the rule, from the left pane, toggle off the rule and click Save.
Advanced Forecast Attributes
The following table describes the attributes that you can define in the Advanced area of the Forecast tab when you create a Forecast, as described in Creating a Forecast.
|
Attribute |
Description |
|---|---|
|
Job Execution Time |
Determines the expected length of job execution time, based on previous job execution data saved in Control-M Statistics, as follows:
Control-M Statistics includes start time, end time, execution time (runtime), and standard deviation estimations from records of past job executions, which are saved on Control-M |
|
Use Published Calendars |
Determines the calendars that are included in the forecast, as follows:
For more information, see Calendars. |
|
Servers to Use |
Determines which Control-M/Servers to include in the forecast, as follows:
|
What-If Scenario Rules
The following table describes the rules that you can define in a What-If Scenario, which enables you to forecast how a job is expected to perform if different job definitions or scheduling criteria are defined.
|
Rule |
Description |
|---|---|
|
Resource Pool |
Defines changes in resource pool availability, based on the number of resources and times that you define. |
|
Job Run Time |
Defines changes to job execution times by a percentage or amount of time. |
|
Time Frame |
Defines changes to job scheduling criteria. |
|
Event |
Defines new events or wait for events or deletes current ones. |
|
Force OK |
Determines which jobs users are expected to set to OK when these jobs end Not OK. |
|
Confirmation |
Determines which jobs are expected to receive a user confirmation and when. By default, Forecast assumes that jobs which require user confirmation are confirmed at the average job execution time. You can change this setting with the ExecuteConfirmedJobs system parameter, as described in Control-M/Forecast Parameters. |
|
Job Priority |
Defines changes to job priorities. |
|
Skip Job |
Determines the jobs that are skipped. |
|
Downtime |
Determines the times that one or more hosts or host groups are expected be down. |
Resource Pool Rule Attributes
The following table describes the resource pool rule attributes that enable you to update the expected availability of a resource pool in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Server |
Defines the Control-M/Server which contains the jobs that are included in this rule. |
|
Resource Pool |
Defines the resource pool that you expect to change. |
|
Maximum |
Determines the maximum quantity of this resource pool that you expect to be available, as follows:
|
|
At |
Determines when this rule takes effect, as follows:
|
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Job Run Time Rule Attributes
The following table describes the job execution time rule attributes that enable you to update the expected execution time for one or more jobs in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Update Job Execution Time |
Defines the percentage or amount of currently predicted execution time that these jobs are expected to change by, as follows:
|
|
Include Attributes |
Defines the general job attributes that match the required jobs for this rule, as described in Job General Attributes. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Time Frame Rule Attributes
The following table describes the time frame rule attributes that enable you to edit the scheduling criteria for one or more jobs in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Update Time Frame |
Determines the new period of time when the jobs that you define in this rule are expected to execute, as follows:
|
|
Include Attributes |
Defines the general job attributes that match the required jobs for this rule, as described in Job General Attributes. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Event Rule Attributes
The following table describes the event rule attributes that enable you to add or delete an event in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Server |
Defines the Control-M/Server which contains the jobs that are included in this rule. |
|
Run Date |
Determines the run date of the jobs that are included in this rule, as described in Event Attributes. |
|
Event |
Defines the new event name, as described in Event Attributes. |
|
Action |
Determines whether the new event is added or deleted from the job after it completes execution, as follows:
|
|
At |
Determines when this rule takes effect, as follows:
|
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Force OK Rule Attributes
The following table describes the force OK rule attributes that enable you to determine when users are expected to set one or more job statuses to Ended OK in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Force Ok at |
Determines when the job status is set to Ended OK, as follows:
|
|
Include Attributes |
Defines the general job attributes that match the required jobs for this rule, as described in Job General Attributes. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Confirmation Rule Attributes
The following table describes the user confirmation rule attributes that enable you to determine whether a user will manually confirm one or more jobs in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Confirm At |
Determines when the user is expected to grant a confirmation, as follows:
|
|
Include Attributes |
Defines the general job attributes that match the required jobs for this rule, as described in Job General Attributes. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Job Priority Rule Attributes
The following table describes the user job priority rule attributes that enable you to change the priority for one or more jobs in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Set Priority |
Determines how the Priority job attribute is defined, as described in Job General Attributes. |
|
Set Critical |
Determines how the Critical job attribute is defined, as described in Job General Attributes, as follows:
|
|
Include Attributes |
Defines the general job attributes that match the required jobs for this rule, as described in Job General Attributes. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Skip Job Rule Attributes
The following table describes the skip job rule attributes that enable you to skip one or more jobs in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Include Attributes |
Defines the general job attributes that match the required jobs for this rule, as described in Job General Attributes. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
Downtime Rule Attributes
The following table describes the downtime rule attributes that determine the time that one or more hosts or host groups are expected be down in a What-If Scenario.
|
Attribute |
Description |
|---|---|
|
Server |
Determines the Control-M/Server where the host or host groups are located. |
|
Host/Host Group |
Defines the host or host group that is expected to be down. |
|
Downtime frame (Server time) |
Determines when the host or host groups are expected to be down. |
|
Periodic Calendar |
(Optional) Determines the periodic calendar and periods that apply to this rule. For more information, see Calendars. |
