Mule Clustering

21
Mule Clustering on same Machine By Vijay

Transcript of Mule Clustering

Page 1: Mule Clustering

Mule Clustering on same Machine

By Vijay

Page 2: Mule Clustering

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

Page 3: Mule Clustering

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.

Page 4: Mule Clustering
Page 5: Mule Clustering
Page 6: Mule Clustering
Page 7: Mule Clustering
Page 8: Mule Clustering
Page 9: Mule Clustering
Page 10: Mule Clustering
Page 11: Mule Clustering
Page 12: Mule Clustering
Page 13: Mule Clustering
Page 14: Mule Clustering
Page 15: Mule Clustering

So, we can see mule agent now registering node2 in the list.

Page 16: Mule Clustering

So, under Server tab we can see both the nodes listed as below :-

Page 17: Mule Clustering

We will now click on Add menu at the top and then select New Custer menu

Page 18: Mule Clustering

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 :-

Page 19: Mule Clustering

After, waiting for a while we can see our cluster has been created :-

Page 20: Mule Clustering

On clicking on the cluster Anirban_Cluster we can see, both the nodes :- node1 and

node2 listed there as follows:-

Page 21: Mule Clustering

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.