Associating Tasks with Run-time Servers
Before you can run a task, you must associate the task with a particular run-time server, on which it will run, and an agent cluster.
|To associate a task with a run-time server
- If you have not already done so, add your client computer to an agent cluster. (You create agent clusters in MCS under Server Management.)
You can use an existing agent cluster if one is in place. If needed, a failover list can be created for each task and agent cluster combination.
- Register a run-time server. (For additional information about registering run-time servers, see Registering a Run-time Server.)
- In the MCS left pane, point to Products, and then click Services Builder for CICS.
- Under Services Builder for CICS, expand the Deployments tree, expand the Tasks tree, and then click Task Configurations.
- From the Task Configurations page, click Add.
The Add Task Configuration page displays. A task configuration associates a task with an agent cluster that contains the client computers to which the task has been deployed.
- From the Task/Resource list, select the task name for the task that you want to configure.
When you create a new task configuration, the Task/Resource name you select must match the task definition name you specified during design-time. The Task/Resource list contains the task definitions published to a particular MCS server or server cluster, plus any resource names that you have added. If the Task/Resource list does not contain the appropriate task definition name, you can add it by clicking Add Resource Name.
- From the Agent Cluster list, select the agent cluster that contains the client computer on which the selected task will run.
The Agent Cluster list contains all the agent clusters added to a particular MCS server or server cluster.
- From the drop down list, select the host connection protocol you are using.
- (Optional) If needed, and if you have registered multiple run-time servers, you can now set up a failover environment and enable load balancing.
- Click OK.
- If necessary, continue to associate tasks with servers.
- From the Registered Runtime Server page, to save the task configuration to the database and to deploy the task configuration to the client computers contained in the agent cluster, including any failover and load balancing information, click Apply All Changes.
Apply All Changes will also cause any changes made that have not already been applied to the Registered Runtime pages to take effect.