Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Creating tag groups and tags

When used in policies, tags and tag groups help to determine the placement of provisioned, user-requested services within the cloud.

This topic contains the following sections:

Overview of tags and tag groups

Cloud administrators can specify tags for the following BMC Cloud Lifecycle Management objects:

  • Network containers
  • Networks
  • Compute resource pools
  • Virtual disk repository pools
  • Tenants
  • Service blueprints
 Click here for additional information about tag groups and tags

Cloud administrators associate tags with tag groups, which organize tags used in the cloud. For example, the cloud administrator might create a tag group named Location to group all of the tags that specify network locations. The cloud administrator might also create a tag group named SLA for the tags representing different service levels offered to tenants.

Any taggable object can be associated with the same tag group and tag. For example, a cloud administrator might apply the SLA tag group and the Bronze tag to a network container, and the Bronze tag to a compute resource pool, ensuring the placement of Bronze requests to the Bronze-tagged network container and compute resource pool.

Taggable objects can use more than one tag from the same or different tag groups. For example, the cloud administrator can tag a compute resource pool with Bronze and vSphere tags to ensure that only Bronze requests for vSphere hypervisors are provisioned to that compute resource pool. The cloud administrator might also specify that a request from the NYC location be deployed with resources in either a Bronze or Silver compute resource pool.

Consider creating all of the tag groups and tags you expect to need before applying tags to cloud resources. This ensures that you apply tags consistently, and helps you manage your policies more efficiently. 
 
BMC recommends that you start with the following tag groups and associated tags:
 

Tag group

Tags

SLA

Gold
Silver
Bronze
Mission Critical
Dev
Test

Location

London
NYC
Singapore
(Other cities in your cloud)

Data sensitivity

High
Medium
Low

Hypervisor

KVM
vSphere
Xen

For a suggested tagging strategy, see Tagging recommendations and examplesTo create or manage tag groups and tags from the Service Blueprint workspace, see Managing service blueprint tags.

The following video uses an analogy to explain tags and how BMC Cloud Lifecycle Management uses tags to determine placement when provisioning services.

Before you begin

  • Tag names and tag group names can only contain alphanumeric characters, spaces, underscores, and dashes.
  • Before applying tags to cloud resources, consider creating all of the tag groups and tags that you expect to need. This practice ensures that you apply tags consistently, and it helps you manage your policies more efficiently.

To create a tag group and its tags

  1. When creating or editing one of the taggable objects listed above, click the Tag icon .
    The Tags dialog box is displayed:


  2. To create a tag group:
    1. Click Manage Tags.
      The Manage Tags dialog box is displayed:



    2. Click Add Tag Group .
      An empty blue row for a new tag group is inserted in the Tag Groups table.
    3. Click the new row in the Tag Group column and type the name for the new tag group.
    4. To enter a description for the tag group, click the new row in the Description column and type a description.
    5. Click Save Tag Group .
      The new tag group is saved in the Tag Groups table.
  3. To add tags to the tag group:
    1. Click the name of the tag group to which you want to add tags.
    2. In the Tags table, click Add Tag .
      An empty blue row for a new tag is inserted in the Tags table.
    3. Click the new row in the Tag column and type the name for the new tag.
    4. To enter a description for the tag, click the new row in the Description column and type a description.
    5. Click Save Tag .
    6. Continue to add tags to the group until you are finished. 
  4. Click Close.

To apply a tag to an object, see Assigning a tag to an object.

Note

If you rename a tag group or tag that has been specified in a service blueprint, you must change the reference in the service blueprint to use the new tag group.

To delete a tag group and its tags

Before deleting a tag, confirm that the tag is not being used in a service blueprint and the tag is not being used to identify options. Before deleting a tag group, confirm that no tags in the tag group are being used in a service blueprint or to identify options. You should also confirm that the tag group is not being used in a policy defined in the service governor.

  1. When editing one of the taggable objects listed above, click the Tag icon .
    The Tags dialog box is displayed:
  2. Click Manage Tags.
    The Manage Tags dialog box is displayed.
  3. Select a tag group and click Delete Tag Group , or select a tag and click Delete Tag .
    A dialog prompts you to confirm the deletion. 

Related topics

Adding and editing policies
Assigning a tag to an object

Related BMC Communities blog entry

The following link provides supplemental information available from a blog entry in BMC Cloud Lifecycle Management Communities:

The Pulse: How Tagging works in BMC Cloud Lifecycle Management

This blog entry discusses how to use Tagging to determine the placement of provisioned, user-requested services within BMC Cloud Lifecycle Management.

Was this page helpful? Yes No Submitting... Thank you

Comments