Removing a Server from a Cluster

AI Tools

This article details the procedure for removing and disabling a server from a cluster.

Note

This procedure should only be performed if four or more servers in the cluster. If there are less than four servers, contact Lightbits Support.

  1. First, identify the server to remove.

lbcli list server
  1. Disable the server. The server's nodes will become inactive.

lbcli disable server --uuid 375dc324-9a53-542e-af7e-4fb461f37a24
Note

During this process, a one-hour wait is required in order for the volumes to start migrating. This can be bypassed by evicting the node when the server is disabled. For additional information, see Evicting Data (Technology Preview).

  1. Wait for the volumes to migrate, or use the evict feature. Lower DurationToTurnIntoPermanentFailure to one hour, and then wait one hour.

lbcli update cluster-config --parameter=DurationToTurnIntoPermanentFailure --value=1h
  1. Wait for the hour to pass and the volumes to start migrating off of the server. The server's node (or nodes) will become unattached once all of the volumes have migrated off of the server.

lbcli list nodes lb_monitor.sh
  1. Once the nodes are unattached, delete the server.

lbcli delete server --uuid 375dc324-9a53-542e-af7e-4fb461f37a24

The server's server entry, node entry[ies], and etcd entry will be deleted.