Hi!
I'm a sysadmin hobbist. I have a cluster of three ceph nodes with 10 osds. As I consider it as my hobby I have limited resources. Is it possible to set a replication rule with two classes (ssd and hdd) that would treat these classes equally?
I know about this option:
´´´
rule mixed_replicated_rule {
id 11
type replicated
step take default class ssd
step chooseleaf firstn 1 type host
step emit
step take default class hdd
step chooseleaf firstn 0 type host
step emit
}
´´´
But it always defaults to ssd class in the first step.
Is it possible to accomplish?
Best,
Miro
I'm a sysadmin hobbist. I have a cluster of three ceph nodes with 10 osds. As I consider it as my hobby I have limited resources. Is it possible to set a replication rule with two classes (ssd and hdd) that would treat these classes equally?
I know about this option:
´´´
rule mixed_replicated_rule {
id 11
type replicated
step take default class ssd
step chooseleaf firstn 1 type host
step emit
step take default class hdd
step chooseleaf firstn 0 type host
step emit
}
´´´
But it always defaults to ssd class in the first step.
Is it possible to accomplish?
Best,
Miro