Skip to content

Commit 306be5f

Browse files
dl239lumianph
andauthored
docs: update scale out docs (#2031)
* docs: update scale out docs * update * Update scale.md Co-authored-by: LU MIAN <[email protected]>
1 parent f162d0f commit 306be5f

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

docs/en/maintain/scale.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ With the development of business, dynamic scale-out is required if the current c
66

77
### Step 1. Starting a new tablet node
88

9+
You need to first start a new tablet node as following steps, please refer to the [deploy doc](../deploy/install_deploy.md) for details:
10+
- Check time and zone settings, disable `THP` and `swap`
11+
- Download the package
12+
- Modify the configuration file: conf/tablet.flags
13+
- Start a new tablet
14+
```bash
15+
sh bin/start.sh start tablet
16+
```
17+
918
After startup, you need to check whether the new node has joined the cluster. If the `showtablet` command is executed and the new node endpoint is listed, it means that it has joined the cluster
1019

1120
```bash

docs/zh/maintain/scale.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
随着业务的发展, 当前集群的拓扑不能满足要求就需要动态的扩容。扩容就是把一部分分片从现有tablet节点迁移到新的tablet节点上从而减小内存占用
66

77
### 1 启动一个新的tablet节点
8-
8+
按照如下步骤启动tablet节点,参考[部署文档](../deploy/install_deploy.md)
9+
- 检查时间和时区,关闭THP和swap
10+
- 下载部署包到新的节点并解压
11+
- 修改conf/tablet.flags配置文件,zk_cluster和zk_root_path和集群中其他节点保持一致。修改endpoint。
12+
- 启动tablet
13+
```bash
14+
sh bin/start.sh start tablet
15+
```
916
启动后查看新增节点是否加入集群。如果执行showtablet命令列出了新节点endpoint说明已经加入到集群中
1017

1118
```bash

0 commit comments

Comments
 (0)