Restoring a Raft cluster node

If one or more nodes are corrupted, but the cluster is still operational, you can follow these steps to restore the Raft cluster nodes:

  1. Removing a node from the Raft cluster.

    You need to remove the corrupted node from the Raft cluster and then replace it with a new node.

  2. Create a node with the KUMA Core service and add it to the cluster using the --raft.join option.

    You can create a new node using the expand.sh installer and the expand.inventory.yml inventory file, create the KUMA Core service in the web interface, and install the KUMA Core service on the server specified in the kuma_core_peers group in the expand.inventory.yml inventory file using the installation command with the --raft.join option. After you run the installation command, the new node is added to the Raft cluster.

As a result, the new node gets a complete copy of the state of the leader node. However, temporary files, including artifacts of background tasks that may have been present on the abandoned node, are not restored.

Page top