Hello all,
I broswed the forum but not sure I found my answer. But well, I'm quite new to CEPH and have a question :
I have 2 servers with 2 free SSD drives in each server. What I would like to achieve is the following :
On server 1 :
Free drive 1 is replicated to free drive 2 of server 2
On server 2 :
Free drive 1 is replicated to free drive 2 of server 1
All four free drives are SSD 500 GB.
Is that feasible ?
Thanks !
BTW, here is my current Crush map :
# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
tunable chooseleaf_vary_r 1
tunable chooseleaf_stable 1
tunable straw_calc_version 1
tunable allowed_bucket_algs 54
# devices
device 0 osd.0 class ssd
device 1 osd.1 class ssd
device 2 osd.2 class ssd
device 3 osd.3 class ssd
# types
type 0 osd
type 1 host
type 2 chassis
type 3 rack
type 4 row
type 5 pdu
type 6 pod
type 7 room
type 8 datacenter
type 9 region
type 10 root
# buckets
host host1 {
id -3 # do not change unnecessarily
id -4 class ssd # do not change unnecessarily
# weight 0.909
alg straw2 hash 0 # rjenkins1
item osd.0 weight 0.455
item osd.2 weight 0.455
}
host host2 {
id -5 # do not change unnecessarily
id -6 class ssd # do not change unnecessarily
# weight 0.909
alg straw2 hash 0 # rjenkins1
item osd.1 weight 0.455
item osd.3 weight 0.455
}
root default {
id -1 # do not change unnecessarily
id -2 class ssd # do not change unnecessarily
# weight 1.819
alg straw2 hash 0 # rjenkins1
item hmvm001 weight 0.909
item hmvm002 weight 0.909
}
# rules
rule replicated_rule {
id 0
type replicated
min_size 1
max_size 10
step take default
step chooseleaf firstn 0 type host
emit
}
# end crush map
I broswed the forum but not sure I found my answer. But well, I'm quite new to CEPH and have a question :
I have 2 servers with 2 free SSD drives in each server. What I would like to achieve is the following :
On server 1 :
Free drive 1 is replicated to free drive 2 of server 2
On server 2 :
Free drive 1 is replicated to free drive 2 of server 1
All four free drives are SSD 500 GB.
Is that feasible ?
Thanks !
BTW, here is my current Crush map :
# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
tunable chooseleaf_vary_r 1
tunable chooseleaf_stable 1
tunable straw_calc_version 1
tunable allowed_bucket_algs 54
# devices
device 0 osd.0 class ssd
device 1 osd.1 class ssd
device 2 osd.2 class ssd
device 3 osd.3 class ssd
# types
type 0 osd
type 1 host
type 2 chassis
type 3 rack
type 4 row
type 5 pdu
type 6 pod
type 7 room
type 8 datacenter
type 9 region
type 10 root
# buckets
host host1 {
id -3 # do not change unnecessarily
id -4 class ssd # do not change unnecessarily
# weight 0.909
alg straw2 hash 0 # rjenkins1
item osd.0 weight 0.455
item osd.2 weight 0.455
}
host host2 {
id -5 # do not change unnecessarily
id -6 class ssd # do not change unnecessarily
# weight 0.909
alg straw2 hash 0 # rjenkins1
item osd.1 weight 0.455
item osd.3 weight 0.455
}
root default {
id -1 # do not change unnecessarily
id -2 class ssd # do not change unnecessarily
# weight 1.819
alg straw2 hash 0 # rjenkins1
item hmvm001 weight 0.909
item hmvm002 weight 0.909
}
# rules
rule replicated_rule {
id 0
type replicated
min_size 1
max_size 10
step take default
step chooseleaf firstn 0 type host
emit
}
# end crush map
Last edited: