How to create a cluster using Websphere Application Server ND v7.0:
Install the WAS ND v7.0 along with the required components and test for its successful installation.
- First step is to create a profile. Profiles can be created either by using the Profile management Tool (PMT) or command prompt based on the OS the tool is installed.
- While creating the profile you will need to make a note of the Port numbers of “administrative port number” and the “SOAP port number”.
- Once the process is over you will need to start the node agent and deployment manager either by using the console or by using the command prompt.To start server: ./bin>startServer.bat <servername>.batTo start nodeagent: ./bin>startNodeagent.bat
- For example if the profile created is a cell profile then Dmgr and the node are already federated. Else federate the node.
- As performed earlier start the second node, node agent.
- In the navigation pane to the left, find the “servers”, expand and find “clusters” in the sub menus. Now click on “Websphere application server clusters” option. Click “new” in work area and specify the cluster name you prefer and click next.
- Now the step 2 needs specific information like member name, select node, weight, basics for 1st cluster member, generate unique HTTP code. Make sure basics for 1st cluster member is default and also the check box is checked and click next.
- The 3rd step is for adding other cluster members to your cluster. Click the “add member” option. Once all the nodes have been added to the cluster click next. The next step shows the summary of all the nodes that have been added to the cluster.
- Note: While adding the cluster make sure the “generate HTTP ports” is checked and also the weight age given is same for all the nodes.
- Once the summary is verified if all the nodes have unique name, click on “create” to register the nodes to the cluster in the work area.
- To make changes visible everywhere, go to “System administrator” in the navigation pane and select “nodes”.
- Select all the nodes that appears in the work area and click on synchronize button. And once its successful the status column in the same screen appears to be green indicating it’s active and it’s synchronized.
Further if you need to make the cluster to work more efficiently you can configure your own cluster as per your needs.
If you would like to know about the concept of clustering please refer to the below link: