mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
15 lines
679 B
YAML
15 lines
679 B
YAML
tasks:
|
|
- exec:
|
|
client.0:
|
|
- sudo ceph osd erasure-code-profile set teuthologyprofile ruleset-failure-domain=osd m=1 k=2
|
|
- sudo ceph osd pool delete rbd rbd --yes-i-really-really-mean-it
|
|
- sudo ceph osd pool create rbd 4 4 erasure teuthologyprofile
|
|
- sudo ceph osd pool create cache 4
|
|
- sudo ceph osd tier add rbd cache
|
|
- sudo ceph osd tier cache-mode cache writeback
|
|
- sudo ceph osd tier set-overlay rbd cache
|
|
- sudo ceph osd pool set cache hit_set_type bloom
|
|
- sudo ceph osd pool set cache hit_set_count 8
|
|
- sudo ceph osd pool set cache hit_set_period 60
|
|
- sudo ceph osd pool set cache target_max_objects 250
|