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
For a suggested tagging strategy, see Tagging recommendations and examples. To 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
When creating or editing one of the taggable objects listed above, click the Tag icon
.
The Tags dialog box is displayed:- To create a tag group:
Click Manage Tags.
The Manage Tags dialog box is displayed:
- Click Add Tag Group
An empty blue row for a new tag group is inserted in the Tag Groups table. . - Click the new row in the Tag Group column and type the name for the new tag group.
- To enter a description for the tag group, click the new row in the Description column and type a description.
- Click Save Tag Group
The new tag group is saved in the Tag Groups table. .
- To add tags to the tag group:
- Click the name of the tag group to which you want to add tags.
- In the Tags table, click Add Tag
An empty blue row for a new tag is inserted in the Tags table. . - Click the new row in the Tag column and type the name for the new tag.
- To enter a description for the tag, click the new row in the Description column and type a description.
- Click Save Tag .
- Continue to add tags to the group until you are finished.
- 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.
- When editing one of the taggable objects listed above, click the Tag icon
The Tags dialog box is displayed: . - Click Manage Tags.
The Manage Tags dialog box is displayed. - Select a tag group and click Delete Tag Group
A dialog prompts you to confirm the deletion. , or select a tag and click Delete Tag .
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.
Comments