SLA Manager/Forecast Rules
SLA Manager/Forecast rules are user-defined exceptions to the job execution schedule that cannot be predicted by SLA Management jobs or Control-M/Forecast, which both rely on 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.. These rules define user-expected changes in resource pool
A type of quantifiable resource, which represents the total amount of resources from a physical or logical device that a job can access. availability, job execution time, new events, and manual user confirmations, and enable you to correct service prediction errors that would otherwise occur in SLA jobs and Control-M/Forecast.
-
Job A is attached to an SLA Management job, set to execute at noon, and requires two CPU resource pool units. At 10:00 am, a Control-M Administrator intends to change the available CPU units from 10 to 0, to perform an ad hoc system backup. However, the Administrator knows that this will cause the SLA job to immediately send an alert, since it estimates that Job A will not meet its two required resource pool prerequisites at its scheduled noon execution time and end Not OK. To prevent the SLA job from sending this alert in error, the Control-M Administrator first adds an Increase CPU by 10 resource pool rule. This tells the SLA job that the required CPUs will return to their original availability at 10:30 am, before the job executes.
-
Job B takes longer to execute than usual because a hardware malfunction has caused the primary Server to failover to the secondary Server host, which has lower resources. Since Forecast relies on statistics that do not include this case, it will fail to accurately predict how long Job B will execute. To correct this prediction error, an authorized Control-M user creates an Increase job run time by 50% Job Execution Time rule, which tells Forecast that the job will take 50% longer than usual to execute.
Rule order can affect how SLA Manager/Forecast rules operate and how services are predicted to behave.
The normal execution time for Job_C is 5 minutes. An authorized Control-M user creates two Job Execution Time rules in the following order:
-
Set Job Execution Time to 00:30:00: Increases the predicted execution time to 30 minutes.
-
Increase Job Execution Time by 200%: Further increases the predicted execution time to 90 minutes.
If the order of these rules is reversed, then the predicted execution time changes as follows:
-
Increase Job Execution Time by 200%: Increases the predicted execution time to 15 minutes.
-
Set Job Execution Time to 00:30:00: Defines the predicted execution time as 30 minutes.
This rule order reversal creates a 60-minute difference in the predicted execution time for Job_C.
Creating an SLA Manager/Forecast Rule
This procedure describes how to create an SLA Manager/Forecast Rule, which enables you to correct service prediction errors that would otherwise occur in SLA jobs and Control-M/Forecast.
Begin
-
From the Tools drop-down list, select SLA Manager/Forecast Rules.
The SLA Manager/Forecast Rules tab appears.
-
From the SLA Manager/Forecast Rules ribbon, click Add Rule, and then select and define one of the following rules:
-
Resource Pool: For more information, see Resource Pool Rule Attributes.
-
Job Execution Time: For more information, see Job Execution Time Attributes.
-
Event: For more information, see Event Rule Attributes.
-
Confirmation: For more information, see Confirmation Rule Attributes.
The rule appears in the left pane.
-
-
Click Save.
The new rule is saved.
-
(Optional) To disable the rule, from the left pane, toggle off the rule and click Save.
-
(Optional) To change the rule order, from the left pane, click and drag the rule to the required position.
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. This prevents service prediction errors in SLA jobs and Control-M/Forecast.
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 Execution Time 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. This prevents service prediction errors in SLA jobs and Control-M/Forecast.
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. |
Event Rule Attributes
The following table describes the event rule attributes that enable you to describe a new event. This prevents service prediction errors in SLA jobs and Control-M/Forecast.
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. |
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. This prevents service prediction errors in SLA jobs and Control-M/Forecast. For more information, see Prerequisites.
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. |