Creating policies


The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

You can tag a service blueprint at several levels: service blueprint definition, component, service deployment definition, resource sets, and compute resources.

You can also create any of these policy types and map tenants to the resources. This enables you to control which resources are used when provisioning a service instance requested by the user of a specific tenant. Policies based on tenant tags are useful only when two or more tenants share a network container but require different resource pools.

Before you begin

Create tag groups and tags, as described in Creating-tag-groups-and-tags.

Tag objects in BMC Cloud Lifecycle Management, as described in Assigning-a-tag-to-an-object.

To create a policy

  1. From the BMC Cloud Lifecycle Management Administration console, click the vertical Workspaces menu on the left side of the window and select Service Governor.
     The Service Governor workspace is displayed:

    The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

  2. Under Quick Links on the left, click a policy type under Policies.
  3. In the Edit Condition workarea, select an item from the dropdnarrow.giflist:
    • Match All — Must match all of the tags specified in all of the conditions:
    • Match Any — Match any of the tags specified in any of conditions:
  4. Create a condition:
     A condition is satisfied if any of the tags from the selected Tag Source are in the selected Tag Group and match a tag of a resource.
    1. Click Add condition plus_button.gif.
    2. Under Tag Source, select an item from the dropdnarrow.giflist:
      • Service Blueprint — Indicates that you want to match tags applied to service blueprints
      • Tenant — Indicates that you want to match tags applied to tenants
    3. Under Tag Group, using the dropdnarrow.giflist, select a tag group to which the tag source must belong.
  5. Continue adding conditions as needed to the policy by clicking Add condition and creating a condition.
     You can remove a condition by clicking the delete condition icon minus_button.gifnext to the condition that you want to delete.
  6. Click Save.
     You must click Save before switching to a different policy type under Quick Links on the left.

The policy is now active.

Note

The network container policy is evaluated before the compute pool policy. If you have conditions in the network container policy, compute pool policies are considered only for compute pools that are mapped to the network container that is picked during the network container policy evaluation.

Example

A company named XYZ, Inc. has the following network containers mapped:

  • Container A is tagged as Gold from the SLA tag group.
  • Container B is tagged as Silver from the SLA tag group.

Company XYZ has the following compute resource pools and each pool is mapped to network containers A and B:

  • Pool Alpha is tagged as Gold from the SLA tag group.
  • Pool Omega is tagged as Silver from the SLA tag group.

Company XYZ has created the following service blueprints:

  • Windows 2003 Gold is tagged as Gold from the SLA tag group.
  • Windows 2003 Silver is tagged as Silver from the SLA tag group.

Company XYZ wants to create policies to ensure that:

  • Services created using the service blueprint tagged as Gold are created in the Gold network container and use resources from the Gold resource pool.
  • Services created using the service blueprint tagged Silver are created in the Silver network container and use resources from the Silver resource pool.

To assign the correct resources for network containers, company XYZ creates the following network container policy:

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

To assign the correct resources for compute resource pools, the company also creates the following compute pool policy:

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Related topics

Creating-and-managing-policies

Editing-policies

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*