Mule Clustering
-
Upload
vijay-shan -
Category
Engineering
-
view
323 -
download
0
Transcript of Mule Clustering
Mule Clustering on same Machine
By Vijay
Before we procced, we will take a look on what a Cluster is.
A cluster can be said as a set of Mule instances that acts as a unit.
We can also say that, a cluster is a virtual server composed of
multiple nodes and a servers in a cluster communicate and share
information through a distributed shared memory grid. This means
that the data is replicated across memory in different physical
machines.
Reference :- https://docs.mulesoft.com/mule-user-guide/v/3.6/mule-
high-availability-ha-clusters
Mule server has the ability to form cluster for High Availability.
To setup a cluster on a same machine we need to have multiple mule standalone
server in the machine.
Let’s consider we have two nodes or we can say two standalone server present
in the same machine.
So, we can see mule agent now registering node2 in the list.
So, under Server tab we can see both the nodes listed as below :-
We will now click on Add menu at the top and then select New Custer menu
We will give the name of the cluster say Anirban_Cluster in our case, and then add
both the nodes under it and click Add button :-
After, waiting for a while we can see our cluster has been created :-
On clicking on the cluster Anirban_Cluster we can see, both the nodes :- node1 and
node2 listed there as follows:-
Here it was a small demonstration of creating Clusters of node
residing on same machine. This process can be used to create
Clusters that may includes multiple nodes residing on same
machine or different. And we can add as many nodes we like under
a cluster but yes the cluster can have a maximum of 8 nodes and
all the nodes should be up and running during adding a node into
cluster.
So at the end I can only say that, let’s spread our knowledge and
expand our Mule community.