How to Create Cluster in IBM WebSphere ND?

Untitled-1200-×-385-px-17

Step-by-Step cluster creation procedure in IBM WebSphere Application Server (WAS) Network Deployment (ND).

Creating a cluster in IBM WAS ND is one of the essential tasks for WebSphere administrator and necessary to provide application high-availability & workload balancing.

There are a lot of benefits in having an application deployed in cluster mode, like:

There are two types of clustering available to scale your WebSphere applications.

Horizontal Cluster – One of the widely used clustering type where you host your applications on multiple JVM servers (physical or VM) using a single cluster.

Vertical Cluster – having all JVM servers under cluster on single physical or VM server. A vertical cluster can be SPOF (Single point of failure) when a server goes down.

Note: With WebSphere 8.5 or higher you can also create a dynamic cluster which is different from a traditional cluster.

So based on the requirement you got to decide which clustering type to use.

WebSphere cluster creation is possible either through GUI (WAS Administrative Console) or command line (wsadmin/script). The following is through the admin console.

Creating WebSphere Cluster using GUI

was-cluster-navigation

enter-cluster-name

was-creating-cluster

You have the option to create the member using an application server template, using an existing JVM as a template, convert existing JVM as a cluster member or create an empty cluster.

was-additional-cluster-member

was-cluster-summary

This concludes cluster is created and ready to be used. Let’s verify.

list-jvm

To start, you can either start the JVM or whole cluster

list-cluster

If you have multiple JVM’s in a cluster and need to restart all, then you can restart the whole cluster.

Tip: if you need to create JVM in existing cluster then you can do as following.

cluster-members

was-additional-cluster-member

Don’t forget to review and synchronize the changes.

I hope this quick guide helps you understand how to create a cluster in IBM WebSphere Application Server.