Jiri Broulik | 5a2020f | 2017-10-31 13:38:55 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - system.ceph.mon.cluster_init |
| 3 | parameters: |
| 4 | ceph: |
| 5 | setup: |
| 6 | pool: |
| 7 | images: |
| 8 | pg_num: 64 |
| 9 | pgp_num: 64 |
| 10 | type: replicated |
| 11 | application: rbd |
| 12 | crush_rule: sata |
| 13 | volumes: |
| 14 | pg_num: 64 |
| 15 | pgp_num: 64 |
| 16 | type: replicated |
| 17 | application: rbd |
| 18 | crush_rule: sata |
| 19 | vms: |
| 20 | pg_num: 64 |
| 21 | pgp_num: 64 |
| 22 | type: replicated |
| 23 | application: rbd |
| 24 | crush_rule: sata |
| 25 | .rgw.root: |
| 26 | pg_num: 64 |
| 27 | pgp_num: 64 |
| 28 | type: replicated |
| 29 | application: rgw |
| 30 | crush_rule: sata |
| 31 | default.rgw.control: |
| 32 | pg_num: 64 |
| 33 | pgp_num: 64 |
| 34 | type: replicated |
| 35 | application: rgw |
| 36 | crush_rule: sata |
| 37 | default.rgw.meta: |
| 38 | pg_num: 64 |
| 39 | pgp_num: 64 |
| 40 | type: replicated |
| 41 | application: rgw |
| 42 | crush_rule: sata |
| 43 | default.rgw.log: |
| 44 | pg_num: 64 |
| 45 | pgp_num: 64 |
| 46 | type: replicated |
| 47 | application: rgw |
| 48 | crush_rule: sata |
| 49 | default.rgw.buckets.index: |
| 50 | pg_num: 64 |
| 51 | pgp_num: 64 |
| 52 | type: replicated |
| 53 | application: rgw |
| 54 | crush_rule: sata |
| 55 | default.rgw.buckets.data: |
| 56 | pg_num: 64 |
| 57 | pgp_num: 64 |
| 58 | type: replicated |
| 59 | application: rgw |
| 60 | crush_rule: sata |
| 61 | # crush: |
| 62 | # enforce: true |
| 63 | # tunables: |
| 64 | # choose_total_tries: 50 |
| 65 | # choose_local_tries: 0 |
| 66 | # choose_local_fallback_tries: 0 |
| 67 | # chooseleaf_descend_once: 1 |
| 68 | # chooseleaf_vary_r: 1 |
| 69 | # chooseleaf_stable: 1 |
| 70 | # straw_calc_version: 1 |
| 71 | # allowed_bucket_algs: 54 |
| 72 | # type: |
| 73 | # - root |
| 74 | # - region |
| 75 | # - rack |
| 76 | # - host |
| 77 | # - osd # musi byt pro kraken |
| 78 | # root: |
| 79 | # - name: sata |
| 80 | # - name: ssd |
| 81 | # region: |
| 82 | # - name: eu-1 |
| 83 | # parent: sata |
| 84 | # - name: eu-2 |
| 85 | # parent: ssd |
| 86 | # - name: us-1 |
| 87 | # parent: sata |
| 88 | # - name: us-2 |
| 89 | # parent: ssd |
| 90 | # rack: |
| 91 | # - name: rack01 |
| 92 | # parent: eu-1 |
| 93 | # - name: rack02 |
| 94 | # parent: eu-1 |
| 95 | # - name: rack03 |
| 96 | # parent: eu-1 |
| 97 | # - name: rack04 |
| 98 | # parent: us-2 |
| 99 | # - name: rack05 |
| 100 | # parent: us-2 |
| 101 | # - name: rack06 |
| 102 | # parent: us-2 |
| 103 | # pool: |
| 104 | # - name: vms |
| 105 | # rule: sata |
| 106 | # app: rbd |
| 107 | # - name: images |
| 108 | # rule: sata |
| 109 | # app: rbd |
| 110 | # - name: volumes |
| 111 | # rule: sata |
| 112 | # app: rbd |
| 113 | # rule: |
| 114 | # ssd: |
| 115 | # ruleset: 0 |
| 116 | # type: replicated |
| 117 | # min_size: 1 |
| 118 | # max_size: 10 |
| 119 | # steps: |
| 120 | # - take ssd |
| 121 | # - chooseleaf firstn 0 type host |
| 122 | # - emit |
| 123 | # sata: |
| 124 | # ruleset: 1 |
| 125 | # type: replicated |
| 126 | # min_size: 1 |
| 127 | # max_size: 10 |
| 128 | # steps: |
| 129 | # - take sata |
| 130 | # - chooseleaf firstn 0 type host |
| 131 | # - emit |