Hi,

I just wanted to get a sanity check if possible, I apologize if my
questions are stupid, I am still new to Ceph and I am feeling uneasy adding
new nodes.

 Right now we have one OSD node with 10 OSD disks (plus 2 disks for
caching) and this week we are going to add two more nodes with the same
hardware.

I want to change the replication from OSD to Host, do I just need to change
the crushmap to the following?

 OLD:
# rules
rule replicated_ruleset {
ruleset 0
type replicated
min_size 1
max_size 10
step take default
*step choose firstn 0 type osd*
step emit
}

NEW:
# rules
rule replicated_ruleset {
ruleset 0
type replicated
min_size 1
max_size 10
step take default
*step chooseleaf firstn 0 type host*
step emit
}

My last question:  After adding the new nodes/disks to the cluster, I
assume re-balancing will start as soon as they are added... Do I need to
wait for the data to rebalance before changing the crushmap to replicate
across hosts?
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to