Add additional cluster members

Clustering provides failover protection and provides workload balancing.

The instructions in this section describe how to add more members to the cluster you created in Creating a WebSphere Commerce Cluster.

To add additional cluster members:

  1. If it is not started, start the deployment manager.

  2. If they are not started, start the node agent on each node you want to add to the cluster. Ensure that you start each node agent as the WebSphere Commerce non-root user.

  3. If you want to add a horizontal cluster member to the cluster, complete the tasks in Preparing additional nodes.

  4. Open the WAS Deployment Manager Administrative Console. For instructions, refer to Launching the WAS Administrative Console.

  5. In the Navigation area, expand Servers and click Clusters.

  6. Ensure that the cluster is stopped. If the cluster is not stopped, select the cluster name and click Stop.

  7. Click the Cluster Name.

  8. Click Cluster Members.

  9. Click New.

  10. In the Member name field, enter the name of the new cluster member to create.

  11. From the Select node field, select the name of the machine on which you want to create the new cluster member.

    • Horizontal clustering; the machine name is a different name from the name of the machine on which you originally installed WebSphere Commerce.

    • Vertical clustering; the machine name is the same name as the name of the machine on which you originally installed WebSphere Commerce.

  12. Click Apply. Repeat for each additional cluster member.

  13. Click Next and review the Summary page.

  14. Click Finish.

  15. Save to save your configuration.

  16. Review to save your configuration.

  17. Select Synchronize changes with Nodes to ensure that the deployment manager profile immediately synchronizes the configuration changes with the other nodes.

  18. Click Save.

  19. During horizontal clustering the WAS Administrative Console will indicate that the task is complete while the EAR file is still being copied. To verify that the EAR file has been copied properly, complete the following steps:

    1. Navigate to the WC_profiledir/bin directory and run the following command:

      • AIX|Linux|Solaris: wsadmin.sh

      • I5/OS|wsadmin

      • Windows: wsadmin.bat

    2. Enter the following command once you have connected:

      • $AdminApp isAppReady applNamewhere applName is the name of the application. For example, WC_instance.

    3. If the last line of the output is true, the application is fully distributed.

    4. Exit from wsadmin. To exit wsadmin, type exit.

  20. Regenerate the Web server plug-in and copy the plug-in to the Web server.

  21. Exit the WAS Deployment Manager Administrative Console.

 

Related Concepts


WAS ND clustering mechanism

 

Related tasks


Cluster with vertical cluster members
Cluster with horizontal cluster members
Prepare additional nodes
Create the WebSphere Commerce cluster
Define the JDBC driver path
Start or stopping a WebSphere Commerce cluster
Remove a cluster member