12.7 Guidelines for Creating Custom Policy

Here are few guidelines to follow when you create a custom multi-threading policy to define a unique data set (disjoint set) in Designer:

  • To add a custom multi-threading policy, you must create a new package in the Package Catalog, then install the package to the Roles and Resource Service Driver. For a detailed information on how to create custom packages, see Developing Packages in the NetIQ Designer for Identity Manager Administration Guide. NetIQ recommends that you also read the Best Practices for Package Development section before you start developing custom packages.

  • You must include a “disjoint-set” operation property in the rule that evaluates the requests for disjoint set criteria in your policy. You can create this operation property using the Actions Builder by specifying the disjoint set variable in the string value. The driver uses this property to ensure that the default NOVLRSERVB-sub-etp-DisjointSets policy does not overwrite the disjoint set created by the custom multi-threading policy.

  • You must ensure that the driver executes the custom multi-threading policy before the default NOVLRSERVB-sub-etp-DisjointSets policy. You can accomplish this by assigning a policy weightage value between 100 and 400 for the custom multi-threading policy. For example, if you assign a policy weightage value of 200 for the custom multi-threading policy, the driver will execute the policy modules in the following sequence:

    • NOVLSERVB-sub-etp-Scoping

    • Custom Policy

    • NOVLRSERVB-sub-etp-DisjointSets

    • NOVLRSERVB-sub-etp

    For more information on how to assign a weight to your policy, see Assigning Weight to the Policy.

12.7.1 Assigning Weight to the Policy

To assign weight to the policy, perform the following actions:

  1. Right-click the policy in the Outline view.

  2. Select Properties > Linkage.

    NOTE:Make sure to add rules to your custom policy, else the Linkage option will not be shown in the properties window.

  3. Specify the desired value in the Weight field. As a best practice, use a policy weight ending with 5 or 0.

  4. Click OK.