From e367e7a92b647bdd6eb65212cb9e35ab8505aa8a Mon Sep 17 00:00:00 2001 From: Leto_b Date: Wed, 18 Jun 2025 15:30:36 +0800 Subject: [PATCH 1/3] update cluster activation via cli --- .../Cluster-Deployment_timecho.md | 4 +- .../Cluster-Deployment_timecho.md | 4 +- .../Cluster-Deployment_timecho.md | 41 +++++++++++++++++++ .../Stand-Alone-Deployment_timecho.md | 35 ++++++++++++++++ .../Cluster-Deployment_timecho.md | 40 ++++++++++++++++++ .../Stand-Alone-Deployment_timecho.md | 35 ++++++++++++++++ .../Cluster-Deployment_timecho.md | 4 +- .../Cluster-Deployment_timecho.md | 4 +- .../Cluster-Deployment_timecho.md | 10 ++--- .../Cluster-Deployment_timecho.md | 10 ++--- .../Cluster-Deployment_timecho.md | 40 ++++++++++++++++++ .../Stand-Alone-Deployment_timecho.md | 35 ++++++++++++++++ .../Cluster-Deployment_timecho.md | 41 +++++++++++++++++++ .../Stand-Alone-Deployment_timecho.md | 34 +++++++++++++++ .../Cluster-Deployment_timecho.md | 10 ++--- .../Cluster-Deployment_timecho.md | 12 +++--- 16 files changed, 330 insertions(+), 29 deletions(-) diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 1d49f04a6..a1816408e 100644 --- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -167,7 +167,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: #### Option 2: Command-Based Activation -1. Enter the IoTDB CLI for each node: +1. Enter the IoTDB CLI on any node of the cluster: - **For Table Model**: ```SQL # For Linux or macOS @@ -192,7 +192,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: ``` -3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team: +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: ```Bash +--------------------------------------------------------------+ diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 294158998..59a23566e 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -169,7 +169,7 @@ cd sbin #### Option 2: Command-Based Activation -1. Enter the IoTDB CLI for each node: +1. Enter the IoTDB CLI on any node of the cluster: - **For Table Model**: @@ -197,7 +197,7 @@ cd sbin show system info ``` -3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team: +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: ```Bash +--------------------------------------------------------------+ diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 0c3db00c6..2a5652254 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -180,6 +180,47 @@ If the startup fails, please refer to [Common Questions](#common-questions). Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` + +#### Method 3: Activation via CLI (Version 1.3.4) + +- First start the Datanode nodes, then enter the CLI of any node in the cluster + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- Obtain the machine codes of all 3 machines: + + - Execute the following command to get the machine codes required for activation: + + ```Bash + show system info + ``` + + - The following information will be displayed (machine codes of all 3 nodes in the cluster): + + ```Bash + +--------------------------------------------------------------+ + | SystemInfo| + +--------------------------------------------------------------+ + |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| + +--------------------------------------------------------------+ + Total line number = 1 + It costs 0.030s + ``` + +- Copy the obtained machine codes from all 3 machines and provide them to the Timecho team + +- 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 + + - Note: The activation code must be enclosed in ' symbols, as shown below: + + ```Bash + 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===' + ``` + + ### Start DataNode Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 19681a33f..5abb6453e 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -150,6 +150,41 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### Method 3: Activation via CLI (Version 1.3.4) + +- First start the Datanode, then enter the CLI + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- Execute the following command to obtain the machine code required for activation: + + ```Bash + show system info + ``` + +- Copy the returned machine code (the green string) and provide it to the Timecho team: + +```Bash ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +| 01-TE5NLES4-UDDWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +It costs 0.030s +``` + +- Input the activation code returned by the Timecho team into the CLI using the following command: + - Note: The activation code must be enclosed in ' symbols, as shown: + +```Bash +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===' +``` + + ### 5、Start DataNode Enter the sbin directory of iotdb and start datanode: diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 54b88519f..c20b21f41 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -180,6 +180,46 @@ If the startup fails, please refer to [Common Questions](#common-questions). Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### Method 3: Activation via CLI (Version 1.3.4) + +- First start the Datanode nodes, then enter the CLI of any node in the cluster + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- Obtain the machine codes of all 3 machines: + + - Execute the following command to get the machine codes required for activation: + + ```Bash + show system info + ``` + + - The following information will be displayed (machine codes of all 3 nodes in the cluster): + + ```Bash + +--------------------------------------------------------------+ + | SystemInfo| + +--------------------------------------------------------------+ + |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| + +--------------------------------------------------------------+ + Total line number = 1 + It costs 0.030s + ``` + +- Copy the obtained machine codes from all 3 machines and provide them to the Timecho team + +- 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 + + - Note: The activation code must be enclosed in ' symbols, as shown below: + + ```Bash + 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===' + ``` + + ### Start DataNode Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 19681a33f..5abb6453e 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -150,6 +150,41 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### Method 3: Activation via CLI (Version 1.3.4) + +- First start the Datanode, then enter the CLI + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- Execute the following command to obtain the machine code required for activation: + + ```Bash + show system info + ``` + +- Copy the returned machine code (the green string) and provide it to the Timecho team: + +```Bash ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +| 01-TE5NLES4-UDDWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +It costs 0.030s +``` + +- Input the activation code returned by the Timecho team into the CLI using the following command: + - Note: The activation code must be enclosed in ' symbols, as shown: + +```Bash +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===' +``` + + ### 5、Start DataNode Enter the sbin directory of iotdb and start datanode: diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 3e9d77484..53be4da2a 100644 --- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -167,7 +167,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: #### Option 2: Command-Based Activation -1. Enter the IoTDB CLI for each node: +1. Enter the IoTDB CLI on any node of the cluster: - **For Table Model**: ```SQL # For Linux or macOS @@ -191,7 +191,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: show system info ``` -3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team: +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: ```Bash +--------------------------------------------------------------+ diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index c5fbcb13f..f07f36315 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -169,7 +169,7 @@ cd sbin #### Option 2: Command-Based Activation -1. Enter the IoTDB CLI for each node: +1. Enter the IoTDB CLI on any node of the cluster: - **For Table Model**: @@ -197,7 +197,7 @@ cd sbin show system info ``` -3. Copy the returned machine code of each server (displayed as a green string) and send it to the Timecho team: +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: ```Bash +--------------------------------------------------------------+ diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 50e59743e..191fd23df 100644 --- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -162,7 +162,7 @@ cd sbin - 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; -#### 方式二:激活脚本激活 +#### 方式二:通过 CLI 激活 - 依次获取3台机器的机器码,进入 IoTDB CLI - 表模型 CLI 进入命令: @@ -191,7 +191,7 @@ cd sbin show system info ``` - - 显示如下信息,这里显示的是1台机器的机器码 : + - 显示如下信息(集群3个节点机器的机器码) : ```Bash +--------------------------------------------------------------+ @@ -203,11 +203,11 @@ cd sbin It costs 0.030s ``` -- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员 +- 将获取的3台机器的机器码复制给天谋工作人员 -- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示: +- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - - 注:激活码前后需要用`'`符号进行标注,如所示 + - 注:激活码前后需要用`'`符号进行标注,如下所示 ```Bash 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===' diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 3bef355d8..56309a864 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -162,7 +162,7 @@ cd sbin - 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; -#### 方式二:激活脚本激活 +#### 方式二:通过 CLI 激活 - 依次获取3台机器的机器码,进入 IoTDB CLI - 表模型 CLI 进入命令: @@ -191,7 +191,7 @@ cd sbin show system info ``` - - 显示如下信息,这里显示的是1台机器的机器码 : + - 显示如下信息(集群3个节点机器的机器码) : ```Bash +--------------------------------------------------------------+ @@ -203,11 +203,11 @@ cd sbin It costs 0.030s ``` -- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员 +- 将获取的3台机器的机器码复制给天谋工作人员 -- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示: +- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - - 注:激活码前后需要用`'`符号进行标注,如所示 + - 注:激活码前后需要用`'`符号进行标注,如下所示 ```Bash 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===' diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 790f2244f..fdbd5a0f6 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -179,6 +179,46 @@ cd sbin Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### 方式三:通过 CLI 激活(V1.3.4 版本) + +- 先启动 Datanode 节点,然后进入集群任一节点 CLI + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- 获取3台机器的机器码 + + - 执行以下内容获取激活所需机器码: + + ```Bash + show system info + ``` + + - 显示如下信息(集群3个节点机器的机器码) : + + ```Bash + +--------------------------------------------------------------+ + | SystemInfo| + +--------------------------------------------------------------+ + |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| + +--------------------------------------------------------------+ + Total line number = 1 + It costs 0.030s + ``` + +- 将获取的3台机器的机器码复制给天谋工作人员 + +- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 + + - 注:激活码前后需要用`'`符号进行标注,如下所示 + + ```Bash + 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===' + ``` + + ### 启动DataNode 节点 分别进入iotdb的`sbin`目录下,依次启动3个datanode节点: diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 202677811..f42be3d50 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -150,6 +150,41 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### 方式三:通过 CLI 激活(V1.3.4 版本) + +- 先启动 Datanode 节点,然后进入 CLI + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- 执行以下内容获取激活所需机器码: + + ```Bash + show system info + ``` + +- 将返回机器码(即绿色字符串)复制给天谋工作人员: + +```Bash ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +| 01-TE5NLES4-UDDWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +It costs 0.030s +``` + +- 将工作人员返回的激活码输入到CLI中,输入以下内容 + - 注:激活码前后需要用`'`符号进行标注,如所示 + +```Bash +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===' +``` + + ### 启动DataNode 节点 进入iotdb的sbin目录下,启动datanode: diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index cfe139ab4..7c12ffd82 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -179,6 +179,47 @@ cd sbin Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### 方式三:通过 CLI 激活(V1.3.4 版本) + +- 先启动 Datanode 节点,然后进入集群任一节点 CLI + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- 获取3台机器的机器码 + + - 执行以下内容获取激活所需机器码: + + ```Bash + show system info + ``` + + - 显示如下信息(集群3个节点机器的机器码) : + + ```Bash + +--------------------------------------------------------------+ + | SystemInfo| + +--------------------------------------------------------------+ + |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| + +--------------------------------------------------------------+ + Total line number = 1 + It costs 0.030s + ``` + +- 将获取的3台机器的机器码复制给天谋工作人员 + +- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 + + - 注:激活码前后需要用`'`符号进行标注,如下所示 + + ```Bash + 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===' + ``` + + + ### 启动DataNode 节点 分别进入iotdb的`sbin`目录下,依次启动3个datanode节点: diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 202677811..ac20dd212 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -150,6 +150,40 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` +#### 方式三:通过 CLI 激活(V1.3.4 版本) + +- 先启动 Datanode 节点,然后进入 CLI + + ```SQL + ./sbin/start-datanode.sh + ./sbin/start-cli.sh +``` + +- 执行以下内容获取激活所需机器码: + + ```Bash + show system info + ``` + +- 将返回机器码(即绿色字符串)复制给天谋工作人员: + +```Bash ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +| 01-TE5NLES4-UDDWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +It costs 0.030s +``` + +- 将工作人员返回的激活码输入到CLI中,输入以下内容 + - 注:激活码前后需要用`'`符号进行标注,如所示 + +```Bash +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===' +``` + ### 启动DataNode 节点 进入iotdb的sbin目录下,启动datanode: diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 8f116f1e0..f1d953e3d 100644 --- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -162,7 +162,7 @@ cd sbin - 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; -#### 方式二:激活脚本激活 +#### 方式二:通过 CLI 激活 - 依次获取3台机器的机器码,进入 IoTDB CLI - 表模型 CLI 进入命令: @@ -191,7 +191,7 @@ cd sbin show system info ``` - - 显示如下信息,这里显示的是1台机器的机器码 : + - 显示如下信息(集群3个节点机器的机器码) : ```Bash +--------------------------------------------------------------+ @@ -203,11 +203,11 @@ cd sbin It costs 0.030s ``` -- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员 +- 将获取的3台机器的机器码复制给天谋工作人员 -- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示: +- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - - 注:激活码前后需要用`'`符号进行标注,如所示 + - 注:激活码前后需要用`'`符号进行标注,如下所示 ```Bash 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===' diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 3bef355d8..518563e16 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -162,8 +162,8 @@ cd sbin - 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; -#### 方式二:激活脚本激活 -- 依次获取3台机器的机器码,进入 IoTDB CLI +#### 方式二:通过 CLI 激活 +- 获取3台机器的机器码,进入集群任一节点 CLI - 表模型 CLI 进入命令: @@ -191,7 +191,7 @@ cd sbin show system info ``` - - 显示如下信息,这里显示的是1台机器的机器码 : + - 显示如下信息(集群3个节点机器的机器码) : ```Bash +--------------------------------------------------------------+ @@ -203,11 +203,11 @@ cd sbin It costs 0.030s ``` -- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员 +- 将获取的3台机器的机器码复制给天谋工作人员 -- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示: +- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - - 注:激活码前后需要用`'`符号进行标注,如所示 + - 注:激活码前后需要用`'`符号进行标注,如下所示 ```Bash 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===' From f80c21d76957293e63e0ef229c43c5377f89dbf9 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Fri, 20 Jun 2025 14:05:36 +0800 Subject: [PATCH 2/3] Adjust the order of activation methods --- .../Cluster-Deployment_timecho.md | 26 +++--- .../Stand-Alone-Deployment_timecho.md | 26 +++--- .../Cluster-Deployment_timecho.md | 28 +++---- .../Stand-Alone-Deployment_timecho.md | 28 +++---- .../Cluster-Deployment_timecho.md | 80 ++++++++++--------- .../Stand-Alone-Deployment_timecho.md | 68 ++++++++-------- .../Cluster-Deployment_timecho.md | 78 +++++++++--------- .../Stand-Alone-Deployment_timecho.md | 68 ++++++++-------- .../Cluster-Deployment_timecho.md | 26 +++--- .../Stand-Alone-Deployment_timecho.md | 25 +++--- .../Cluster-Deployment_timecho.md | 28 +++---- .../Stand-Alone-Deployment_timecho.md | 28 +++---- .../Cluster-Deployment_timecho.md | 33 +++----- .../Stand-Alone-Deployment_timecho.md | 24 +++--- .../Cluster-Deployment_timecho.md | 33 +++----- .../Stand-Alone-Deployment_timecho.md | 26 +++--- .../Cluster-Deployment_timecho.md | 78 +++++++++--------- .../Stand-Alone-Deployment_timecho.md | 69 ++++++++-------- .../Cluster-Deployment_timecho.md | 79 +++++++++--------- .../Stand-Alone-Deployment_timecho.md | 67 ++++++++-------- .../Cluster-Deployment_timecho.md | 33 +++----- .../Stand-Alone-Deployment_timecho.md | 24 +++--- .../Cluster-Deployment_timecho.md | 33 +++----- .../Stand-Alone-Deployment_timecho.md | 24 +++--- 24 files changed, 467 insertions(+), 565 deletions(-) diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index a1816408e..0a7f3d3df 100644 --- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -159,13 +159,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: ### 3.6 Activate the Database -#### Option 1: File-Based Activation - -1. Start all ConfigNodes and DataNodes. -2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. -3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI on any node of the cluster: - **For Table Model**: @@ -177,14 +171,6 @@ On each server, navigate to the `sbin` directory and start the DataNode: ./start-cli.bat -sql_dialect table ``` - - **For Tree Model**: - ```SQL - # For Linux or macOS - ./start-cli.sh - - # For Windows - ./start-cli.bat - ``` 2. Run the following command to retrieve the machine code required for activation: ```Bash @@ -192,7 +178,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: ``` -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: +3. Copy the returned machine codes of all nodes in the cluster (displayed as a green string) and send it to the Timecho team: ```Bash +--------------------------------------------------------------+ @@ -210,6 +196,14 @@ It costs 0.030s 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===' ``` + +#### Option 2: File-Based Activation + +1. Start all ConfigNodes and DataNodes. +2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. +3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 3.7 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 79c1d802f..8ff019137 100644 --- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -126,14 +126,7 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode: ### 2.5 Activate the Database -#### Option 1: File-Based Activation - -- Start both the ConfigNode and DataNode. -- Navigate to the `activation` folder and copy the `system_info` file. -- Send the `system_info` file to the Timecho team. -- Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI. - **For Table Model**: @@ -145,14 +138,6 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode: ./start-cli.bat -sql_dialect table ``` - - **For Tree Model**: - - ```SQL - # For Linux or macOS - ./start-cli.sh - - # For Windows - ./start-cli.bat - ``` 2. Run the following command to retrieve the machine code required for activation: ```Bash @@ -177,6 +162,15 @@ It costs 0.030s 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===' ``` + +#### Option 2: File-Based Activation + +- Start both the ConfigNode and DataNode. +- Navigate to the `activation` folder and copy the `system_info` file. +- Send the `system_info` file to the Timecho team. +- Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 2.6 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 59a23566e..22d8da6ae 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -161,26 +161,10 @@ cd sbin ### 3.6 Activate Database -#### Option 1: File-Based Activation - -1. Start all ConfigNodes and DataNodes. -2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. -3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI on any node of the cluster: -- **For Table Model**: - - ```SQL - # For Linux or macOS - ./start-cli.sh -sql_dialect table - - # For Windows - ./start-cli.bat -sql_dialect table - ``` - - **For Tree Model**: ```SQL @@ -197,7 +181,7 @@ cd sbin show system info ``` -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: +3. Copy the returned machine codes of all nodes in the cluster (displayed as a green string) and send it to the Timecho team: ```Bash +--------------------------------------------------------------+ @@ -215,6 +199,14 @@ cd sbin 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===' ``` + +#### Option 2: File-Based Activation + +1. Start all ConfigNodes and DataNodes. +2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. +3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 3.7 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 6c454ce56..a6f8e683a 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -124,27 +124,10 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode: ### 2.5 Activate Database -#### Option 1: File-Based Activation - -1. Start both the ConfigNode and DataNode. -2. Navigate to the `activation` folder and copy the `system_info` file. -3. Send the `system_info` file to the Timecho team. -4. Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI. -- **For Table Model**: - -```SQL -# For Linux or macOS -./start-cli.sh -sql_dialect table - -# For Windows -./start-cli.bat -sql_dialect table -``` - - **For Tree Model**: ```SQL @@ -179,6 +162,15 @@ It costs 0.030s 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===' ``` + +#### Option 2: File-Based Activation + +1. Start both the ConfigNode and DataNode. +2. Navigate to the `activation` folder and copy the `system_info` file. +3. Send the `system_info` file to the Timecho team. +4. Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 2.6 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 2a5652254..6d20bc174 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -147,41 +147,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). ### Activate Database -#### Method 1: Activate file copy activation - -- After starting three confignode nodes in sequence, copy the `activation` folder of each machine and the `system_info` file of each machine to the Timecho staff; -- The staff will return the license files for each ConfigNode node, where 3 license files will be returned; -- Put the three license files into the `activation` folder of the corresponding ConfigNode node; - -#### Method 2: Activate Script Activation - -- Obtain the machine codes of three machines in sequence, enter the `sbin` directory of the installation directory, and execute the activation script `start activate.sh`: - - ```Bash - cd sbin - ./start-activate.sh - ``` - -- The following information is displayed, where the machine code of one machine is displayed: - - ```Bash - Please copy the system_info's content and send it to Timecho: - 01-KU5LDFFN-PNBEHDRH - Please enter license: - ``` - -- The other two nodes execute the activation script `start activate.sh` in sequence, and then copy the machine codes of the three machines obtained to the Timecho staff -- The staff will return 3 activation codes, which normally correspond to the order of the provided 3 machine codes. Please paste each activation code into the previous command line prompt `Please enter license:`, as shown below: - - ```Bash - Please enter license: - Jw+MmF+Atxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== - License has been stored to sbin/../activation/license - Import completed. Please start cluster and excute 'show cluster' to verify activation status - ``` - - -#### Method 3: Activation via CLI (Version 1.3.4) +#### Method 1: Activation via CLI (Version 1.3.4) - First start the Datanode nodes, then enter the CLI of any node in the cluster @@ -190,7 +156,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). ./sbin/start-cli.sh ``` -- Obtain the machine codes of all 3 machines: +- Obtain the machine codes of all nodes: - Execute the following command to get the machine codes required for activation: @@ -198,7 +164,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). show system info ``` - - The following information will be displayed (machine codes of all 3 nodes in the cluster): + - The machine codes of all nodes in the cluster will be displayed: ```Bash +--------------------------------------------------------------+ @@ -210,9 +176,9 @@ If the startup fails, please refer to [Common Questions](#common-questions). It costs 0.030s ``` -- Copy the obtained machine codes from all 3 machines and provide them to the Timecho team +- Copy the obtained machine codes and provide them to the Timecho team -- 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 +- The Timecho team will return an activation code, which normally corresponds to the order of the provided machine codes. Paste the complete activation code into the CLI for activation - Note: The activation code must be enclosed in ' symbols, as shown below: @@ -221,6 +187,42 @@ If the startup fails, please refer to [Common Questions](#common-questions). ``` +#### Method 2: Activate file copy activation + +- After starting three confignode nodes in sequence, copy the `activation` folder of each machine and the `system_info` file of each machine to the Timecho staff; +- The staff will return the license files for each ConfigNode node, where 3 license files will be returned; +- Put the three license files into the `activation` folder of the corresponding ConfigNode node; + +#### Method 3: Activate Script Activation + +- Obtain the machine codes of three machines in sequence, enter the `sbin` directory of the installation directory, and execute the activation script `start activate.sh`: + + ```Bash + cd sbin + ./start-activate.sh + ``` + +- The following information is displayed, where the machine code of one machine is displayed: + + ```Bash + Please copy the system_info's content and send it to Timecho: + 01-KU5LDFFN-PNBEHDRH + Please enter license: + ``` + +- The other two nodes execute the activation script `start activate.sh` in sequence, and then copy the machine codes of the three machines obtained to the Timecho staff +- The staff will return 3 activation codes, which normally correspond to the order of the provided 3 machine codes. Please paste each activation code into the previous command line prompt `Please enter license:`, as shown below: + + ```Bash + Please enter license: + Jw+MmF+Atxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== + License has been stored to sbin/../activation/license + Import completed. Please start cluster and excute 'show cluster' to verify activation status + ``` + + + + ### Start DataNode Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 5abb6453e..c44cfc6f8 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -118,39 +118,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). ### 4、Activate Database -#### Method 1: Activate file copy activation - -- After starting the confignode node, enter the activation folder and copy the systeminfo file to the Timecho staff -- Received the license file returned by the staff -- Place the license file in the activation folder of the corresponding node; - -#### Method 2: Activate Script Activation - -- Obtain the required machine code for activation, enter the sbin directory of the installation directory, and execute the activation script: - -```shell - cd sbin -./start-activate.sh -``` - -- The following information is displayed. Please copy the machine code (i.e. the string of characters) to the Timecho staff: - -```shell -Please copy the system_info's content and send it to Timecho: -01-KU5LDFFN-PNBEHDRH -Please enter license: -``` - -- Enter the activation code returned by the staff into the previous command line prompt 'Please enter license:', as shown below: - -```shell -Please enter license: -JJw+MmF+AtexsfgNGOFgTm83Bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxm6pF+APW1CiXLTSijK9Qh3nsLgzrW8OJPh26Vl6ljKUpCvpTiw== -License has been stored to sbin/../activation/license -Import completed. Please start cluster and excute 'show cluster' to verify activation status -``` - -#### Method 3: Activation via CLI (Version 1.3.4) +#### Method 1: Activation via CLI (Version 1.3.4) - First start the Datanode, then enter the CLI @@ -185,6 +153,40 @@ IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOM ``` +#### Method 2: Activate file copy activation + +- After starting the confignode node, enter the activation folder and copy the systeminfo file to the Timecho staff +- Received the license file returned by the staff +- Place the license file in the activation folder of the corresponding node; + +#### Method 3: Activate Script Activation + +- Obtain the required machine code for activation, enter the sbin directory of the installation directory, and execute the activation script: + +```shell + cd sbin +./start-activate.sh +``` + +- The following information is displayed. Please copy the machine code (i.e. the string of characters) to the Timecho staff: + +```shell +Please copy the system_info's content and send it to Timecho: +01-KU5LDFFN-PNBEHDRH +Please enter license: +``` + +- Enter the activation code returned by the staff into the previous command line prompt 'Please enter license:', as shown below: + +```shell +Please enter license: +JJw+MmF+AtexsfgNGOFgTm83Bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxm6pF+APW1CiXLTSijK9Qh3nsLgzrW8OJPh26Vl6ljKUpCvpTiw== +License has been stored to sbin/../activation/license +Import completed. Please start cluster and excute 'show cluster' to verify activation status +``` + + + ### 5、Start DataNode Enter the sbin directory of iotdb and start datanode: diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index c20b21f41..ca4a048c0 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -147,40 +147,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). ### Activate Database -#### Method 1: Activate file copy activation - -- After starting three confignode nodes in sequence, copy the `activation` folder of each machine and the `system_info` file of each machine to the Timecho staff; -- The staff will return the license files for each ConfigNode node, where 3 license files will be returned; -- Put the three license files into the `activation` folder of the corresponding ConfigNode node; - -#### Method 2: Activate Script Activation - -- Obtain the machine codes of three machines in sequence, enter the `sbin` directory of the installation directory, and execute the activation script `start activate.sh`: - - ```Bash - cd sbin - ./start-activate.sh - ``` - -- The following information is displayed, where the machine code of one machine is displayed: - - ```Bash - Please copy the system_info's content and send it to Timecho: - 01-KU5LDFFN-PNBEHDRH - Please enter license: - ``` - -- The other two nodes execute the activation script `start activate.sh` in sequence, and then copy the machine codes of the three machines obtained to the Timecho staff -- The staff will return 3 activation codes, which normally correspond to the order of the provided 3 machine codes. Please paste each activation code into the previous command line prompt `Please enter license:`, as shown below: - - ```Bash - Please enter license: - Jw+MmF+Atxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== - License has been stored to sbin/../activation/license - Import completed. Please start cluster and excute 'show cluster' to verify activation status - ``` - -#### Method 3: Activation via CLI (Version 1.3.4) +#### Method 1: Activation via CLI (Version 1.3.4) - First start the Datanode nodes, then enter the CLI of any node in the cluster @@ -189,7 +156,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). ./sbin/start-cli.sh ``` -- Obtain the machine codes of all 3 machines: +- Obtain the machine codes of all nodes in the cluster: - Execute the following command to get the machine codes required for activation: @@ -197,7 +164,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). show system info ``` - - The following information will be displayed (machine codes of all 3 nodes in the cluster): + - The machine codes of all nodes in the cluster will be displayed: ```Bash +--------------------------------------------------------------+ @@ -209,9 +176,9 @@ If the startup fails, please refer to [Common Questions](#common-questions). It costs 0.030s ``` -- Copy the obtained machine codes from all 3 machines and provide them to the Timecho team +- Copy the obtained machine codes and provide them to the Timecho team -- 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 +- The Timecho team will return an activation code, which normally corresponds to the order of the provided machine codes. Paste the complete activation code into the CLI for activation - Note: The activation code must be enclosed in ' symbols, as shown below: @@ -220,6 +187,41 @@ If the startup fails, please refer to [Common Questions](#common-questions). ``` +#### Method 2: Activate file copy activation + +- After starting three confignode nodes in sequence, copy the `activation` folder of each machine and the `system_info` file of each machine to the Timecho staff; +- The staff will return the license files for each ConfigNode node, where 3 license files will be returned; +- Put the three license files into the `activation` folder of the corresponding ConfigNode node; + +#### Method 3: Activate Script Activation + +- Obtain the machine codes of three machines in sequence, enter the `sbin` directory of the installation directory, and execute the activation script `start activate.sh`: + + ```Bash + cd sbin + ./start-activate.sh + ``` + +- The following information is displayed, where the machine code of one machine is displayed: + + ```Bash + Please copy the system_info's content and send it to Timecho: + 01-KU5LDFFN-PNBEHDRH + Please enter license: + ``` + +- The other two nodes execute the activation script `start activate.sh` in sequence, and then copy the machine codes of the three machines obtained to the Timecho staff +- The staff will return 3 activation codes, which normally correspond to the order of the provided 3 machine codes. Please paste each activation code into the previous command line prompt `Please enter license:`, as shown below: + + ```Bash + Please enter license: + Jw+MmF+Atxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== + License has been stored to sbin/../activation/license + Import completed. Please start cluster and excute 'show cluster' to verify activation status + ``` + + + ### Start DataNode Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 5abb6453e..c44cfc6f8 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -118,39 +118,7 @@ If the startup fails, please refer to [Common Questions](#common-questions). ### 4、Activate Database -#### Method 1: Activate file copy activation - -- After starting the confignode node, enter the activation folder and copy the systeminfo file to the Timecho staff -- Received the license file returned by the staff -- Place the license file in the activation folder of the corresponding node; - -#### Method 2: Activate Script Activation - -- Obtain the required machine code for activation, enter the sbin directory of the installation directory, and execute the activation script: - -```shell - cd sbin -./start-activate.sh -``` - -- The following information is displayed. Please copy the machine code (i.e. the string of characters) to the Timecho staff: - -```shell -Please copy the system_info's content and send it to Timecho: -01-KU5LDFFN-PNBEHDRH -Please enter license: -``` - -- Enter the activation code returned by the staff into the previous command line prompt 'Please enter license:', as shown below: - -```shell -Please enter license: -JJw+MmF+AtexsfgNGOFgTm83Bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxm6pF+APW1CiXLTSijK9Qh3nsLgzrW8OJPh26Vl6ljKUpCvpTiw== -License has been stored to sbin/../activation/license -Import completed. Please start cluster and excute 'show cluster' to verify activation status -``` - -#### Method 3: Activation via CLI (Version 1.3.4) +#### Method 1: Activation via CLI (Version 1.3.4) - First start the Datanode, then enter the CLI @@ -185,6 +153,40 @@ IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOM ``` +#### Method 2: Activate file copy activation + +- After starting the confignode node, enter the activation folder and copy the systeminfo file to the Timecho staff +- Received the license file returned by the staff +- Place the license file in the activation folder of the corresponding node; + +#### Method 3: Activate Script Activation + +- Obtain the required machine code for activation, enter the sbin directory of the installation directory, and execute the activation script: + +```shell + cd sbin +./start-activate.sh +``` + +- The following information is displayed. Please copy the machine code (i.e. the string of characters) to the Timecho staff: + +```shell +Please copy the system_info's content and send it to Timecho: +01-KU5LDFFN-PNBEHDRH +Please enter license: +``` + +- Enter the activation code returned by the staff into the previous command line prompt 'Please enter license:', as shown below: + +```shell +Please enter license: +JJw+MmF+AtexsfgNGOFgTm83Bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxm6pF+APW1CiXLTSijK9Qh3nsLgzrW8OJPh26Vl6ljKUpCvpTiw== +License has been stored to sbin/../activation/license +Import completed. Please start cluster and excute 'show cluster' to verify activation status +``` + + + ### 5、Start DataNode Enter the sbin directory of iotdb and start datanode: diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 53be4da2a..0dff43d17 100644 --- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -159,13 +159,7 @@ On each server, navigate to the `sbin` directory and start the DataNode: ### 3.6 Activate the Database -#### Option 1: File-Based Activation - -1. Start all ConfigNodes and DataNodes. -2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. -3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI on any node of the cluster: - **For Table Model**: @@ -177,21 +171,13 @@ On each server, navigate to the `sbin` directory and start the DataNode: ./start-cli.bat -sql_dialect table ``` - - **For Tree Model**: - ```SQL - # For Linux or macOS - ./start-cli.sh - - # For Windows - ./start-cli.bat - ``` 2. Run the following command to retrieve the machine code required for activation: ```Bash show system info ``` -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: +3. Copy the returned machine codes of all nodes in the cluster (displayed as a green string) and send it to the Timecho team: ```Bash +--------------------------------------------------------------+ @@ -209,6 +195,14 @@ It costs 0.030s 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===' ``` + +#### Option 2: File-Based Activation + +1. Start all ConfigNodes and DataNodes. +2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. +3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 3.7 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 79c1d802f..1f93341eb 100644 --- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -126,14 +126,7 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode: ### 2.5 Activate the Database -#### Option 1: File-Based Activation - -- Start both the ConfigNode and DataNode. -- Navigate to the `activation` folder and copy the `system_info` file. -- Send the `system_info` file to the Timecho team. -- Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI. - **For Table Model**: @@ -145,14 +138,6 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode: ./start-cli.bat -sql_dialect table ``` - - **For Tree Model**: - - ```SQL - # For Linux or macOS - ./start-cli.sh - - # For Windows - ./start-cli.bat - ``` 2. Run the following command to retrieve the machine code required for activation: ```Bash @@ -177,6 +162,14 @@ It costs 0.030s 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===' ``` +#### Option 2: File-Based Activation + +- Start both the ConfigNode and DataNode. +- Navigate to the `activation` folder and copy the `system_info` file. +- Send the `system_info` file to the Timecho team. +- Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 2.6 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index f07f36315..3e4bfa8d9 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -161,26 +161,10 @@ cd sbin ### 3.6 Activate Database -#### Option 1: File-Based Activation - -1. Start all ConfigNodes and DataNodes. -2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. -3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI on any node of the cluster: -- **For Table Model**: - - ```SQL - # For Linux or macOS - ./start-cli.sh -sql_dialect table - - # For Windows - ./start-cli.bat -sql_dialect table - ``` - - **For Tree Model**: ```SQL @@ -197,7 +181,7 @@ cd sbin show system info ``` -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: +3. Copy the returned machine codes of all nodes in the cluster (displayed as a green string) and send it to the Timecho team: ```Bash +--------------------------------------------------------------+ @@ -215,6 +199,14 @@ cd sbin 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===' ``` + +#### Option 2: File-Based Activation + +1. Start all ConfigNodes and DataNodes. +2. Copy the `system_info` file from the `activation` directory on each server and send them to the Timecho team. +3. Place the license files provided by the Timecho team into the corresponding `activation` folder for each node. + + ### 3.7 Verify Activation Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 6c454ce56..5bbbb64d2 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -124,27 +124,10 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode: ### 2.5 Activate Database -#### Option 1: File-Based Activation - -1. Start both the ConfigNode and DataNode. -2. Navigate to the `activation` folder and copy the `system_info` file. -3. Send the `system_info` file to the Timecho team. -4. Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. - -#### Option 2: Command-Based Activation +#### Option 1: Command-Based Activation 1. Enter the IoTDB CLI. -- **For Table Model**: - -```SQL -# For Linux or macOS -./start-cli.sh -sql_dialect table - -# For Windows -./start-cli.bat -sql_dialect table -``` - - **For Tree Model**: ```SQL @@ -173,6 +156,15 @@ Total line number = 1 It costs 0.030s ``` + +#### Option 2: File-Based Activation + +1. Start both the ConfigNode and DataNode. +2. Navigate to the `activation` folder and copy the `system_info` file. +3. Send the `system_info` file to the Timecho team. +4. Place the license file provided by the Timecho team into the corresponding `activation` folder for each node. + + 4. Enter the activation code provided by the Timecho team in the CLI using the following format. Wrap the activation code in single quotes ('): ```Bash diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 191fd23df..d7f91fe9a 100644 --- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -156,14 +156,9 @@ cd sbin ### 3.5 激活数据库 -#### 方式一:激活文件拷贝激活 +#### 方式一:通过 CLI 激活 -- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; -- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; -- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; - -#### 方式二:通过 CLI 激活 -- 依次获取3台机器的机器码,进入 IoTDB CLI +- 进入集群任一节点 CLI,执行获取机器码的语句 - 表模型 CLI 进入命令: @@ -175,23 +170,13 @@ cd sbin ./start-cli.bat -sql_dialect table ``` - - 树模型 CLI 进入命令: - - ```SQL - # Linux或MACOS系统 - ./start-cli.sh - - # windows系统 - ./start-cli.bat - ``` - - 执行以下内容获取激活所需机器码: ```Bash show system info ``` - - 显示如下信息(集群3个节点机器的机器码) : + - 系统将自动返回集群所有节点的机器码 ```Bash +--------------------------------------------------------------+ @@ -203,9 +188,9 @@ cd sbin It costs 0.030s ``` -- 将获取的3台机器的机器码复制给天谋工作人员 +- 将获取的机器码复制给天谋工作人员 -- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 +- 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - 注:激活码前后需要用`'`符号进行标注,如下所示 @@ -213,6 +198,14 @@ cd sbin 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===' ``` + +#### 方式二:激活文件拷贝激活 + +- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; +- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; +- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; + + ### 3.6 验证激活 当看到“Result”字段状态显示为success表示激活成功 diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 17790acfe..4afc00b5f 100644 --- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -119,14 +119,10 @@ DataNode 配置 ### 2.5 激活数据库 -#### 方式一:文件激活 +#### 方式一:命令激活 -- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 -- 收到工作人员返回的 license文件 -- 将license文件放入对应节点的activation文件夹下; - -#### 方式二:命令激活 - 进入 IoTDB CLI + - 表模型 CLI 进入命令: ```SQL # Linux或MACOS系统 @@ -136,14 +132,6 @@ DataNode 配置 ./start-cli.bat -sql_dialect table ``` - - 树模型 CLI 进入命令: - ```SQL - # Linux或MACOS系统 - ./start-cli.sh - - # windows系统 - ./start-cli.bat - ``` - 执行以下内容获取激活所需机器码: ```Bash @@ -169,6 +157,14 @@ It costs 0.030s 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===' ``` + +#### 方式二:文件激活 + +- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 +- 收到工作人员返回的 license文件 +- 将license文件放入对应节点的activation文件夹下; + + ### 2.6 验证激活 当看到“ClusterActivationStatus”字段状态显示为ACTIVATED表示激活成功 diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 56309a864..7b86f17ea 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -156,24 +156,9 @@ cd sbin ### 3.5 激活数据库 -#### 方式一:激活文件拷贝激活 +#### 方式一:通过 CLI 激活 -- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; -- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; -- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; - -#### 方式二:通过 CLI 激活 -- 依次获取3台机器的机器码,进入 IoTDB CLI - - - 表模型 CLI 进入命令: - - ```SQL - # Linux或MACOS系统 - ./start-cli.sh -sql_dialect table - - # windows系统 - ./start-cli.bat -sql_dialect table - ``` +- 进入集群任一节点 CLI,执行获取机器码的语句 - 树模型 CLI 进入命令: @@ -191,7 +176,7 @@ cd sbin show system info ``` - - 显示如下信息(集群3个节点机器的机器码) : + - 系统将自动返回集群所有节点的机器码 ```Bash +--------------------------------------------------------------+ @@ -203,9 +188,9 @@ cd sbin It costs 0.030s ``` -- 将获取的3台机器的机器码复制给天谋工作人员 +- 将获取的机器码复制给天谋工作人员 -- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 +- 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - 注:激活码前后需要用`'`符号进行标注,如下所示 @@ -213,6 +198,14 @@ cd sbin 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===' ``` + +#### 方式二:激活文件拷贝激活 + +- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; +- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; +- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; + + ### 3.6 验证激活 当看到“Result”字段状态显示为success表示激活成功 diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index cc677aae9..3bbe5f0b8 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -127,23 +127,9 @@ cd iotdb-enterprise-{version}-bin ### 2.5 激活数据库 -#### 方式一:文件激活 - -- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 -- 收到工作人员返回的 license文件 -- 将license文件放入对应节点的activation文件夹下; - -#### 方式二:命令激活 +#### 方式一:命令激活 - 进入 IoTDB CLI - - 表模型 CLI 进入命令: - ```SQL - # Linux或MACOS系统 - ./start-cli.sh -sql_dialect table - - # windows系统 - ./start-cli.bat -sql_dialect table - ``` - + - 树模型 CLI 进入命令: ```SQL # Linux或MACOS系统 @@ -177,6 +163,14 @@ It costs 0.030s 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===' ``` +#### 方式二:文件激活 + +- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 +- 收到工作人员返回的 license文件 +- 将license文件放入对应节点的activation文件夹下; + + + ### 2.6 验证激活 当看到“ClusterActivationStatus”字段状态显示为ACTIVATED表示激活成功 diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index fdbd5a0f6..b3f29000e 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -146,13 +146,49 @@ cd sbin ### 激活数据库 -#### **方式一:激活文件拷贝激活** +#### 方式一:通过 CLI 激活(V1.3.4 版本) + +- 先启动集群所有 Datanode 节点,然后进入集群任一节点 CLI,执行获取机器码的语句 + + ```SQL + -- 启动 DN 节点 + ./sbin/start-datanode.sh + -- 连接CLI + ./sbin/start-cli.sh + -- 获取激活所需机器码 + IoTDB> show system info +``` + +- 系统将自动返回集群所有节点的机器码 + +```Bash ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +It costs 0.030s +``` + +- 将获取的机器码复制给天谋工作人员 + +- 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 + + - 注:激活码前后需要用`'`符号进行标注,如下所示 + + ```Bash + 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===' + ``` + + +#### 方式二:激活文件拷贝激活 - 依次启动3个confignode节点后,每台机器各自的`activation`文件夹, 分别拷贝每台机器的`system_info`文件给天谋工作人员; - 工作人员将返回每个ConfigNode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的`activation`文件夹下; -#### 方式二:激活脚本激活 +#### 方式三:激活脚本激活 - 依次获取3台机器的机器码,分别进入安装目录的`sbin`目录,执行激活脚本`start-activate.sh`: @@ -179,44 +215,6 @@ cd sbin Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` -#### 方式三:通过 CLI 激活(V1.3.4 版本) - -- 先启动 Datanode 节点,然后进入集群任一节点 CLI - - ```SQL - ./sbin/start-datanode.sh - ./sbin/start-cli.sh -``` - -- 获取3台机器的机器码 - - - 执行以下内容获取激活所需机器码: - - ```Bash - show system info - ``` - - - 显示如下信息(集群3个节点机器的机器码) : - - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` - -- 将获取的3台机器的机器码复制给天谋工作人员 - -- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - - - 注:激活码前后需要用`'`符号进行标注,如下所示 - - ```Bash - 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===' - ``` ### 启动DataNode 节点 diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index f42be3d50..3033bd66a 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -118,39 +118,7 @@ cd iotdb-enterprise-{version}-bin ### 激活数据库 -#### 方式一:激活文件拷贝激活 - -- 启动confignode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 -- 收到工作人员返回的 license文件 -- 将license文件放入对应节点的activation文件夹下; - -#### 方式二:激活脚本激活 - -- 获取激活所需机器码,进入安装目录的sbin目录,执行激活脚本: - -```shell - cd sbin -./start-activate.sh -``` - -- 显示如下信息,请将机器码(即该串字符)复制给天谋工作人员: - -```shell -Please copy the system_info's content and send it to Timecho: -01-KU5LDFFN-PNBEHDRH -Please enter license: -``` - -- 将工作人员返回的激活码输入上一步的命令行提示处 `Please enter license:`,如下提示: - -```shell -Please enter license: -Jw+MmF+AtexsfgNGOFgTm83BgXbq0zT1+fOfPvQsLlj6ZsooHFU6HycUSEGC78eT1g67KPvkcLCUIsz2QpbyVmPLr9x1+kVjBubZPYlVpsGYLqLFc8kgpb5vIrPLd3hGLbJ5Ks8fV1WOVrDDVQq89YF2atQa2EaB9EAeTWd0bRMZ+s9ffjc/1Zmh9NSP/T3VCfJcJQyi7YpXWy5nMtcW0gSV+S6fS5r7a96PjbtE0zXNjnEhqgRzdU+mfO8gVuUNaIy9l375cp1GLpeCh6m6pF+APW1CiXLTSijK9Qh3nsL5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== -License has been stored to sbin/../activation/license -Import completed. Please start cluster and excute 'show cluster' to verify activation status -``` - -#### 方式三:通过 CLI 激活(V1.3.4 版本) +#### 方式一:通过 CLI 激活(V1.3.4 版本) - 先启动 Datanode 节点,然后进入 CLI @@ -185,6 +153,40 @@ IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOM ``` +#### 方式二:激活文件拷贝激活 + +- 启动confignode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 +- 收到工作人员返回的 license文件 +- 将license文件放入对应节点的activation文件夹下; + +#### 方式三:激活脚本激活 + +- 获取激活所需机器码,进入安装目录的sbin目录,执行激活脚本: + +```shell + cd sbin +./start-activate.sh +``` + +- 显示如下信息,请将机器码(即该串字符)复制给天谋工作人员: + +```shell +Please copy the system_info's content and send it to Timecho: +01-KU5LDFFN-PNBEHDRH +Please enter license: +``` + +- 将工作人员返回的激活码输入上一步的命令行提示处 `Please enter license:`,如下提示: + +```shell +Please enter license: +Jw+MmF+AtexsfgNGOFgTm83BgXbq0zT1+fOfPvQsLlj6ZsooHFU6HycUSEGC78eT1g67KPvkcLCUIsz2QpbyVmPLr9x1+kVjBubZPYlVpsGYLqLFc8kgpb5vIrPLd3hGLbJ5Ks8fV1WOVrDDVQq89YF2atQa2EaB9EAeTWd0bRMZ+s9ffjc/1Zmh9NSP/T3VCfJcJQyi7YpXWy5nMtcW0gSV+S6fS5r7a96PjbtE0zXNjnEhqgRzdU+mfO8gVuUNaIy9l375cp1GLpeCh6m6pF+APW1CiXLTSijK9Qh3nsL5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== +License has been stored to sbin/../activation/license +Import completed. Please start cluster and excute 'show cluster' to verify activation status +``` + + + ### 启动DataNode 节点 进入iotdb的sbin目录下,启动datanode: @@ -194,6 +196,7 @@ cd sbin ./start-datanode.sh -d #-d参数将在后台进行启动 ``` + ### 验证部署 可直接执行 ./sbin 目录下的 Cli 启动脚本: diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 7c12ffd82..66be811fb 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -146,13 +146,49 @@ cd sbin ### 激活数据库 -#### **方式一:激活文件拷贝激活** +#### 方式一:通过 CLI 激活(V1.3.4 版本) + +- 先启动集群所有 Datanode 节点,然后进入集群任一节点 CLI,执行获取机器码的语句 + + ```SQL + -- 启动 DN 节点 + ./sbin/start-datanode.sh + -- 连接CLI + ./sbin/start-cli.sh + -- 获取激活所需机器码 + IoTDB> show system info +``` + +- 系统将自动返回集群所有节点的机器码 + +```Bash ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +It costs 0.030s +``` + +- 将获取的机器码复制给天谋工作人员 + +- 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 + + - 注:激活码前后需要用`'`符号进行标注,如下所示 + + ```Bash + 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===' + ``` + + +#### 方式二:激活文件拷贝激活 - 依次启动3个confignode节点后,每台机器各自的`activation`文件夹, 分别拷贝每台机器的`system_info`文件给天谋工作人员; - 工作人员将返回每个ConfigNode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的`activation`文件夹下; -#### 方式二:激活脚本激活 +#### 方式三:激活脚本激活 - 依次获取3台机器的机器码,分别进入安装目录的`sbin`目录,执行激活脚本`start-activate.sh`: @@ -179,45 +215,6 @@ cd sbin Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` -#### 方式三:通过 CLI 激活(V1.3.4 版本) - -- 先启动 Datanode 节点,然后进入集群任一节点 CLI - - ```SQL - ./sbin/start-datanode.sh - ./sbin/start-cli.sh -``` - -- 获取3台机器的机器码 - - - 执行以下内容获取激活所需机器码: - - ```Bash - show system info - ``` - - - 显示如下信息(集群3个节点机器的机器码) : - - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` - -- 将获取的3台机器的机器码复制给天谋工作人员 - -- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - - - 注:激活码前后需要用`'`符号进行标注,如下所示 - - ```Bash - 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===' - ``` - ### 启动DataNode 节点 diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index ac20dd212..45ec936f6 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -118,39 +118,7 @@ cd iotdb-enterprise-{version}-bin ### 激活数据库 -#### 方式一:激活文件拷贝激活 - -- 启动confignode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 -- 收到工作人员返回的 license文件 -- 将license文件放入对应节点的activation文件夹下; - -#### 方式二:激活脚本激活 - -- 获取激活所需机器码,进入安装目录的sbin目录,执行激活脚本: - -```shell - cd sbin -./start-activate.sh -``` - -- 显示如下信息,请将机器码(即该串字符)复制给天谋工作人员: - -```shell -Please copy the system_info's content and send it to Timecho: -01-KU5LDFFN-PNBEHDRH -Please enter license: -``` - -- 将工作人员返回的激活码输入上一步的命令行提示处 `Please enter license:`,如下提示: - -```shell -Please enter license: -Jw+MmF+AtexsfgNGOFgTm83BgXbq0zT1+fOfPvQsLlj6ZsooHFU6HycUSEGC78eT1g67KPvkcLCUIsz2QpbyVmPLr9x1+kVjBubZPYlVpsGYLqLFc8kgpb5vIrPLd3hGLbJ5Ks8fV1WOVrDDVQq89YF2atQa2EaB9EAeTWd0bRMZ+s9ffjc/1Zmh9NSP/T3VCfJcJQyi7YpXWy5nMtcW0gSV+S6fS5r7a96PjbtE0zXNjnEhqgRzdU+mfO8gVuUNaIy9l375cp1GLpeCh6m6pF+APW1CiXLTSijK9Qh3nsL5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== -License has been stored to sbin/../activation/license -Import completed. Please start cluster and excute 'show cluster' to verify activation status -``` - -#### 方式三:通过 CLI 激活(V1.3.4 版本) +#### 方式一:通过 CLI 激活(V1.3.4 版本) - 先启动 Datanode 节点,然后进入 CLI @@ -184,6 +152,39 @@ It costs 0.030s 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===' ``` +#### 方式二:激活文件拷贝激活 + +- 启动confignode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 +- 收到工作人员返回的 license文件 +- 将license文件放入对应节点的activation文件夹下; + +#### 方式三:激活脚本激活 + +- 获取激活所需机器码,进入安装目录的sbin目录,执行激活脚本: + +```shell + cd sbin +./start-activate.sh +``` + +- 显示如下信息,请将机器码(即该串字符)复制给天谋工作人员: + +```shell +Please copy the system_info's content and send it to Timecho: +01-KU5LDFFN-PNBEHDRH +Please enter license: +``` + +- 将工作人员返回的激活码输入上一步的命令行提示处 `Please enter license:`,如下提示: + +```shell +Please enter license: +Jw+MmF+AtexsfgNGOFgTm83BgXbq0zT1+fOfPvQsLlj6ZsooHFU6HycUSEGC78eT1g67KPvkcLCUIsz2QpbyVmPLr9x1+kVjBubZPYlVpsGYLqLFc8kgpb5vIrPLd3hGLbJ5Ks8fV1WOVrDDVQq89YF2atQa2EaB9EAeTWd0bRMZ+s9ffjc/1Zmh9NSP/T3VCfJcJQyi7YpXWy5nMtcW0gSV+S6fS5r7a96PjbtE0zXNjnEhqgRzdU+mfO8gVuUNaIy9l375cp1GLpeCh6m6pF+APW1CiXLTSijK9Qh3nsL5bAOXNeob5l+HO5fEMgzrW8OJPh26Vl6ljKUpCvpTiw== +License has been stored to sbin/../activation/license +Import completed. Please start cluster and excute 'show cluster' to verify activation status +``` + + ### 启动DataNode 节点 进入iotdb的sbin目录下,启动datanode: diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index f1d953e3d..3ac4e5d7e 100644 --- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -156,14 +156,9 @@ cd sbin ### 3.5 激活数据库 -#### 方式一:激活文件拷贝激活 +#### 方式一:通过 CLI 激活 -- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; -- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; -- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; - -#### 方式二:通过 CLI 激活 -- 依次获取3台机器的机器码,进入 IoTDB CLI +- 进入集群任一节点 CLI,执行获取机器码的语句 - 表模型 CLI 进入命令: @@ -175,23 +170,13 @@ cd sbin ./start-cli.bat -sql_dialect table ``` - - 树模型 CLI 进入命令: - - ```SQL - # Linux或MACOS系统 - ./start-cli.sh - - # windows系统 - ./start-cli.bat - ``` - - 执行以下内容获取激活所需机器码: ```Bash show system info ``` - - 显示如下信息(集群3个节点机器的机器码) : + - 系统将自动返回集群所有节点的机器码 ```Bash +--------------------------------------------------------------+ @@ -203,9 +188,9 @@ cd sbin It costs 0.030s ``` -- 将获取的3台机器的机器码复制给天谋工作人员 +- 将获取的机器码复制给天谋工作人员 -- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 +- 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - 注:激活码前后需要用`'`符号进行标注,如下所示 @@ -213,6 +198,14 @@ cd sbin 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===' ``` + +#### 方式二:激活文件拷贝激活 + +- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; +- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; +- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; + + ### 3.6 验证激活 当看到“Result”字段状态显示为success表示激活成功 diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 55813c0cd..c6cd48083 100644 --- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -119,14 +119,10 @@ DataNode 配置 ### 2.5 激活数据库 -#### 方式一:文件激活 +#### 方式一:命令激活 -- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 -- 收到工作人员返回的 license文件 -- 将license文件放入对应节点的activation文件夹下; - -#### 方式二:命令激活 - 进入 IoTDB CLI + - 表模型 CLI 进入命令: ```SQL # Linux或MACOS系统 @@ -136,14 +132,6 @@ DataNode 配置 ./start-cli.bat -sql_dialect table ``` - - 树模型 CLI 进入命令: - ```SQL - # Linux或MACOS系统 - ./start-cli.sh - - # windows系统 - ./start-cli.bat - ``` - 执行以下内容获取激活所需机器码: ```Bash @@ -169,6 +157,14 @@ It costs 0.030s 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===' ``` + +#### 方式二:文件激活 + +- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 +- 收到工作人员返回的 license文件 +- 将license文件放入对应节点的activation文件夹下; + + ### 2.6 验证激活 当看到“ClusterActivationStatus”字段状态显示为ACTIVATED表示激活成功 diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 518563e16..07b9c2f5f 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -156,24 +156,9 @@ cd sbin ### 3.5 激活数据库 -#### 方式一:激活文件拷贝激活 +#### 方式一:通过 CLI 激活 -- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; -- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; -- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; - -#### 方式二:通过 CLI 激活 -- 获取3台机器的机器码,进入集群任一节点 CLI - - - 表模型 CLI 进入命令: - - ```SQL - # Linux或MACOS系统 - ./start-cli.sh -sql_dialect table - - # windows系统 - ./start-cli.bat -sql_dialect table - ``` +- 进入集群任一节点 CLI,执行获取机器码的语句 - 树模型 CLI 进入命令: @@ -191,7 +176,7 @@ cd sbin show system info ``` - - 显示如下信息(集群3个节点机器的机器码) : + - 系统将自动返回集群所有节点的机器码 ```Bash +--------------------------------------------------------------+ @@ -203,9 +188,9 @@ cd sbin It costs 0.030s ``` -- 将获取的3台机器的机器码复制给天谋工作人员 +- 将获取的机器码复制给天谋工作人员 -- 工作人员会返回激活码,正常是与提供的3个机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 +- 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活 - 注:激活码前后需要用`'`符号进行标注,如下所示 @@ -213,6 +198,14 @@ cd sbin 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===' ``` + +#### 方式二:激活文件拷贝激活 + +- 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; +- 工作人员将返回每个ConfigNode、Datanode节点的license文件,这里会返回3个license文件; +- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下; + + ### 3.6 验证激活 当看到“Result”字段状态显示为success表示激活成功 diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index cc677aae9..5cd257068 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -127,22 +127,8 @@ cd iotdb-enterprise-{version}-bin ### 2.5 激活数据库 -#### 方式一:文件激活 - -- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 -- 收到工作人员返回的 license文件 -- 将license文件放入对应节点的activation文件夹下; - -#### 方式二:命令激活 +#### 方式一:命令激活 - 进入 IoTDB CLI - - 表模型 CLI 进入命令: - ```SQL - # Linux或MACOS系统 - ./start-cli.sh -sql_dialect table - - # windows系统 - ./start-cli.bat -sql_dialect table - ``` - 树模型 CLI 进入命令: ```SQL @@ -177,6 +163,14 @@ It costs 0.030s 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===' ``` + +#### 方式二:文件激活 + +- 启动Confignode、Datanode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 +- 收到工作人员返回的 license文件 +- 将license文件放入对应节点的activation文件夹下; + + ### 2.6 验证激活 当看到“ClusterActivationStatus”字段状态显示为ACTIVATED表示激活成功 From 319d53c18c87afe879c119e543b8c9d99cc161cc Mon Sep 17 00:00:00 2001 From: Leto_b Date: Wed, 23 Jul 2025 12:30:53 +0800 Subject: [PATCH 3/3] adjust activate database of 1.3.x --- .../Cluster-Deployment_timecho.md | 42 ++++++++---- .../Stand-Alone-Deployment_timecho.md | 44 ++++++++---- .../Cluster-Deployment_timecho.md | 68 +++++++++++++------ .../Stand-Alone-Deployment_timecho.md | 44 ++++++++---- .../Cluster-Deployment_timecho.md | 45 ++++++++---- .../Stand-Alone-Deployment_timecho.md | 39 ++++++++--- .../Cluster-Deployment_timecho.md | 68 +++++++++++++------ .../Stand-Alone-Deployment_timecho.md | 40 ++++++++--- 8 files changed, 275 insertions(+), 115 deletions(-) diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 6d20bc174..f4bb4de06 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -133,26 +133,33 @@ Open DataNode Configuration File `./conf/iotdb-system.properties`,Set the follow > ❗️Attention: Editors such as VSCode Remote do not have automatic configuration saving function. Please ensure that the modified files are saved persistently, otherwise the configuration items will not take effect -### Start ConfigNode +### Start and Activate Database (Available since V1.3.4) + +#### Start ConfigNode Start the first confignode of IoTDB-1 first, ensuring that the seed confignode node starts first, and then start the second and third confignode nodes in sequence ```Bash -cd sbin ./start-confignode.sh -d #"- d" parameter will start in the background ``` If the startup fails, please refer to [Common Questions](#common-questions). +#### Start DataNode + +Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: + +```Bash +./start-datanode.sh -d #"- d" parameter will start in the background +``` -### Activate Database +#### Activate Database -#### Method 1: Activation via CLI (Version 1.3.4) +##### Activation via CLI -- First start the Datanode nodes, then enter the CLI of any node in the cluster +- Enter the CLI of any node in the cluster ```SQL - ./sbin/start-datanode.sh ./sbin/start-cli.sh ``` @@ -186,14 +193,27 @@ If the startup fails, please refer to [Common Questions](#common-questions). 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===' ``` +### Start and Activate Database (Available before V1.3.4) + +#### Start ConfigNode -#### Method 2: Activate file copy activation +Start the first confignode of IoTDB-1 first, ensuring that the seed confignode node starts first, and then start the second and third confignode nodes in sequence + +```Bash +./start-confignode.sh -d #"- d" parameter will start in the background +``` + +If the startup fails, please refer to [Common Questions](#common-questions). + +#### Activate Database + +##### Method 1: Activate file copy activation - After starting three confignode nodes in sequence, copy the `activation` folder of each machine and the `system_info` file of each machine to the Timecho staff; - The staff will return the license files for each ConfigNode node, where 3 license files will be returned; - Put the three license files into the `activation` folder of the corresponding ConfigNode node; -#### Method 3: Activate Script Activation +##### Method 2: Activate Script Activation - Obtain the machine codes of three machines in sequence, enter the `sbin` directory of the installation directory, and execute the activation script `start activate.sh`: @@ -220,15 +240,11 @@ If the startup fails, please refer to [Common Questions](#common-questions). Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - - -### Start DataNode +#### Start DataNode Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: ```Bash -cd sbin ./start-datanode.sh -d #"- d" parameter will start in the background ``` diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index c44cfc6f8..68fd26ec2 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -107,7 +107,9 @@ Open the DataNode configuration file (./conf/iotdb-system. properties file) and > ❗️Attention: Editors such as VSCode Remote do not have automatic configuration saving function. Please ensure that the modified files are saved persistently, otherwise the configuration items will not take effect -### 3、Start ConfigNode +### 3. Start and Activate Database (Available since V1.3.4) + +#### 3.1 Start ConfigNode Enter the sbin directory of iotdb and start confignode @@ -116,14 +118,21 @@ Enter the sbin directory of iotdb and start confignode ``` If the startup fails, please refer to [Common Questions](#common-questions). -### 4、Activate Database +#### 3.2 Start DataNode + +Enter the sbin directory of iotdb and start datanode: + +```shell +./start-datanode.sh -d # The "- d" parameter will start in the background +``` + +#### 3.3 Activate Database -#### Method 1: Activation via CLI (Version 1.3.4) +##### Activation via CLI -- First start the Datanode, then enter the CLI +- Enter the CLI - ```SQL - ./sbin/start-datanode.sh + ```SQL ./sbin/start-cli.sh ``` @@ -152,14 +161,26 @@ It costs 0.030s 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===' ``` +### 4. Start and Activate Database (Available before V1.3.4) -#### Method 2: Activate file copy activation +#### 4.1 Start ConfigNode + +Enter the sbin directory of iotdb and start confignode + +```shell +./start-confignode.sh -d #The "- d" parameter will start in the background +``` +If the startup fails, please refer to [Common Questions](#common-questions). + +#### 4.2 Activate Database + +##### Method 1: Activate file copy activation - After starting the confignode node, enter the activation folder and copy the systeminfo file to the Timecho staff - Received the license file returned by the staff - Place the license file in the activation folder of the corresponding node; -#### Method 3: Activate Script Activation +##### Method 2: Activate Script Activation - Obtain the required machine code for activation, enter the sbin directory of the installation directory, and execute the activation script: @@ -185,18 +206,15 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - -### 5、Start DataNode +#### 4.3 Start DataNode Enter the sbin directory of iotdb and start datanode: ```shell -cd sbin ./start-datanode.sh -d # The "- d" parameter will start in the background ``` -### 6、Verify Deployment +### 5、Verify Deployment Can be executed directly/ Cli startup script in sbin directory: diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index ca4a048c0..f4bb4de06 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -133,30 +133,37 @@ Open DataNode Configuration File `./conf/iotdb-system.properties`,Set the follow > ❗️Attention: Editors such as VSCode Remote do not have automatic configuration saving function. Please ensure that the modified files are saved persistently, otherwise the configuration items will not take effect -### Start ConfigNode +### Start and Activate Database (Available since V1.3.4) + +#### Start ConfigNode Start the first confignode of IoTDB-1 first, ensuring that the seed confignode node starts first, and then start the second and third confignode nodes in sequence ```Bash -cd sbin ./start-confignode.sh -d #"- d" parameter will start in the background ``` If the startup fails, please refer to [Common Questions](#common-questions). +#### Start DataNode -### Activate Database +Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: -#### Method 1: Activation via CLI (Version 1.3.4) +```Bash +./start-datanode.sh -d #"- d" parameter will start in the background +``` -- First start the Datanode nodes, then enter the CLI of any node in the cluster +#### Activate Database + +##### Activation via CLI + +- Enter the CLI of any node in the cluster ```SQL - ./sbin/start-datanode.sh ./sbin/start-cli.sh ``` -- Obtain the machine codes of all nodes in the cluster: +- Obtain the machine codes of all nodes: - Execute the following command to get the machine codes required for activation: @@ -186,14 +193,27 @@ If the startup fails, please refer to [Common Questions](#common-questions). 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===' ``` +### Start and Activate Database (Available before V1.3.4) + +#### Start ConfigNode -#### Method 2: Activate file copy activation +Start the first confignode of IoTDB-1 first, ensuring that the seed confignode node starts first, and then start the second and third confignode nodes in sequence + +```Bash +./start-confignode.sh -d #"- d" parameter will start in the background +``` + +If the startup fails, please refer to [Common Questions](#common-questions). + +#### Activate Database + +##### Method 1: Activate file copy activation - After starting three confignode nodes in sequence, copy the `activation` folder of each machine and the `system_info` file of each machine to the Timecho staff; - The staff will return the license files for each ConfigNode node, where 3 license files will be returned; - Put the three license files into the `activation` folder of the corresponding ConfigNode node; -#### Method 3: Activate Script Activation +##### Method 2: Activate Script Activation - Obtain the machine codes of three machines in sequence, enter the `sbin` directory of the installation directory, and execute the activation script `start activate.sh`: @@ -220,14 +240,11 @@ If the startup fails, please refer to [Common Questions](#common-questions). Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - -### Start DataNode +#### Start DataNode Enter the `sbin` directory of iotdb and start three datanode nodes in sequence: ```Bash -cd sbin ./start-datanode.sh -d #"- d" parameter will start in the background ``` @@ -251,6 +268,7 @@ When you see the display of `Activated` on the far right, it indicates successfu > The appearance of `ACTIVATED (W)` indicates passive activation, which means that this Configurable Node does not have a license file (or has not issued the latest license file with a timestamp), and its activation depends on other Activated Configurable Nodes in the cluster. At this point, it is recommended to check if the license file has been placed in the license folder. If not, please place the license file. If a license file already exists, it may be due to inconsistency between the license file of this node and the information of other nodes. Please contact Timecho staff to reapply. + ### One-click Cluster Start and Stop #### Overview @@ -322,6 +340,9 @@ This following section will introduce the specific configuration items in the `i | Effective | After restarting the system | + + + ## Node Maintenance Steps ### ConfigNode Node Maintenance @@ -363,7 +384,7 @@ Parameter introduction: #### Removing ConfigNode Nodes -First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: +First connect to the cluster through the CLI and confirm the internal address and port number of the ConfigNode you want to remove by using `show confignodes`: ```Bash IoTDB> show confignodes @@ -378,10 +399,15 @@ Total line number = 3 It costs 0.030s ``` -Then use the SQL to remove the ConfigNode. SQL command: +Then use the script to remove the ConfigNode. Script command: ```Bash -remove confignode [confignode_id] +# Linux / MacOS +sbin/remove-confignode.sh [confignode_id] + +#Windows +sbin/remove-confignode.bat [confignode_id] + ``` ### DataNode Node Maintenance @@ -427,7 +453,7 @@ Note: After adding a DataNode, as new writes arrive (and old data expires, if TT #### Removing DataNode Nodes -First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: +First connect to the cluster through the CLI and confirm the RPC address and port number of the DataNode you want to remove with `show datanodes`: ```Bash IoTDB> show datanodes @@ -442,10 +468,14 @@ Total line number = 3 It costs 0.110s ``` -Then use the SQL to remove the DataNode. SQL command: +Then use the script to remove the DataNode. Script command: ```Bash -remove datanode [datanode_id] +# Linux / MacOS +sbin/remove-datanode.sh [datanode_id] + +#Windows +sbin/remove-datanode.bat [datanode_id] ``` ## Common Questions diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index c44cfc6f8..68fd26ec2 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -107,7 +107,9 @@ Open the DataNode configuration file (./conf/iotdb-system. properties file) and > ❗️Attention: Editors such as VSCode Remote do not have automatic configuration saving function. Please ensure that the modified files are saved persistently, otherwise the configuration items will not take effect -### 3、Start ConfigNode +### 3. Start and Activate Database (Available since V1.3.4) + +#### 3.1 Start ConfigNode Enter the sbin directory of iotdb and start confignode @@ -116,14 +118,21 @@ Enter the sbin directory of iotdb and start confignode ``` If the startup fails, please refer to [Common Questions](#common-questions). -### 4、Activate Database +#### 3.2 Start DataNode + +Enter the sbin directory of iotdb and start datanode: + +```shell +./start-datanode.sh -d # The "- d" parameter will start in the background +``` + +#### 3.3 Activate Database -#### Method 1: Activation via CLI (Version 1.3.4) +##### Activation via CLI -- First start the Datanode, then enter the CLI +- Enter the CLI - ```SQL - ./sbin/start-datanode.sh + ```SQL ./sbin/start-cli.sh ``` @@ -152,14 +161,26 @@ It costs 0.030s 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===' ``` +### 4. Start and Activate Database (Available before V1.3.4) -#### Method 2: Activate file copy activation +#### 4.1 Start ConfigNode + +Enter the sbin directory of iotdb and start confignode + +```shell +./start-confignode.sh -d #The "- d" parameter will start in the background +``` +If the startup fails, please refer to [Common Questions](#common-questions). + +#### 4.2 Activate Database + +##### Method 1: Activate file copy activation - After starting the confignode node, enter the activation folder and copy the systeminfo file to the Timecho staff - Received the license file returned by the staff - Place the license file in the activation folder of the corresponding node; -#### Method 3: Activate Script Activation +##### Method 2: Activate Script Activation - Obtain the required machine code for activation, enter the sbin directory of the installation directory, and execute the activation script: @@ -185,18 +206,15 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - -### 5、Start DataNode +#### 4.3 Start DataNode Enter the sbin directory of iotdb and start datanode: ```shell -cd sbin ./start-datanode.sh -d # The "- d" parameter will start in the background ``` -### 6、Verify Deployment +### 5、Verify Deployment Can be executed directly/ Cli startup script in sbin directory: diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index b3f29000e..5de091257 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -134,25 +134,32 @@ cd iotdb-enterprise-{version}-bin > ❗️注意:VSCode Remote等编辑器无自动保存配置功能,请确保修改的文件被持久化保存,否则配置项无法生效 -### 启动ConfigNode节点 +### 启动及激活数据库 (V 1.3.4 及以后的 1.x 版本) + +#### 启动 ConfigNode 节点 先启动第一个iotdb-1的confignode, 保证种子confignode节点先启动,然后依次启动第2和第3个confignode节点 ```Bash -cd sbin ./start-confignode.sh -d #“-d”参数将在后台进行启动 ``` 如果启动失败,请参考[常见问题](#常见问题)。 -### 激活数据库 +#### 启动 DataNode 节点 + +分别进入iotdb的`sbin`目录下,依次启动3个datanode节点: + +```Bash +./start-datanode.sh -d #-d参数将在后台进行启动 +``` + +#### 激活数据库 -#### 方式一:通过 CLI 激活(V1.3.4 版本) +##### 通过 CLI 激活 -- 先启动集群所有 Datanode 节点,然后进入集群任一节点 CLI,执行获取机器码的语句 +- 进入集群任一节点 CLI,执行获取机器码的语句 ```SQL - -- 启动 DN 节点 - ./sbin/start-datanode.sh -- 连接CLI ./sbin/start-cli.sh -- 获取激活所需机器码 @@ -181,19 +188,30 @@ It costs 0.030s 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===' ``` +### 启动及激活数据库 (V 1.3.4 之前版本) -#### 方式二:激活文件拷贝激活 +#### 启动 ConfigNode 节点 + +先启动第一个iotdb-1的confignode, 保证种子confignode节点先启动,然后依次启动第2和第3个confignode节点 + +```Bash +./start-confignode.sh -d #“-d”参数将在后台进行启动 +``` +如果启动失败,请参考[常见问题](#常见问题)。 + +#### 激活数据库 + +##### 方式一:激活文件拷贝激活 - 依次启动3个confignode节点后,每台机器各自的`activation`文件夹, 分别拷贝每台机器的`system_info`文件给天谋工作人员; - 工作人员将返回每个ConfigNode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的`activation`文件夹下; -#### 方式三:激活脚本激活 +##### 方式二:激活脚本激活 - 依次获取3台机器的机器码,分别进入安装目录的`sbin`目录,执行激活脚本`start-activate.sh`: ```Bash - cd sbin ./start-activate.sh ``` @@ -215,14 +233,11 @@ It costs 0.030s Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - -### 启动DataNode 节点 +#### 启动 DataNode 节点 分别进入iotdb的`sbin`目录下,依次启动3个datanode节点: -```Go -cd sbin +```Bash ./start-datanode.sh -d #-d参数将在后台进行启动 ``` diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 3033bd66a..7c0d56649 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -107,7 +107,9 @@ cd iotdb-enterprise-{version}-bin > ❗️注意:VSCode Remote等编辑器无自动保存配置功能,请确保修改的文件被持久化保存,否则配置项无法生效 -### 启动 ConfigNode 节点 +### 启动及激活数据库 (V 1.3.4 及以后的 1.x 版本) + +#### 启动 ConfigNode 节点 进入iotdb的sbin目录下,启动confignode @@ -116,14 +118,21 @@ cd iotdb-enterprise-{version}-bin ``` 如果启动失败,请参考[常见问题](#常见问题)。 -### 激活数据库 +#### 启动 DataNode 节点 -#### 方式一:通过 CLI 激活(V1.3.4 版本) +进入iotdb的sbin目录下,启动datanode: -- 先启动 Datanode 节点,然后进入 CLI +```shell +./start-datanode.sh -d #-d参数将在后台进行启动 +``` + +#### 激活数据库 + +##### 通过 CLI 激活 + +- 进入 CLI ```SQL - ./sbin/start-datanode.sh ./sbin/start-cli.sh ``` @@ -151,15 +160,26 @@ It costs 0.030s ```Bash 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===' ``` +### 启动及激活数据库 (V 1.3.4 之前版本) + +#### 启动 ConfigNode 节点 + +进入iotdb的sbin目录下,启动confignode + +```shell +./start-confignode.sh -d #“-d”参数将在后台进行启动 +``` +如果启动失败,请参考[常见问题](#常见问题)。 +#### 激活数据库 -#### 方式二:激活文件拷贝激活 +##### 方式一:激活文件拷贝激活 - 启动confignode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 - 收到工作人员返回的 license文件 - 将license文件放入对应节点的activation文件夹下; -#### 方式三:激活脚本激活 +##### 方式二:激活脚本激活 - 获取激活所需机器码,进入安装目录的sbin目录,执行激活脚本: @@ -185,14 +205,11 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - -### 启动DataNode 节点 +#### 启动 DataNode 节点 进入iotdb的sbin目录下,启动datanode: ```shell -cd sbin ./start-datanode.sh -d #-d参数将在后台进行启动 ``` diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 66be811fb..5de091257 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -134,25 +134,32 @@ cd iotdb-enterprise-{version}-bin > ❗️注意:VSCode Remote等编辑器无自动保存配置功能,请确保修改的文件被持久化保存,否则配置项无法生效 -### 启动ConfigNode节点 +### 启动及激活数据库 (V 1.3.4 及以后的 1.x 版本) + +#### 启动 ConfigNode 节点 先启动第一个iotdb-1的confignode, 保证种子confignode节点先启动,然后依次启动第2和第3个confignode节点 ```Bash -cd sbin ./start-confignode.sh -d #“-d”参数将在后台进行启动 ``` 如果启动失败,请参考[常见问题](#常见问题)。 -### 激活数据库 +#### 启动 DataNode 节点 + +分别进入iotdb的`sbin`目录下,依次启动3个datanode节点: + +```Bash +./start-datanode.sh -d #-d参数将在后台进行启动 +``` + +#### 激活数据库 -#### 方式一:通过 CLI 激活(V1.3.4 版本) +##### 通过 CLI 激活 -- 先启动集群所有 Datanode 节点,然后进入集群任一节点 CLI,执行获取机器码的语句 +- 进入集群任一节点 CLI,执行获取机器码的语句 ```SQL - -- 启动 DN 节点 - ./sbin/start-datanode.sh -- 连接CLI ./sbin/start-cli.sh -- 获取激活所需机器码 @@ -181,19 +188,30 @@ It costs 0.030s 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===' ``` +### 启动及激活数据库 (V 1.3.4 之前版本) + +#### 启动 ConfigNode 节点 + +先启动第一个iotdb-1的confignode, 保证种子confignode节点先启动,然后依次启动第2和第3个confignode节点 + +```Bash +./start-confignode.sh -d #“-d”参数将在后台进行启动 +``` +如果启动失败,请参考[常见问题](#常见问题)。 + +#### 激活数据库 -#### 方式二:激活文件拷贝激活 +##### 方式一:激活文件拷贝激活 - 依次启动3个confignode节点后,每台机器各自的`activation`文件夹, 分别拷贝每台机器的`system_info`文件给天谋工作人员; - 工作人员将返回每个ConfigNode节点的license文件,这里会返回3个license文件; - 将3个license文件分别放入对应的ConfigNode节点的`activation`文件夹下; -#### 方式三:激活脚本激活 +##### 方式二:激活脚本激活 - 依次获取3台机器的机器码,分别进入安装目录的`sbin`目录,执行激活脚本`start-activate.sh`: ```Bash - cd sbin ./start-activate.sh ``` @@ -215,14 +233,11 @@ It costs 0.030s Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - - -### 启动DataNode 节点 +#### 启动 DataNode 节点 分别进入iotdb的`sbin`目录下,依次启动3个datanode节点: -```Go -cd sbin +```Bash ./start-datanode.sh -d #-d参数将在后台进行启动 ``` @@ -360,7 +375,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: ```Bash IoTDB> show confignodes @@ -375,9 +390,15 @@ Total line number = 3 It costs 0.030s ``` -然后使用SQL将ConfigNode移除,SQL命令: +然后使用脚本将ConfigNode移除。脚本命令: + ```Bash -remove confignode [confignode_id] +# Linux / MacOS +sbin/remove-confignode.sh [confignode_id] + +#Windows +sbin/remove-confignode.bat [confignode_id] + ``` ### DataNode节点维护 @@ -423,7 +444,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: ```Bash IoTDB> show datanodes @@ -438,9 +459,14 @@ Total line number = 3 It costs 0.110s ``` -然后使用SQL将DataNode移除,SQL命令: +然后使用脚本将DataNode移除。脚本命令: + ```Bash -remove datanode [datanode_id] +# Linux / MacOS +sbin/remove-datanode.sh [datanode_id] + +#Windows +sbin/remove-datanode.bat [datanode_id] ``` ## 常见问题 diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 45ec936f6..7c0d56649 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md @@ -107,7 +107,9 @@ cd iotdb-enterprise-{version}-bin > ❗️注意:VSCode Remote等编辑器无自动保存配置功能,请确保修改的文件被持久化保存,否则配置项无法生效 -### 启动 ConfigNode 节点 +### 启动及激活数据库 (V 1.3.4 及以后的 1.x 版本) + +#### 启动 ConfigNode 节点 进入iotdb的sbin目录下,启动confignode @@ -116,14 +118,21 @@ cd iotdb-enterprise-{version}-bin ``` 如果启动失败,请参考[常见问题](#常见问题)。 -### 激活数据库 +#### 启动 DataNode 节点 + +进入iotdb的sbin目录下,启动datanode: + +```shell +./start-datanode.sh -d #-d参数将在后台进行启动 +``` + +#### 激活数据库 -#### 方式一:通过 CLI 激活(V1.3.4 版本) +##### 通过 CLI 激活 -- 先启动 Datanode 节点,然后进入 CLI +- 进入 CLI ```SQL - ./sbin/start-datanode.sh ./sbin/start-cli.sh ``` @@ -151,14 +160,26 @@ It costs 0.030s ```Bash 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===' ``` +### 启动及激活数据库 (V 1.3.4 之前版本) -#### 方式二:激活文件拷贝激活 +#### 启动 ConfigNode 节点 + +进入iotdb的sbin目录下,启动confignode + +```shell +./start-confignode.sh -d #“-d”参数将在后台进行启动 +``` +如果启动失败,请参考[常见问题](#常见问题)。 + +#### 激活数据库 + +##### 方式一:激活文件拷贝激活 - 启动confignode节点后,进入activation文件夹, 将 system_info文件复制给天谋工作人员 - 收到工作人员返回的 license文件 - 将license文件放入对应节点的activation文件夹下; -#### 方式三:激活脚本激活 +##### 方式二:激活脚本激活 - 获取激活所需机器码,进入安装目录的sbin目录,执行激活脚本: @@ -184,16 +205,15 @@ License has been stored to sbin/../activation/license Import completed. Please start cluster and excute 'show cluster' to verify activation status ``` - -### 启动DataNode 节点 +#### 启动 DataNode 节点 进入iotdb的sbin目录下,启动datanode: ```shell -cd sbin ./start-datanode.sh -d #-d参数将在后台进行启动 ``` + ### 验证部署 可直接执行 ./sbin 目录下的 Cli 启动脚本: