Adding resources to Teracloud® Streams instances
About this task
By adding more than one resource to an instance, you increase the processing power and high availability of the instance. You can tag resources to run specific application or management services and to have standby services ready on multiple resources. These standby services can take over if a failure occurs on one of the resources. For more information, see Configuring high availability for Teracloud Streams enterprise domains, instances, and application repositories.
You can also use dynamic resources that are added to an instance based on the job or processing element requirements. A dynamic resource is released from the instance when the instance is stopped or when the resource is no longer needed.
Teracloud® Streams provides tags that you can use to restrict access to a resource. This can be helpful if some resources have special capabilities, such as access to a private data source. For more information, see Using tags to restrict resources.
Procedure
-
Create an instance.
When you create the instance, you can optionally include resource specifications.Note: To dynamically allocate resources, you must set the associated properties when you create the instance. For more information, see Configuring an instance to use dynamic resource allocation.
-
Optional if dynamic resource allocation is enabled: Add or change the resource specifications
for the instance.
Results
Static resources are allocated to the instance when it starts. If your instance has unfilled resource requests, resources are added to the instance whenever an appropriate resource becomes available in the domain. You do not need to stop and restart the instance.
If dynamic resource allocation is enabled, resources are acquired from the domain to support submitted jobs and are released when they are no longer needed.