PowerCenter resources are the database connections, files, directories, node names, and operating system types required by a task to make the task succeed. The Load Balancer may use resources to dispatch tasks. If the Integration Service is not configured to run on a grid or check resources, the Load Balancer ignores resource requirements. It dispatches all tasks to the master Integration Service process running on the node.
If the Integration Service runs on a grid and is configured to check resources, the Load Balancer uses resources to dispatch tasks. The Integration Service matches the resources required by tasks in a workflow with the resources available on each node in the grid to determine which nodes can run the tasks. The Load Balancer distributes the Session, Command, and predefined Event-Wait tasks to nodes with available resources. For example, if a session requires a file resource for a reserved words file, the Load Balancer dispatches the session to nodes that have access to the file. A task fails if the Integration Service cannot identify a node where the required resource is available.
In the Administrator tool, you define the resources that are available to each node. Resources are either predefined or user-defined. Predefined resources include connections available to a node, node name, and operating system type. User-defined resources include file/directory resources and custom resources.
In the task properties, you assign PowerCenter resources to nonreusable tasks that require those resources. You cannot assign resources to reusable tasks.
The following table lists resource types and the repository objects to which you can assign them:
| |
Repository Objects that Use Resources
|
| |
Session, Command, and predefined Event-Wait task instances and all mapping objects within a session.
|
| |
Session, Command, and predefined Event-Wait task instances, and the following mapping objects within a session:
Aggregator transformation
External Procedure transformation
|
| |
Session, Command, and predefined Event-Wait task instances and all mapping objects within a session.
|
| |
Session, Command, and predefined Event-Wait task instances and all mapping objects within a session.
|
If you try to assign a resource type that does not apply to a repository object, the Workflow Manager displays the following error message:
The selected resource cannot be applied to this type of object. Please select a different resource.
The Workflow Manager assigns connection resources. When you use a relational, FTP, or external loader connection, the Workflow Manager assigns the connection resource to sources, targets, and transformations in a session instance. You cannot manually assign a connection resource in the Workflow Manager.
To assign resources to a task instance: