FAQ - How can a node be removed from a cluster in Aerospike 3.9.1 and higher?

The Aerospike Knowledge Base has moved to https://support.aerospike.com. Content on https://discuss.aerospike.com is being migrated to either https://support.aerospike.com or https://docs.aerospike.com. Maintenance on articles stored in this repository ceased on December 31st 2022 and this article may be stale. If you have any questions, please do not hesitate to raise a case via https://support.aerospike.com.

FAQ - How can a node be removed from a cluster in Aerospike 3.9.1 and higher?

Detail

Prior to Aerospike 3.9.1 the command dun existed to cause nodes in an Aerospike cluster to ‘forget’ about a node that had been removed, for example, to be decommissioned. With Aerospike 3.9.1 and higher the heartbeat sub-system has been significantly enhanced and as part of this the dun command is now deprecated. How can a node be removed from a cluster in Aerospike 3.9.1 and higher?

Answer

There are two main reasons why a node might be removed from a cluster. The first case is where there has been a cluster integrity fault and a node needs to be removed temporarily from the cluster. In the past dun would have been used to do this. This is no longer necessary as the Aerospike paxos-recovery-policy takes care of recovery from split brain automatically.

The second case where dun may have been used in the past was to clear references to a node that had been decommissioned from a cluster. In this instance asinfo should be used to issue the services-alumni-reset command. This then removes the decommisioned node from the service list.

Notes

  • Details on paxos-recovery-policy
  • Details on services-alumni-reset

Keywords

DUN NODE FORGET SERVICE ALUMNI RESET DECOMMISSION

Timestamp

23rd August 2016