Sign in using Google or Yahoo! id.  

Clustering WSO2 ESB for HA and Failover

 Comments Share:   Twitter   Reddit   HackerNews   Facebook 

Load Balance in Windows

When the ESB has only stateless mediators

Use the system specific load balancers. No additional configuration at the ESB level.

When stateful mediators are deployed in the ESB

Example of stateful mediators:

  1. cache mediator
  2. throttling mediator
  3. stateful load-balancing mediator

Axis2 Session Replication Configuration

In ESB_HOME/conf/axis2.conf, uncomment the following block:

<cluster class="org.apache.axis2.clustering.tribes.TribesClusterManager">
...
</cluster>

Common Registry

If all the nodes in a cluster need to have a common-registry, few configuration need to be done:

1. Change in server.xml

In ESB_HOME/webapp/WEB-INF/classes/conf/server.xml, change to:

<Registry>
  <importRoot>file:registry</importRoot>
  <type>remote</type>
  <configuration>
    <url>http://localhost:8081/wso2registry</url>
    <username>admin</username>
    <password>admin</password>
  </configuration>
</Registry>

2. Change in synapse.xml

Add the following entry:

<registry provider="org.wso2.esb.registry.WSO2Registry">
</registry>

Detailed Clustering Guide

Download the PDF from here:

http://wso2.org/library/articles/wso2-esb-apache-synapse-clustering-guide

Posted on April 19, 2010 09:10 AM by Subhash Chandran
iis windows synapse wso2 clustering
blog comments powered by Disqus