Skip to content

Commit e367e7a

Browse files
committed
update cluster activation via cli
1 parent 39e4620 commit e367e7a

File tree

16 files changed

+330
-29
lines changed

16 files changed

+330
-29
lines changed

src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ On each server, navigate to the `sbin` directory and start the DataNode:
167167

168168
#### Option 2: Command-Based Activation
169169

170-
1. Enter the IoTDB CLI for each node:
170+
1. Enter the IoTDB CLI on any node of the cluster:
171171
- **For Table Model**:
172172
```SQL
173173
# For Linux or macOS
@@ -192,7 +192,7 @@ On each server, navigate to the `sbin` directory and start the DataNode:
192192
```
193193

194194

195-
3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team:
195+
3. Copy the returned machine codes of all 3 nodes in the cluster (displayed as a green string) and send it to the Timecho team:
196196

197197
```Bash
198198
+--------------------------------------------------------------+

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ cd sbin
169169

170170
#### Option 2: Command-Based Activation
171171

172-
1. Enter the IoTDB CLI for each node:
172+
1. Enter the IoTDB CLI on any node of the cluster:
173173

174174
- **For Table Model**:
175175

@@ -197,7 +197,7 @@ cd sbin
197197
show system info
198198
```
199199

200-
3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team:
200+
3. Copy the returned machine codes of all 3 nodes in the cluster (displayed as a green string) and send it to the Timecho team:
201201

202202
```Bash
203203
+--------------------------------------------------------------+

src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,47 @@ If the startup fails, please refer to [Common Questions](#common-questions).
180180
Import completed. Please start cluster and excute 'show cluster' to verify activation status
181181
```
182182
183+
184+
#### Method 3: Activation via CLI (Version 1.3.4)
185+
186+
- First start the Datanode nodes, then enter the CLI of any node in the cluster
187+
188+
```SQL
189+
./sbin/start-datanode.sh
190+
./sbin/start-cli.sh
191+
```
192+
193+
- Obtain the machine codes of all 3 machines:
194+
195+
- Execute the following command to get the machine codes required for activation:
196+
197+
```Bash
198+
show system info
199+
```
200+
201+
- The following information will be displayed (machine codes of all 3 nodes in the cluster):
202+
203+
```Bash
204+
+--------------------------------------------------------------+
205+
| SystemInfo|
206+
+--------------------------------------------------------------+
207+
|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE|
208+
+--------------------------------------------------------------+
209+
Total line number = 1
210+
It costs 0.030s
211+
```
212+
213+
- Copy the obtained machine codes from all 3 machines and provide them to the Timecho team
214+
215+
- The Timecho team will return an activation code, which normally corresponds to the order of the 3 provided machine codes. Paste the complete activation code into the CLI for activation
216+
217+
- Note: The activation code must be enclosed in ' symbols, as shown below:
218+
219+
```Bash
220+
IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA==='
221+
```
222+
223+
183224
### Start DataNode
184225

185226
Enter the `sbin` directory of iotdb and start three datanode nodes in sequence:

src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,41 @@ License has been stored to sbin/../activation/license
150150
Import completed. Please start cluster and excute 'show cluster' to verify activation status
151151
```
152152
153+
#### Method 3: Activation via CLI (Version 1.3.4)
154+
155+
- First start the Datanode, then enter the CLI
156+
157+
```SQL
158+
./sbin/start-datanode.sh
159+
./sbin/start-cli.sh
160+
```
161+
162+
- Execute the following command to obtain the machine code required for activation:
163+
164+
```Bash
165+
show system info
166+
```
167+
168+
- Copy the returned machine code (the green string) and provide it to the Timecho team:
169+
170+
```Bash
171+
+--------------------------------------------------------------+
172+
| SystemInfo|
173+
+--------------------------------------------------------------+
174+
| 01-TE5NLES4-UDDWCMYE|
175+
+--------------------------------------------------------------+
176+
Total line number = 1
177+
It costs 0.030s
178+
```
179+
180+
- Input the activation code returned by the Timecho team into the CLI using the following command:
181+
- Note: The activation code must be enclosed in ' symbols, as shown:
182+
183+
```Bash
184+
IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA==='
185+
```
186+
187+
153188
### 5、Start DataNode
154189

155190
Enter the sbin directory of iotdb and start datanode:

src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,46 @@ If the startup fails, please refer to [Common Questions](#common-questions).
180180
Import completed. Please start cluster and excute 'show cluster' to verify activation status
181181
```
182182
183+
#### Method 3: Activation via CLI (Version 1.3.4)
184+
185+
- First start the Datanode nodes, then enter the CLI of any node in the cluster
186+
187+
```SQL
188+
./sbin/start-datanode.sh
189+
./sbin/start-cli.sh
190+
```
191+
192+
- Obtain the machine codes of all 3 machines:
193+
194+
- Execute the following command to get the machine codes required for activation:
195+
196+
```Bash
197+
show system info
198+
```
199+
200+
- The following information will be displayed (machine codes of all 3 nodes in the cluster):
201+
202+
```Bash
203+
+--------------------------------------------------------------+
204+
| SystemInfo|
205+
+--------------------------------------------------------------+
206+
|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE|
207+
+--------------------------------------------------------------+
208+
Total line number = 1
209+
It costs 0.030s
210+
```
211+
212+
- Copy the obtained machine codes from all 3 machines and provide them to the Timecho team
213+
214+
- The Timecho team will return an activation code, which normally corresponds to the order of the 3 provided machine codes. Paste the complete activation code into the CLI for activation
215+
216+
- Note: The activation code must be enclosed in ' symbols, as shown below:
217+
218+
```Bash
219+
IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA==='
220+
```
221+
222+
183223
### Start DataNode
184224

