diff options
author | alextarazanov <alextarazanov@yandex-team.com> | 2022-09-06 16:14:45 +0300 |
---|---|---|
committer | alextarazanov <alextarazanov@yandex-team.com> | 2022-09-06 16:14:45 +0300 |
commit | fd3caafaa86763347c93e949299cd9440201d79b (patch) | |
tree | fb7522486ccdc4c1c6a35cb494acbed90408a764 | |
parent | 505c8099fd67fafc495541d9451047730287d2a5 (diff) | |
download | ydb-fd3caafaa86763347c93e949299cd9440201d79b.tar.gz |
[review] [YDB] Cluster extension
Страница:
> https://7762d3cd6edec7bdf26eedd18ac9af6ba14fd5a8.testing.docs.yandex-team.ru/ydb-tech/maintenance/manual/cluster_expansion
-rw-r--r-- | ydb/docs/en/core/maintenance/manual/cluster_expansion.md | 21 | ||||
-rw-r--r-- | ydb/docs/ru/core/maintenance/manual/cluster_expansion.md | 20 |
2 files changed, 20 insertions, 21 deletions
diff --git a/ydb/docs/en/core/maintenance/manual/cluster_expansion.md b/ydb/docs/en/core/maintenance/manual/cluster_expansion.md index 0c0d21a27a4..9e7cd2b0b67 100644 --- a/ydb/docs/en/core/maintenance/manual/cluster_expansion.md +++ b/ydb/docs/en/core/maintenance/manual/cluster_expansion.md @@ -1,8 +1,10 @@ -# Cluster extension {#expand_cluster} +# Cluster extension -1) Add information about new nodes to NameserviceConfig in the names.txt file +You can expand the {{ ydb-short-name }} cluster by adding new nodes to the cluster configuration. - ``` +1. Specify the parameters of additional nodes in the file `names.txt ` NameserviceConfig configuration: + + ```protobuf Node { NodeId: 1 Port: <ic-port> @@ -31,13 +33,11 @@ AcceptUUID: "<cluster-UUID>" ``` -2) Update the NameserviceConfig via CMS - -3) Add new nodes to DefineBox +1. [Update the NameserviceConfig](./cms.md) via CMS. - Sample protobuf for DefineBox +1. Add new nodes to DefineBox - ``` + ```protobuf Command { DefineHostConfig { HostConfigId: 1 @@ -71,9 +71,8 @@ } ``` - Using the command +1. Run the command: - ``` + ```protobuf kikimr -s <endpoint> admin bs config invoke --proto-file DefineBox.txt ``` - diff --git a/ydb/docs/ru/core/maintenance/manual/cluster_expansion.md b/ydb/docs/ru/core/maintenance/manual/cluster_expansion.md index 819e8d5dbce..f30aac4b212 100644 --- a/ydb/docs/ru/core/maintenance/manual/cluster_expansion.md +++ b/ydb/docs/ru/core/maintenance/manual/cluster_expansion.md @@ -1,8 +1,10 @@ -# Расширение кластера {#expand_cluster} +# Расширение кластера -1) Добавить в конфиг NameserviceConfig в файл names.txt информацию о новых узлах +Вы можете расширить кластер {{ ydb-short-name }}, добавив новые узлы в конфигурацию кластера. - ``` +1. Укажите параметры дополнительных узлов в файле `names.txt` конфигурации NameserviceConfig: + + ```protobuf Node { NodeId: 1 Port: <ic-port> @@ -31,13 +33,11 @@ AcceptUUID: "<UUID-кластера>" ``` -2) Обновить конфиг NameserviceConfig через CMS - -3) Добавить новые узлы в DefineBox +1. [Обновите конфигурацию](./cms.md) NameserviceConfig с помощью CMS. - Пример protobuf для DefineBox +1. Добавьте новые узлы в DefineBox: - ``` + ```protobuf Command { DefineHostConfig { HostConfigId: 1 @@ -71,8 +71,8 @@ } ``` - Применение команды +1. Выполните команду: - ``` + ```protobuf kikimr -s <endpoint> admin bs config invoke --proto-file DefineBox.txt ``` |