Ceph - preference node for writes?

gasmanc

New Member
Jul 29, 2019
11
0
1
43
Right now I have a three node cluster. Two of the nodes have ECC memory and the other one is a NUC.
Is there any way to preference writes such that all incoming data hits one of the 2 ECC nodes before being replicated to the NUC node?
I’ve used primary-affinity on the OSDs attached to the NUC, but is this enough?
 
Right now I have a three node cluster. Two of the nodes have ECC memory and the other one is a NUC.
Is there any way to preference writes such that all incoming data hits one of the 2 ECC nodes before being replicated to the NUC node?
I’ve used primary-affinity on the OSDs attached to the NUC, but is this enough?

Primary-affinity is really the only option you have, Id double check your config as it should work as you require:

https://ceph.com/geen-categorie/ceph-get-the-best-of-your-ssd-with-primary-affinity/