1
votes

I am trying to setup WSO2 ESB on 2 nodes both sharing the same DB. and also load balancer handling the loads across these 2 nodes.

Wondering if we really need to do clustering based on WKA scheme across these 2 nodes?

1
if clustering is required please let me know the benefits of the same . - user6732942
when you say "sharing the same DB", you mean a database used in your mediations (dblookup, ...) or gov & conf registry + user management ? - Jean-Michel
Mysql used for user mgmt and conf/gov db , to be shared between the nodes . Not the Mediators . - user6732942

1 Answers

0
votes

In ESB, synapse configurations are not stored in the DB, they are stored in the File System, So Yes HazleCast based clustering is required since the artifacts are synced between the nodes using a SVN based deployment synchronizer. When the manager node gets a new artifact (Say API, Proxy etc.) it will broadcast a syncing message to all the Worker nodes in the cluster, then worker nodes will checkout any new artifacts from the SVN. You can read more about this from here