'Aerospike configure different filesize for each node

Let's say we have 3 nodes A,B,C. Each having 15 GBs of filesize on disk. I want to bring up another node D but give it very little filesize size, because i will use this box only for data back up purpose. So I want to move to state

A 15GB,B 15GB, C 15GB, D 1GB

But I am not able to make it work, when i add the 4th node, it starts getting data which needs more filesize than what i have allocated. And process dies eventually.

Is it possible to configure different file sizes for each node in aerospike? While assigning bucket ranges to all the nodes, will the data distribution algorithm take file size into account?



Solution 1:[1]

All nodes in the cluster are expected to be homogeneous with respect to capacity. See https://discuss.aerospike.com/t/setting-up-a-cluster-with-different-memory-sizes-on-nodes/4387

I would like to understand how having node D would help facilitate data backup.

Solution 2:[2]

I don't quite understand what you are trying to do but if on node D, you do not define the namespace you have on A, B and C, say ns_dat, and, you do need one namespace on D - call it ns_temp, then D will not have any data from ns_dat. So, A, B, C are configured with namespace ns_dat, D is configured with ns_temp, and then D can be 1GB while A, B, C are 15GB. So you will have a 4 node cluster - what you want - and D will not take any data from A, B, C's namespace. This is not a recommended way to configure Aerospike. Again, not sure what you are trying to achieve.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kporter
Solution 2 pgupta