Management Cluster Ceph » Historique » Version 1
Mehdi Abaakouk, 04/11/2015 12:10
1 | 1 | Mehdi Abaakouk | h1. Management Cluster Ceph |
---|---|---|---|
2 | 1 | Mehdi Abaakouk | |
3 | 1 | Mehdi Abaakouk | h2. Remplacement à froid d'un tier cache: |
4 | 1 | Mehdi Abaakouk | |
5 | 1 | Mehdi Abaakouk | upstream doc: http://docs.ceph.com/docs/master/rados/operations/cache-tiering/ |
6 | 1 | Mehdi Abaakouk | |
7 | 1 | Mehdi Abaakouk | <pre> |
8 | 1 | Mehdi Abaakouk | ceph osd tier cache-mode ec8p2c forward |
9 | 1 | Mehdi Abaakouk | rados -p ec8p2c cache-flush-evict-all |
10 | 1 | Mehdi Abaakouk | ceph osd tier remove-overlay ec8p2 |
11 | 1 | Mehdi Abaakouk | ceph osd tier remove ec8p2 ec8p2c |
12 | 1 | Mehdi Abaakouk | |
13 | 1 | Mehdi Abaakouk | rados rmpool ec8p2c ec8p2c --yes-i-really-really-mean-ita |
14 | 1 | Mehdi Abaakouk | ceph osd pool create ec8p2c 128 128 replicated |
15 | 1 | Mehdi Abaakouk | |
16 | 1 | Mehdi Abaakouk | ceph osd tier add ec8p2 ec8p2c |
17 | 1 | Mehdi Abaakouk | ceph osd tier cache-mode ec8p2c writeback |
18 | 1 | Mehdi Abaakouk | ceph osd tier set-overlay ec8p2 ec8p2c |
19 | 1 | Mehdi Abaakouk | |
20 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c size 3 |
21 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c min_size 2 |
22 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c hit_set_type bloom |
23 | 1 | Mehdi Abaakouk | |
24 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c hit_set_count 1 |
25 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c hit_set_period 3600 |
26 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c target_max_bytes 200000000000 |
27 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c target_max_objects 10000000 |
28 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c cache_target_dirty_ratio 0.4 |
29 | 1 | Mehdi Abaakouk | ceph osd pool set ec8p2c cache_target_full_ratio 0.8 |
30 | 1 | Mehdi Abaakouk | </pre> |