You can change the managing policy on a computer managed by Windows System Resource Manager when an event occurs, or when an additional state or combination of states that you define is determined to be true after an event occurs.

  • To view or modify the properties of a conditional policy, in the Add or Edit Conditional Policies dialog box, click the policy that you want to view or modify in the list, and then click Edit.

  • To create a new conditional policy, in the Add or Edit Conditional Policies dialog box, click Add.

    Note

    Only one conditional policy can be configured for each event category. To create a new processor or memory conditional policy, you must first remove the existing processor or memory conditional policy. If you add a new Cluster services conditional policy, you will be prompted to overwrite the Cluster services conditional policy with which it conflicts.

Common tasks in Conditional Policy Properties

Task Procedure

Create a new conditional policy.

  1. Under Event details, in the Category list, select Memory, Processor, or MSCS.

    • If you selected MSCS, in the Object name list, select or type the name of the node or resource group, and then select a value in the Trigger list.

    • If you selected Processor or Memory, follow the steps to define a state that will trigger a policy change.

  2. Configure the default policy and define a state that will trigger a policy change by using the following two procedures.

Configure the default policy associated with the event.

In the Select default policy list, select a resource allocation policy name.

Note

The default policy is only applied if no state configured as part of the conditional policy is true.

Define an additional state that will trigger a policy change when an event occurs.

  1. Under States, click in an empty row to access the details configuration.

  2. Under State details, click in an empty cell in the Category column and then select a category from the drop-down list.

    • If you selected Processor or Memory, in the Operator column, select an operator, and then in the Quantity column, type the number of processors or a memory quantity (in MB).

    • If you selected MSCS, in the Object Name list, click and type the name of the node or resource group, and then in the State column, click to select a state from the drop-down list.

  3. When you are finished creating state details, under States, click the Policy Name column in the row for the state that you just created. In the drop-down list, choose a policy to apply when the state is true.

Combine state clauses to create groups.

  1. Under States, click an empty cell to create a new state, or click an existing state row.

  2. Under State details, add multiple states that you want to combine as a single clause to be evaluated as true or false.

  3. Under State details, click the first row that you want to combine with another row, and then press SHIFT+click to select rows to combine.

    Note

    You can only group rows that are consecutive. Nested groups are supported.

  4. Right-click the highlighted rows, and then click Add Group to create a clause.

Change the order in which states are evaluated as true or false.

Under States, click the state that you want to move, and then click the up or down arrows to move it. States at the top of the list are evaluated first.

Enable or disable evaluating a state when the associated event occurs.

Under States, select the check box in the state row to enable or disable evaluation of the state when the associated event occurs.


Table Of Contents