Configuring automatic fail over in IBM WebSphere Application Server

ECI connection factories that are configured to use a local mode IPIC connection to CICS® can benefit from the automatic fail over capability that is provided in IBM® WebSphere® Application Server.

Before you begin

The automatic fail over and fail back capability is supported when connected to CICS TS 4.1 and later.

About this task

IBM WebSphere Application Server allows a connection factory to be configured with the JNDI name of an alternative connection factory that is configured to use a different CICS server. When a failure occurs on a connection to the primary CICS server, new transactions are automatically routed to use the alternative connection factory. When the connection to the primary CICS server becomes available, new transactions are automatically routed to use the primary connection factory.

Procedure

  1. Create and configure the primary ECI connection factory with a local mode IPIC connection to CICS.
  2. Create and configure an alternative ECI connection factory with the same configuration as the primary connection factory, but with a different IPIC connection URL in the serverName property.
  3. Add the alternateResourceJNDIName custom property to the connection pool properties for the primary connection factory. Set the property value to the JNDI name of the alternative connection factory.

    For more information, see Resource workload routing in the IBM WebSphere Application Server documentation.