Conditional Policy Properties

Applies To: Windows Server 2008

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 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 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. In Event Details, click Memory, Processor, or MSCS in the Category drop-down list.

    • If you selected MSCS, click to select a value from the Object Name drop-down list, type the name of the node or resource group in the Object Name cell, and then click to select a value from the Trigger drop-down 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 using the following two procedures.

Configure the default policy associated with the event

Click a resource allocation policy name in the Choose default policy here drop-down list.

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. Click in an empty row in States to access the details configuration.

  2. In Details for the selected state above, click in an empty cell in the Category column to select a category from the drop-down list.

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

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

  3. When you are finished creating state details, in States, click the Policy Name column in the row for the state 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. In States, click an empty cell to create a new state, or click an existing state row.

  2. In Details for the selected state above, add multiple states that you want to combine as a single clause to be evaluated true or false.

  3. In Details for the selected state above, click the first row 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

In States, click the state 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

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

Additional references