33
44# Option will be removed further
55use_new_style_kikimr_cfg : true
6+ yaml_config_enabled : true
67
8+ log :
9+ cluster_name : " default_devslice" # Change cluster name in order to have better experience with logs searching in Monium.
10+ uaclient_config :
11+ uri : " [fd53::1]:16400"
12+ grpc_max_message_size : 4194304
713
814host_configs : # the list of available host configurations in the cluster.
915# NOTE: in mirror-3-dc-3-nodes configuration we have to use hosts with more than 3 physical disks.
1016- drive :
11- - path : /dev/disk/by-partlabel/kikimr_nvme_01 # path of the first disk in the host configration.
17+ - path : &disk_path_1 /dev/disk/by-partlabel/kikimr_nvme_01 # path of the first disk in the host configration.
1218 type : SSD # kind of the disk: available kinds are SSD, NVME, ROT (HDD)
13- - path : /dev/disk/by-partlabel/kikimr_nvme_02
19+ - path : &disk_path_2 /dev/disk/by-partlabel/kikimr_nvme_02
1420 type : SSD
15- - path : /dev/disk/by-partlabel/kikimr_nvme_03
21+ - path : &disk_path_3 /dev/disk/by-partlabel/kikimr_nvme_03
1622 type : SSD
1723 # Add more disks if required.
1824 # NOTE(shmel1k@): If you host has nodeclaim-label like '_4ssd', that means, that
@@ -21,7 +27,7 @@ host_configs: # the list of available host configurations in the cluster.
2127 # they will be located at `/dev/disk/by-partlabel/kikimr_hdd_03-04` (enumeration starts with 03)
2228 host_config_id : 1
2329hosts :
24- - host : ydb-node-zone-a.local # storage node DNS name
30+ - host : &host_1 ydb-node-zone-a.local # storage node DNS name
2531 host_config_id : 1 # numeric host configuration template identifier
2632 location : # this parameter describes where host is located.
2733 body : 1 # string representing a host serial number.
@@ -31,13 +37,13 @@ hosts:
3137 rack : ' 1' # string representing a rack identifier where the host is located.
3238 # if cluster is deployed using block-4-2 erasure, all hosts should be distrubited
3339 # accross at least 8 racks.
34- - host : ydb-node-zone-b.local
40+ - host : &host_2 ydb-node-zone-b.local
3541 host_config_id : 1
3642 location :
3743 body : 2
3844 data_center : ' DCB'
3945 rack : ' 2'
40- - host : ydb-node-zone-c.local
46+ - host : &host_3 ydb-node-zone-c.local
4147 host_config_id : 1
4248 location :
4349 body : 3
@@ -118,51 +124,51 @@ blob_storage_config: # configuration of static blobstorage group.
118124 rings : # in mirror-3-dc must have exactly 3 rings or availability zones
119125 - fail_domains : # first record: fail domains of the static group describe where each vdisk of the static group should be located.
120126 - vdisk_locations :
121- - node_id : ydb-node-zone-a.local
122- pdisk_category : 1 # 1 - SSD, 0 - HDD
123- path : /dev/disk/by-partlabel/kikimr_nvme_01
127+ - node_id : *host_1
128+ pdisk_category : &pdisk_category 1 # 1 - SSD, 0 - HDD
129+ path : *disk_path_1
124130 pdisk_guid : 1
125131 - vdisk_locations :
126- - node_id : ydb-node-zone-a.local
127- pdisk_category : 1
128- path : /dev/disk/by-partlabel/kikimr_nvme_02
132+ - node_id : *host_1
133+ pdisk_category : *pdisk_category
134+ path : *disk_path_2
129135 pdisk_guid : 2
130136 - vdisk_locations :
131- - node_id : ydb-node-zone-a.local
132- pdisk_category : 1
133- path : /dev/disk/by-partlabel/kikimr_nvme_03
137+ - node_id : *host_1
138+ pdisk_category : *pdisk_category
139+ path : *disk_path_3
134140 pdisk_guid : 3
135141 - fail_domains : # second ring: fail domains of the static group describe where each vdisk of the static group should be located.
136142 - vdisk_locations :
137- - node_id : ydb-node-zone-b.local
138- pdisk_category : 1
139- path : /dev/disk/by-partlabel/kikimr_nvme_01
143+ - node_id : *host_2
144+ pdisk_category : *pdisk_category
145+ path : *disk_path_1
140146 pdisk_guid : 4
141147 - vdisk_locations :
142- - node_id : ydb-node-zone-b.local
143- pdisk_category : 1
144- path : /dev/disk/by-partlabel/kikimr_nvme_02
148+ - node_id : *host_2
149+ pdisk_category : *pdisk_category
150+ path : *disk_path_2
145151 pdisk_guid : 5
146152 - vdisk_locations :
147- - node_id : ydb-node-zone-b.local
148- pdisk_category : 1
149- path : /dev/disk/by-partlabel/kikimr_nvme_03
153+ - node_id : *host_2
154+ pdisk_category : *pdisk_category
155+ path : *disk_path_3
150156 pdisk_guid : 6
151157 - fail_domains : # third ring: fail domains of the static group describe where each vdisk of the static group should be located.
152158 - vdisk_locations :
153- - node_id : ydb-node-zone-c.local
154- pdisk_category : 1
155- path : /dev/disk/by-partlabel/kikimr_nvme_01
159+ - node_id : *host_3
160+ pdisk_category : *pdisk_category
161+ path : *disk_path_1
156162 pdisk_guid : 7
157163 - vdisk_locations :
158- - node_id : ydb-node-zone-c.local
159- pdisk_category : 1
160- path : /dev/disk/by-partlabel/kikimr_nvme_02
164+ - node_id : *host_3
165+ pdisk_category : *pdisk_category
166+ path : *disk_path_2
161167 pdisk_guid : 8
162168 - vdisk_locations :
163- - node_id : ydb-node-zone-c.local
164- pdisk_category : 1
165- path : /dev/disk/by-partlabel/kikimr_nvme_03
169+ - node_id : *host_3
170+ pdisk_category : *pdisk_category
171+ path : *disk_path_3
166172 pdisk_guid : 9
167173
168174# TODO: migrate to channel_profile_config
0 commit comments