185225
Enter the `sbin` directory of iotdb and start three datanode nodes in sequence:

src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,41 @@ License has been stored to sbin/../activation/license
150150
Import completed. Please start cluster and excute 'show cluster' to verify activation status
151151
```
152152
153+
#### Method 3: Activation via CLI (Version 1.3.4)
154+
155+
- First start the Datanode, then enter the CLI
156+
157+
```SQL
158+
./sbin/start-datanode.sh
159+
./sbin/start-cli.sh
160+
```
161+
162+
- Execute the following command to obtain the machine code required for activation:
163+
164+
```Bash
165+
show system info
166+
```
167+
168+
- Copy the returned machine code (the green string) and provide it to the Timecho team:
169+
170+
```Bash
171+
+--------------------------------------------------------------+
172+
| SystemInfo|
173+
+--------------------------------------------------------------+
174+
| 01-TE5NLES4-UDDWCMYE|
175+
+--------------------------------------------------------------+
176+
Total line number = 1
177+
It costs 0.030s
178+
```
179+
180+
- Input the activation code returned by the Timecho team into the CLI using the following command:
181+
- Note: The activation code must be enclosed in ' symbols, as shown:
182+
183+
```Bash
184+
IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA==='
185+
```
186+
187+
153188
### 5、Start DataNode
154189

155190
Enter the sbin directory of iotdb and start datanode:

src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ On each server, navigate to the `sbin` directory and start the DataNode:
167167

168168
#### Option 2: Command-Based Activation
169169

170-
1. Enter the IoTDB CLI for each node:
170+
1. Enter the IoTDB CLI on any node of the cluster:
171171
- **For Table Model**:
172172
```SQL
173173
# For Linux or macOS
@@ -191,7 +191,7 @@ On each server, navigate to the `sbin` directory and start the DataNode:
191191
show system info
192192
```
193193

194-
3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team:
194+
3. Copy the returned machine codes of all 3 nodes in the cluster (displayed as a green string) and send it to the Timecho team:
195195

196196
```Bash
197197
+--------------------------------------------------------------+

src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ cd sbin
169169

170170
#### Option 2: Command-Based Activation
171171

172-
1. Enter the IoTDB CLI for each node:
172+
1. Enter the IoTDB CLI on any node of the cluster:
173173

174174
- **For Table Model**:
175175

@@ -197,7 +197,7 @@ cd sbin
197197
show system info
198198
```
199199

200-
3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team:
200+
3. Copy the returned machine codes of all 3 nodes in the cluster (displayed as a green string) and send it to the Timecho team:
201201

202202
```Bash
203203
+--------------------------------------------------------------+

src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ cd sbin
162162
- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件;
163163
- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下;
164164

165-
#### 方式二:激活脚本激活
165+
#### 方式二:通过 CLI 激活
166166
- 依次获取3台机器的机器码,进入 IoTDB CLI
167167

168168
- 表模型 CLI 进入命令:
@@ -191,7 +191,7 @@ cd sbin
191191
show system info
192192
```
193193

194-
- 显示如下信息,这里显示的是1台机器的机器码
194+
- 显示如下信息(集群3个节点机器的机器码)
195195

196196
```Bash
197197
+--------------------------------------------------------------+
@@ -203,11 +203,11 @@ cd sbin
203203
It costs 0.030s
204204
```
205205

206-
- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员
206+
- 将获取的3台机器的机器码复制给天谋工作人员
207207

208-
- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示:
208+
- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活
209209

210-
- 注:激活码前后需要用`'`符号进行标注,如所示
210+
- 注:激活码前后需要用`'`符号进行标注,如下所示
211211
212212
```Bash
213213
IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA==='

src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ cd sbin
162162
- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件;
163163
- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下;
164164

165-
#### 方式二:激活脚本激活
165+
#### 方式二:通过 CLI 激活
166166
- 依次获取3台机器的机器码,进入 IoTDB CLI
167167

168168
- 表模型 CLI 进入命令:
@@ -191,7 +191,7 @@ cd sbin
191191
show system info
192192
```
193193

194-
- 显示如下信息,这里显示的是1台机器的机器码
194+
- 显示如下信息(集群3个节点机器的机器码)
195195

196196
```Bash
197197
+--------------------------------------------------------------+
@@ -203,11 +203,11 @@ cd sbin
203203
It costs 0.030s
204204
```
205205

206-
- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员
206+
- 将获取的3台机器的机器码复制给天谋工作人员
207207

208-
- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示:
208+
- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活
209209

210-
- 注:激活码前后需要用`'`符号进行标注,如所示
210+
- 注:激活码前后需要用`'`符号进行标注,如下所示
211211
212212
```Bash
213213
IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===,01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-Q27B4OMJ-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA==='

0 commit comments

Comments
 (0)