WAS ND Setup
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:
Ensure application is always available from one of the cluster members
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.
The following is tested in WebSphere ND 9.
Creating WebSphere Cluster using GUI
Click New >> Enter the "Cluster name" and click Next
Enter the Cluster member name and select the node where you want to create
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.
I've chosen to create using a default template, click Next
Review the summary and click Finish
Review and synchronize the configuration changes
Go to WebSphere application servers under "Server Types."
As you can see, I've created tow JVM under "Cluster-1". By default, they will be stopped state.
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.
Go to Servers >> Clusters >> WebSphere application server clusters
Once added, click Next and then Finish
I hope this quick guide helps you understand how to create a cluster in IBM WebSphere Application Server.
We have 62 guests and no members online
Articles Most Read
Articles by Date