WebSphere Adapters deployment options in clustered environment
Srikanth K Murali 270000NMR4 Visits (2955)
In this blog post, I will discuss on the two different types of deployment options of Adapters in an clustered environment. The Adapters can be configured to work in a Active-Active configuration or Active-Passive configuration on the cluster. Lets take a look at both these configuration in detail.
In this configuration, only one of the server instances containing the adapter application will be in active mode and poll for adapter events. The other instances will be in passive mode i.e will not be polling for events. Whenever one of the server instance goes down say due to network outage, one of the passive instances will be made active so that the application continues to run in one of the server nodes. This provides a high availability service where 1 of N configuration nodes is active to receive requests. Active-Passive support is available in all adapters.
In this configuration, the Adapter acts as a load-balancer with all the deployed adapter applications on the multiple server instances polling of events simulataneously. This will enable the adapter to process the events faster as the processing is distributed across the multiple servers. All the N instances of the adapters will be polling for new events and hence provides a increased throughput. Active-Active configuration of processing events is supported with FTP, Flatfile and JDBC Adapter v7.5 onwards. SAP Adapter v7.0 onwards also supports Active-Active configuration.
How to configure the deployment modes:
The configuration of whether the Adapter should work in Active-Active mode or an Active-Passive mode is decided based on the property "enableHASupport" at the Resource Adapter level. If the property is set to true, the Adapter works in Active-Passive mode. The Adapter works in a Active-Active mode when the "enableHASupport" property is set to false.
Users can select either of the deploymnet options based on their requirement. If the available of the application at all times is the business requirement, then Active-Passive mode is suitable and if the requirement is to process the events at a faster rate and the rate of incoming events is huge, then Active-Active configuration is the way to go.
Hope this post helps in providing information on Adapter deployment options. Drop in a comment for any questions or clarification.