HCL Workload Automation, Version 9.4

Permanently removing a single node

Use the RemoveHANode command to permanently remove a node from a high availability cluster.

About this task

You can use the steps described to remove a node from a Dashboard Application Services Hub high availability cluster or you can remove all nodes by running the RemoveHANode command on each node.

Procedure

  1. Stop and restart the server.
    1. In the JazzSM_WAS_Profile/bin directory, for a server named server1, run the following command:
      On Windows
      stopServer.bat server1
      On UNIX
      stopServer.sh server1
      Note: You are prompted to provide an administrator username and password.
    2. In the JazzSM_WAS_Profile/bin directory, for a server named server1, run the following command:
      On Windows
      startServer.bat server1
      On UNIX
      startServer.sh server1
  2. To remove the last node from a cluster, see step 3. For any other node, remove the WebSphere Application Server data source that was created when the node was joined to the cluster, stop and restart the server, and on a separate node, do the following:
    1. At the command line, change to the following directory:

      DASH_HOME/bin/

    2. Run the ListHANodes command to list the current cluster nodes and their statuses:
      On Windows
      consolecli.bat ListHANodes --username console_admin_user_ID --password console_admin_password
      On UNIX
      consolecli.sh ListHANodes --username console_admin_user_ID --password console_admin_password

      Where:

      console_adsmin_user_ID
      Specifies the console administrator user ID.
      console_admin_password
      Specifies the password associated with the administrator user ID.
    3. Run the following command to remove the specified node:
      On Windows
      consolecli.bat RemoveHANode --username console_admin_user_ID --password console_admin_password --nodename node_name
      On UNIX
      consolecli.sh RemoveHANode --username console_admin_user_ID --password console_admin_password --nodename node_name

      Where:

      console_adsmin_user_ID
      Specifies the console administrator user ID.
      console_admin_password
      Specifies the password associated with the administrator user ID.
      node_name
      Specifies the node that you want to remove. Refer to the node names returned by the ListHANodes command in step 2.b to ensure that you have the correct node name.
  3. For the last node in the cluster, run the RemoveHANode command specifying its node name, as described in step 2.c, and then remove the WebSphere Application Server data source that was created when the node was joined to the cluster.
  4. In each case, stop and restart the server.

Results

The relevant node is removed from the high availability cluster and is now a stand-alone console.