Removing a node from service

Nodes can be gracefully removed from a cluster by disabling all partitions on the node. When a node is disabled all active partitions on the node failover to the next highest priority replica and all replication to the node is terminated. If there is no replica node defined for a partition that is active on the node being disabled, the partition is abandoned after confirmation from the administrator.

The following steps are required to remove a node from a cluster:

  1. Disable all active partitions.

Figure 6.13, “Disabling partitions on a node” shows partition XX as Unavailable after being disabled on node C. Partitions can be disabled in two ways:

Disabling partitions on a node

Figure 6.13. Disabling partitions on a node


A node can also leave a cluster using this command.

administrator servicename=C leave cluster