Skip to main content

Remove/Reset Cluster Node

danger

This is an advanced operation. Please make sure to have a Forward Support Engineer on a call when performing this operation to avoid mistakes that could cause data loss.

info
  • Remove node migrates the services running on a specific node to a different node and deletes the node from the cluster. It can only be used in multi-node deployments.
  • Reset wipes out all the cluster orchestration and application data on a node and makes the node ready for a fresh install.

Remove a node in multi-node deployments

  • SSH into a primary node.

  • Run the fwd-cluster utility and use the list command to identify the list of existing nodes in the cluster as shown below.

    fwd-cluster
    Forward Cluster> list

    Location Map

  • Now, run the remove command to remove the node as shown below. Note that, if the node has any database pods running, they will be migrated to a different node before removing the node from the cluster.

    Forward Cluster> remove <NodeName>

    Location Map

Reset a node

danger

Make sure that the node is removed from the cluster before resetting it.

  • Login to the node and execute the below command to reset.

    ./reset_node_for_re_install.sh

    Location Map

  • Reboot the node using the below command.

    sudo reboot