Removing a Server from a Cluster
This article details the procedure for removing and disabling a server from a cluster.
This procedure should only be performed if four or more servers in the cluster. If there are less than four servers, contact Lightbits Support.
- First, identify the server to remove.
lbcli list server- Disable the server. The server's nodes will become inactive.
lbcli disable server --uuid 375dc324-9a53-542e-af7e-4fb461f37a24During 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).
- Wait for the volumes to migrate, or use the evict feature. Lower
DurationToTurnIntoPermanentFailureto one hour, and then wait one hour.
lbcli update cluster-config --parameter=DurationToTurnIntoPermanentFailure --value=1h- 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 nodeslb_monitor.sh- Once the nodes are unattached, delete the server.
lbcli delete server --uuid 375dc324-9a53-542e-af7e-4fb461f37a24The server's server entry, node entry[ies], and etcd entry will be deleted.
Was this page helpful?