IBM Streams 4.2.1
Using tags to restrict IBM Streams resources
You can use tags to restrict IBM®
Streams resources for a specific application purpose. The TagRestriction that you create instructs
the scheduler to place on the resource only the PEs that refer to a host pool that specifies that
tag.
About this task
You can also use the Management Dashboard in the Streams Console to create a TagRestriction. Select Manage Resources and Tags to choose the resources and tags that you want to restrict.
For more information about the streamtool commands that are used to restrict resources, enter streamtool man command-name.
Procedure
Creating a TagRestriction with IBM Streams resources:
Results
What to do next
- To remove a TagRestriction for IBM
Streams resources, use the streamtool unrestrictdomainhost command, for
example:
streamtool unrestrictdomainhost -d Domain1 --tags SpecialPurpose HostA - To see which tags are restricted on the resources in a domain, use streamtool lsavailablehosts -d Domain1 or streamtool getdomainstate -d Domain1 command. In the command output, an asterisk (*) indicates that a tag is restricted.
- To see which tags are restricted on the resources in an instance, use streamtool lshosts -d Domain1 -i Instance1 -l or streamtool getinstancestate -d Domain1 -i Instance1 command. In the command output, an asterisk (*) indicates that a tag is restricted.