WebSphere Commerce EnterpriseWebSphere Commerce Professional

Adding more cluster members

Clustering provides failover protection and provides workload balancing.

About this task

The instructions in this section describe how to add more members to the cluster you created.

Procedure

  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. SolarisLinuxAIXEnsure 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 WebSphere Application Server Deployment Manager administrative console. For instructions, see startNode command.
  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 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 Add Member. 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 WebSphere Application Server administrative console indicates that the task is complete while the EAR file is still being copied. To verify that the EAR file was copied properly, complete the following steps:
    1. Go to the WC_profiledir/bin directory and run the following command:
      • SolarisLinuxAIX wsadmin.sh
      • Windowswsadmin.bat
    2. Enter the following command after you connect:
      • $AdminApp isAppReady applName where applName is the name of the application.
      For example, WC_instance_name.
    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 WebSphere Application Server Deployment Manager administrative console.