Skip to content

Commit 5de0f79

Browse files
author
Konstantin Bogdanov
committed
Use erasure mirror-3-dc in Storage example
1 parent ce34e46 commit 5de0f79

File tree

1 file changed

+54
-87
lines changed

1 file changed

+54
-87
lines changed

samples/storage.yaml

Lines changed: 54 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ spec:
1313
# version: 21.4.30
1414
image:
1515
name: cr.yandex/crpl7ipeu79oseqhcgn2/ydb-oss:master
16-
nodes: 8
17-
erasure: block-4-2
16+
nodes: 9
17+
erasure: mirror-3-dc
1818
configuration: |-
19-
static_erasure: block-4-2
19+
static_erasure: mirror-3-dc
2020
host_configs:
2121
- drive:
2222
- path: /dev/kikimr_ssd_00
@@ -29,7 +29,7 @@ spec:
2929
- kind: hdd
3030
pool_config:
3131
box_id: 1
32-
erasure_species: block-4-2
32+
erasure_species: mirror-3-dc
3333
kind: hdd
3434
pdisk_filter:
3535
- property:
@@ -76,90 +76,57 @@ spec:
7676
service_set:
7777
availability_domains: 1
7878
groups:
79-
- erasure_species: block-4-2
79+
- erasure_species: mirror-3-dc
8080
group_id: 0
8181
group_generation: 1
8282
rings:
8383
- fail_domains:
84-
- vdisk_locations:
85-
- node_id: 1
86-
pdisk_id: 1
87-
vdisk_slot_id: 0
88-
- vdisk_locations:
89-
- node_id: 2
90-
pdisk_id: 1
91-
vdisk_slot_id: 0
92-
- vdisk_locations:
93-
- node_id: 3
94-
pdisk_id: 1
95-
vdisk_slot_id: 0
96-
- vdisk_locations:
97-
- node_id: 4
98-
pdisk_id: 1
99-
vdisk_slot_id: 0
100-
- vdisk_locations:
101-
- node_id: 5
102-
pdisk_id: 1
103-
vdisk_slot_id: 0
104-
- vdisk_locations:
105-
- node_id: 6
106-
pdisk_id: 1
107-
vdisk_slot_id: 0
108-
- vdisk_locations:
109-
- node_id: 7
110-
pdisk_id: 1
111-
vdisk_slot_id: 0
112-
- vdisk_locations:
113-
- node_id: 8
114-
pdisk_id: 1
115-
vdisk_slot_id: 0
116-
- vdisk_locations:
117-
- node_id: 9
118-
pdisk_id: 1
119-
vdisk_slot_id: 0
120-
channel_profile_config:
121-
profile:
122-
- channel:
123-
- erasure_species: block-4-2
124-
pdisk_category: 0
125-
storage_pool_kind: hdd
126-
- erasure_species: block-4-2
127-
pdisk_category: 0
128-
storage_pool_kind: hdd
129-
- erasure_species: block-4-2
130-
pdisk_category: 0
131-
storage_pool_kind: hdd
132-
profile_id: 0
133-
- channel:
134-
- erasure_species: block-4-2
135-
pdisk_category: 0
136-
storage_pool_kind: hdd
137-
- erasure_species: block-4-2
138-
pdisk_category: 0
139-
storage_pool_kind: hdd
140-
- erasure_species: block-4-2
141-
pdisk_category: 0
142-
storage_pool_kind: hdd
143-
profile_id: 1
144-
- channel:
145-
- erasure_species: block-4-2
146-
pdisk_category: 0
147-
storage_pool_kind: hdd
148-
- erasure_species: block-4-2
149-
pdisk_category: 0
150-
storage_pool_kind: hdd
151-
- erasure_species: block-4-2
152-
pdisk_category: 0
153-
storage_pool_kind: hdd
154-
profile_id: 2
155-
- channel:
156-
- erasure_species: block-4-2
157-
pdisk_category: 0
158-
storage_pool_kind: hdd
159-
- erasure_species: block-4-2
160-
pdisk_category: 0
161-
storage_pool_kind: hdd
162-
- erasure_species: block-4-2
163-
pdisk_category: 0
164-
storage_pool_kind: hdd
165-
profile_id: 3
84+
- vdisk_locations:
85+
- node_id: 1
86+
pdisk_category: SSD
87+
path: /dev/kikimr_ssd_00
88+
- vdisk_locations:
89+
- node_id: 2
90+
pdisk_category: SSD
91+
path: /dev/kikimr_ssd_00
92+
- vdisk_locations:
93+
- node_id: 3
94+
pdisk_category: SSD
95+
path: /dev/kikimr_ssd_00
96+
- vdisk_locations:
97+
- node_id: 4
98+
pdisk_category: SSD
99+
path: /dev/kikimr_ssd_00
100+
- vdisk_locations:
101+
- node_id: 5
102+
pdisk_category: SSD
103+
path: /dev/kikimr_ssd_00
104+
- vdisk_locations:
105+
- node_id: 6
106+
pdisk_category: SSD
107+
path: /dev/kikimr_ssd_00
108+
- vdisk_locations:
109+
- node_id: 7
110+
pdisk_category: SSD
111+
path: /dev/kikimr_ssd_00
112+
- vdisk_locations:
113+
- node_id: 8
114+
pdisk_category: SSD
115+
path: /dev/kikimr_ssd_00
116+
- vdisk_locations:
117+
- node_id: 9
118+
pdisk_category: SSD
119+
path: /dev/kikimr_ssd_00
120+
channel_profile_config:
121+
profile:
122+
- channel:
123+
- erasure_species: mirror-3-dc
124+
pdisk_category: 1
125+
storage_pool_kind: ssd
126+
- erasure_species: mirror-3-dc
127+
pdisk_category: 1
128+
storage_pool_kind: ssd
129+
- erasure_species: mirror-3-dc
130+
pdisk_category: 1
131+
storage_pool_kind: ssd
132+
profile_id: 0

0 commit comments

Comments
 (0)