Creating and removing tags in a domain
Domains contain tags that you can use to specify which
resources run the domain and instance services. You can create
tags to identify resources that have different physical characteristics or logical
uses.
Procedure
- To define more tags in a domain, use the Streams
Console,
or the streamtool mktag command.
Note: Tags are case-sensitive strings with a letter optionally followed by alphanumeric or underscore characters.
- To remove tags from a domain, use the streamtool
rmtag command or the Streams
Console.
Note: The tag is not removed in the following scenarios:
- The tag has a reserved name, such as management or application.
- The tag was used by the scheduler to place a processing element (PE) or job that is running.
If you remove a tag from the domain and that tag was used in a resource specification for an instance that is running, the resources are not removed from the instance until it restarts. To update or remove the resource specification that mentions the tag, use the Streams Console or the streamtool chresourcespec or streamtool rmresourcespec commands.
What to do next
After you create tags, assign them to resources in the domain. See Assigning tags to resources in a domain.