Remove one node from cluster with replication factor 1

Hello,

Could anybody prompt me, please? Is it possible to remove one node from the cluster with replication factor 1 without lost data? What is the best solution to do it? Aspike - isn’t the enterprise version.

Thanks in advance.

1 Like

Enterprise has quiesce which allows you to move a node out of the replica list which would allow removing a node from a replication factor 1 cluster without data loss.

Community doesn’t have this feature, so you will need to maintain more than one replica if you want to perform these actions without data loss.

1 Like

You could run asbackup -l <nodeip:port> -n <namespace> -o <filename> on that host to take a backup… then after you take it down, restore that data to the cluster. You’d potentially lose any updates made while the backup was ongoing, and lose reads/update while the data was unavailable. Depending on the nature of your data, that’s your call to make.

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.