Add a note about antietcd dump/load
This commit is contained in:
@@ -49,6 +49,13 @@ or antietcd_data_dir options). All other antietcd parameters
|
|||||||
cluster, cluster_key, persist_filter, stale_read can also be set in
|
cluster, cluster_key, persist_filter, stale_read can also be set in
|
||||||
Vitastor configuration with `antietcd_` prefix.
|
Vitastor configuration with `antietcd_` prefix.
|
||||||
|
|
||||||
|
You can dump/load data to or from antietcd using Antietcd `anticli` tool:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm exec anticli -e http://etcd:2379/v3 get --prefix '' --no-temp > dump.json
|
||||||
|
npm exec anticli -e http://antietcd:2379/v3 load < dump.json
|
||||||
|
```
|
||||||
|
|
||||||
## enable_prometheus
|
## enable_prometheus
|
||||||
|
|
||||||
- Type: boolean
|
- Type: boolean
|
||||||
|
|||||||
@@ -49,6 +49,14 @@ antietcd_data_file или antietcd_data_dir). Все остальные пара
|
|||||||
node_id, cluster, cluster_key, persist_filter, stale_read также можно задавать
|
node_id, cluster, cluster_key, persist_filter, stale_read также можно задавать
|
||||||
в конфигурации Vitastor с префиксом `antietcd_`.
|
в конфигурации Vitastor с префиксом `antietcd_`.
|
||||||
|
|
||||||
|
Вы можете выгружать/загружать данные в или из antietcd с помощью его инструмента
|
||||||
|
`anticli`:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm exec anticli -e http://etcd:2379/v3 get --prefix '' --no-temp > dump.json
|
||||||
|
npm exec anticli -e http://antietcd:2379/v3 load < dump.json
|
||||||
|
```
|
||||||
|
|
||||||
## enable_prometheus
|
## enable_prometheus
|
||||||
|
|
||||||
- Тип: булево (да/нет)
|
- Тип: булево (да/нет)
|
||||||
|
|||||||
@@ -20,6 +20,13 @@
|
|||||||
(see [here](https://git.yourcmc.ru/vitalif/antietcd/)) except node_id,
|
(see [here](https://git.yourcmc.ru/vitalif/antietcd/)) except node_id,
|
||||||
cluster, cluster_key, persist_filter, stale_read can also be set in
|
cluster, cluster_key, persist_filter, stale_read can also be set in
|
||||||
Vitastor configuration with `antietcd_` prefix.
|
Vitastor configuration with `antietcd_` prefix.
|
||||||
|
|
||||||
|
You can dump/load data to or from antietcd using Antietcd `anticli` tool:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm exec anticli -e http://etcd:2379/v3 get --prefix '' --no-temp > dump.json
|
||||||
|
npm exec anticli -e http://antietcd:2379/v3 load < dump.json
|
||||||
|
```
|
||||||
info_ru: |
|
info_ru: |
|
||||||
Включить экспериментальный встроенный заменитель etcd (кластерную БД ключ-значение):
|
Включить экспериментальный встроенный заменитель etcd (кластерную БД ключ-значение):
|
||||||
[antietcd](https://git.yourcmc.ru/vitalif/antietcd/).
|
[antietcd](https://git.yourcmc.ru/vitalif/antietcd/).
|
||||||
@@ -39,6 +46,14 @@
|
|||||||
(смотрите [по ссылке](https://git.yourcmc.ru/vitalif/antietcd/)), за исключением
|
(смотрите [по ссылке](https://git.yourcmc.ru/vitalif/antietcd/)), за исключением
|
||||||
node_id, cluster, cluster_key, persist_filter, stale_read также можно задавать
|
node_id, cluster, cluster_key, persist_filter, stale_read также можно задавать
|
||||||
в конфигурации Vitastor с префиксом `antietcd_`.
|
в конфигурации Vitastor с префиксом `antietcd_`.
|
||||||
|
|
||||||
|
Вы можете выгружать/загружать данные в или из antietcd с помощью его инструмента
|
||||||
|
`anticli`:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm exec anticli -e http://etcd:2379/v3 get --prefix '' --no-temp > dump.json
|
||||||
|
npm exec anticli -e http://antietcd:2379/v3 load < dump.json
|
||||||
|
```
|
||||||
- name: enable_prometheus
|
- name: enable_prometheus
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
|
|||||||
Reference in New Issue
Block a user