Task Failover and Load Balancing

Using MCS, you can configure an environment for your applications with task failover and load-balancing, to safeguard important task operations from server downtime and distribute the workload across the network more evenly.

In a load-balanced environment, the total amount of work is divided across multiple run-time servers so that the work is done more efficiently and, in general, users are served faster. Multiple requests for a task are run on a series of run-time servers in a pre-determined order. This provides support for additional concurrent users, and prevents the need to designate a specific server to run each task.

The client computers (those computers where the task has been deployed) communicate with the run-time server via the Remote Method Invocation (RMI) protocol and use the MCS service agent to communicate with a specific MCS server. This makes the run-time visible to the MCS server and available to add to an agent cluster.

The MCS agent is installed automatically with all Synapta Services Builder components. You can use the client support option, available from the root of the CD or during installation, to manually install the MCS service agent on other client computers to which the task has been deployed.

Task failover and load balancing is different from MCS server failover and load balancing, which affects all MCS services and data. For information about failover protection for MCS server clusters, see Managing MCS Servers and Clusters.

Note To implement failover and load-balancing successfully, use either a non-application server environment, or use either WebLogic or SunONE as your application server.

To use SunONE, modify the application server's security.policies file to support inbound packet connections. Because the service agent is local, you can limit the requests to "localhost".

grant {
    permission java.net.SocketPermission "localhost:1024-","accept, connect, listen";


Before you can configure tasks for failover and load balancing, you must have already:

There are four basic steps to complete when configuring client tasks, failover, and load balancing:

  1. Create an agent cluster

  2. Add your client computers to the agent cluster

  3. Register run-time servers

  4. Create a task configuration

Error Reporting

Within MCS you can record and log system events and trace data generated by Synapta Services Builder for IMS. You can select the types of events you want to log errors, warnings, and all other information, including failed connections. However, to do so, you must first enable event logging. For details, see Configuring Event Logging and Tracing.

Related Topics
Bullet Associating Tasks with Run-time Servers
Bullet Managing MCS Servers and Clusters
Bullet Configuring Event Logging and Tracing