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 e65a006d7..e195d2c68 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 @@ -221,29 +221,42 @@ Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dia Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` -2. Run the following command to retrieve the machine code required for activation: +2. Execute the following command to obtain the machine code required for activation: - ```Bash - show system info - ``` - -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 +```SQL +IoTDB> show system info +``` +```shell +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| +--------------------------------------------------------------+ +Total line number = 1 +``` + +3. Execute the following statement to obtain the version number of the database to be activated: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ Total line number = 1 -It costs 0.030s ``` -4. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): +4. Provide the obtained machine code and version number to the Timecho team. -```Bash +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): + +```SQL 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===' ``` + - Note : The activation operation only needs to be performed once on any machine in the cluster. #### Option 2: File-Based Activation 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 5d0221f03..e4815b5a9 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 @@ -188,36 +188,49 @@ Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dia Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` -2. Run the following command to retrieve the machine code required for activation: -```Bash -show system info -``` - -3. Copy the returned machine code and send it to the Timecho team: +2. Execute the following command to obtain the machine code required for activation: +```SQL +show system info +``` ```Bash +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ +Total line number = 1 +``` + +3. Execute the following statement to obtain the version number of the database to be activated: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ Total line number = 1 -It costs 0.030s ``` -4. Enter the activation code provided by the Timecho team in the CLI using the following format. Wrap the activation code in single quotes ('): +4. Provide the obtained machine code and version number to the Timecho team. -```Bash +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): + +```SQL 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. +1. After starting the Confignode and Datanode nodes, enter the `activation` folder and send the `system_info` file to the Timecho team. +2. Receive the `license` file returned by the staff. +3. Place the `license` file into the `activation` folder of the corresponding node. + ### 2.7 Verify Activation 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 09ef6264d..614fecaf2 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 @@ -226,29 +226,41 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 ``` -2. Run the following command to retrieve the machine code required for activation: +2. Execute the following command to obtain the machine code required for activation: - ```Bash - show system info - ``` +```SQL +IoTDB> show system info +``` +```shell ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +``` -3. Copy the returned machine codes of all nodes in the cluster (displayed as a green string) and send it to the Timecho team: +3. Execute the following statement to obtain the version number of the database to be activated: - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ +Total line number = 1 +``` -4. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): +4. Provide the obtained machine code and version number to the Timecho team. - ```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===' - ``` +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): + +```SQL +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===' +``` - Note : The activation operation only needs to be performed once on any machine in the cluster. 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 fe5ef008a..0a4dec429 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 @@ -189,39 +189,48 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 ``` -2. Run the following command to retrieve the machine code required for activation: - - ```Bash - show system info - ``` - -3. Copy the returned machine code and send it to the Timecho team: +2. Execute the following command to obtain the machine code required for activation: +```SQL +show system info +``` ```Bash +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ -Total line number = 1 -It costs 0.030s +Total line number = 1 ``` +3. Execute the following statement to obtain the version number of the database to be activated: -#### 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. +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ +Total line number = 1 +``` +4. Provide the obtained machine code and version number to the Timecho team. -4. Enter the activation code provided by the Timecho team in the CLI using the following format. Wrap the activation code in single quotes ('): +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): -```Bash +```SQL 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. After starting the Confignode and Datanode nodes, enter the `activation` folder and send the `system_info` file to the Timecho team. +2. Receive the `license` file returned by the staff. +3. Place the `license` file into the `activation` folder of the corresponding node. + ### 2.7 Verify Activation In the CLI, you can check the activation status by running the `show activation` command. Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. 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 e65a006d7..e195d2c68 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 @@ -221,29 +221,42 @@ Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dia Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` -2. Run the following command to retrieve the machine code required for activation: +2. Execute the following command to obtain the machine code required for activation: - ```Bash - show system info - ``` - -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 +```SQL +IoTDB> show system info +``` +```shell +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| +--------------------------------------------------------------+ +Total line number = 1 +``` + +3. Execute the following statement to obtain the version number of the database to be activated: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ Total line number = 1 -It costs 0.030s ``` -4. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): +4. Provide the obtained machine code and version number to the Timecho team. -```Bash +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): + +```SQL 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===' ``` + - Note : The activation operation only needs to be performed once on any machine in the cluster. #### Option 2: File-Based Activation 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 5d0221f03..e4815b5a9 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 @@ -188,36 +188,49 @@ Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dia Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` -2. Run the following command to retrieve the machine code required for activation: -```Bash -show system info -``` - -3. Copy the returned machine code and send it to the Timecho team: +2. Execute the following command to obtain the machine code required for activation: +```SQL +show system info +``` ```Bash +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ +Total line number = 1 +``` + +3. Execute the following statement to obtain the version number of the database to be activated: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ Total line number = 1 -It costs 0.030s ``` -4. Enter the activation code provided by the Timecho team in the CLI using the following format. Wrap the activation code in single quotes ('): +4. Provide the obtained machine code and version number to the Timecho team. -```Bash +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): + +```SQL 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. +1. After starting the Confignode and Datanode nodes, enter the `activation` folder and send the `system_info` file to the Timecho team. +2. Receive the `license` file returned by the staff. +3. Place the `license` file into the `activation` folder of the corresponding node. + ### 2.7 Verify Activation 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 09ef6264d..614fecaf2 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md @@ -226,29 +226,41 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 ``` -2. Run the following command to retrieve the machine code required for activation: +2. Execute the following command to obtain the machine code required for activation: - ```Bash - show system info - ``` +```SQL +IoTDB> show system info +``` +```shell ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +``` -3. Copy the returned machine codes of all nodes in the cluster (displayed as a green string) and send it to the Timecho team: +3. Execute the following statement to obtain the version number of the database to be activated: - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ +Total line number = 1 +``` -4. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): +4. Provide the obtained machine code and version number to the Timecho team. - ```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===' - ``` +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): + +```SQL +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===' +``` - Note : The activation operation only needs to be performed once on any machine in the cluster. 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 fe5ef008a..0a4dec429 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 @@ -189,39 +189,48 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 ``` -2. Run the following command to retrieve the machine code required for activation: - - ```Bash - show system info - ``` - -3. Copy the returned machine code and send it to the Timecho team: +2. Execute the following command to obtain the machine code required for activation: +```SQL +show system info +``` ```Bash +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ -Total line number = 1 -It costs 0.030s +Total line number = 1 ``` +3. Execute the following statement to obtain the version number of the database to be activated: -#### 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. +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.9.2| 5ea21bc| ++-------+---------+ +Total line number = 1 +``` +4. Provide the obtained machine code and version number to the Timecho team. -4. Enter the activation code provided by the Timecho team in the CLI using the following format. Wrap the activation code in single quotes ('): +5. Enter the activation codes provided by the Timecho team in the CLI in sequence using the following format. Wrap the activation code in single quotes ('): -```Bash +```SQL 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. After starting the Confignode and Datanode nodes, enter the `activation` folder and send the `system_info` file to the Timecho team. +2. Receive the `license` file returned by the staff. +3. Place the `license` file into the `activation` folder of the corresponding node. + ### 2.7 Verify Activation In the CLI, you can check the activation status by running the `show activation` command. Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated. 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 52ce1ad82..6c9c24106 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 @@ -190,7 +190,7 @@ cd sbin #### 方式一:通过 CLI 激活 -- 进入集群任一节点 CLI,执行获取机器码的语句 +- 进入集群任一节点 CLI ```shell # Linux 系统与 MacOS 系统启动命令如下: @@ -211,34 +211,44 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_di Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` - - 执行以下内容获取激活所需机器码: +- 执行以下内容获取激活所需机器码: - ```Bash - show system info - ``` +```SQL +IoTDB> show system info +``` +```shell ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +``` - - 系统将自动返回集群所有节点的机器码 +- 执行以下语句获取待激活数据库的版本号: - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` -- 将获取的机器码复制给天谋工作人员 +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 - 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到CLI中进行激活,此激活操作只需在集群中的任意一台机器上执行一次即可。 - 注:激活码前后需要用`'`符号进行标注,如下所示 - ```Bash - IoTDB> activate '01-D4EYQGPZ-EAUJJODW-NUKRDR6F-TUQS3B75-EDZFLK3A-6BOKJFFZ-ALDHOMN7-NB2E4BHI-7ZKGFVK6-GCIFXA4T-UG3XJTTD-SHJV6F2P-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YHQTA5U-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文件给天谋工作人员; 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 c460f4012..2a53fdca4 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 @@ -174,28 +174,39 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_di Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` -- 执行以下内容获取激活所需机器码: +- 执行以下语句获取激活所需机器码: -```Bash -show system info +```SQL +IoTDB> show system info ``` - -- 将返回机器码复制给天谋工作人员: - -```Bash +```shell +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ Total line number = 1 -It costs 0.030s ``` -- 将工作人员返回的激活码输入到CLI中,输入以下内容 - - 注:激活码前后需要用`'`符号进行标注,如所示 +- 执行以下语句获取待激活数据库的版本号: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` + +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 + +- 将工作人员返回的激活码输入到 CLI 中进行激活操作,请注意激活码前后需要用`'`符号进行标注,如下所示 -```Bash +```SQL 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===' ``` 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 35a483337..229f01344 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 @@ -119,7 +119,7 @@ cd iotdb-enterprise-{version}-bin | **配置项** | **说明** | **默认值** | **推荐值** | 备注 | | :---------- | :------------------------------------- | :--------- | :----------------------------------------------- | :----------- | - | MEMORY_SIZE | IoTDB ConfigNode节点可以使用的内存总量 | 根据系统内存自动计算,默认为系统内存的30% | 可按需填写,填写后系统会根据填写的数值来分配内存 | 修改后保存即可,无需执行;重启服务后生效 | + | MEMORY_SIZE | IoTDB ConfigNode节点可以使用的内存总量 | 根据系统内存自动计算,默认为系统内存的30% | 可按需填写,填写后系统会根据填写的数值来分配内存 | 修改后保存即可,无需执行;重启服务后生效 | - `./conf/datanode-env.sh`配置 @@ -189,7 +189,7 @@ cd sbin #### 方式一:通过 CLI 激活 -- 进入集群任一节点 CLI,执行获取机器码的语句 +- 进入集群任一节点 CLI ```shell # Linux 系统与 MacOS 系统启动命令如下: @@ -212,31 +212,41 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@20 - 执行以下内容获取激活所需机器码: - ```Bash - show system info - ``` +```SQL +IoTDB> show system info +``` +```shell ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +``` -- 系统将自动返回集群所有节点的机器码 +- 执行以下语句获取待激活数据库的版本号: - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` -- 将获取的机器码复制给天谋工作人员 +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 - 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到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-6BOKJFF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J-R47ZDIM3-UUASUXG2-OQXGVZCO-MMYKICZU-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===' +``` #### 方式二:激活文件拷贝激活 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 e27aed49d..b4cb359ab 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 @@ -90,9 +90,9 @@ cd iotdb-enterprise-{version}-bin - ./conf/confignode-env.sh(./conf/confignode-env.bat)配置 -| **配置项** | **说明** | **默认值** | **推荐值** | 备注 | -| :---------: | :------------------------------------: | :--------: | :----------------------------------------------: | :----------: | -| MEMORY_SIZE | IoTDB ConfigNode节点可以使用的内存总量 | 根据系统内存自动计算,默认为系统内存的30% | 可按需填写,填写后系统会根据填写的数值来分配内存 | 修改后保存即可,无需执行;重启服务后生效 | +| **配置项** | **说明** | **默认值** | **推荐值** | 备注 | +| :---------: | :------------------------------------: |:------------------------:| :----------------------------------------------: | :----------: | +| MEMORY_SIZE | IoTDB ConfigNode节点可以使用的内存总量 | 根据系统内存自动计算,默认为系统内存的30% | 可按需填写,填写后系统会根据填写的数值来分配内存 | 修改后保存即可,无需执行;重启服务后生效 | - ./conf/datanode-env.sh(./conf/datanode-env.bat)配置 @@ -179,28 +179,39 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root # V2.0.6.x 版本及之后 Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 ``` -- 执行以下内容获取激活所需机器码: +- 执行以下语句获取激活所需机器码: -```Bash -show system info +```SQL +IoTDB> show system info ``` - -- 将返回机器码复制给天谋工作人员: - -```Bash +```shell +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ Total line number = 1 -It costs 0.030s ``` -- 将工作人员返回的激活码输入到CLI中,输入以下内容 - - 注:激活码前后需要用`'`符号进行标注,如所示 +- 执行以下语句获取待激活数据库的版本号: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` + +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 + +- 将工作人员返回的激活码输入到 CLI 中进行激活操作,请注意激活码前后需要用`'`符号进行标注,如下所示 -```Bash +```SQL 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===' ``` 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 52ce1ad82..6c9c24106 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 @@ -190,7 +190,7 @@ cd sbin #### 方式一:通过 CLI 激活 -- 进入集群任一节点 CLI,执行获取机器码的语句 +- 进入集群任一节点 CLI ```shell # Linux 系统与 MacOS 系统启动命令如下: @@ -211,34 +211,44 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_di Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` - - 执行以下内容获取激活所需机器码: +- 执行以下内容获取激活所需机器码: - ```Bash - show system info - ``` +```SQL +IoTDB> show system info +``` +```shell ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +``` - - 系统将自动返回集群所有节点的机器码 +- 执行以下语句获取待激活数据库的版本号: - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` -- 将获取的机器码复制给天谋工作人员 +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 - 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到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-GCIFX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U-TWFQYYAO-ZOAGOKJA-NYHQTA5U-EWAR4EP5-MRC6R2CI-PKUTKRCT-7UDGRH3F-7BYV4P5D-6KKIA===' +``` + #### 方式二:激活文件拷贝激活 - 依次启动3个Confignode、Datanode节点后,每台机器各自的activation文件夹, 分别拷贝每台机器的system_info文件给天谋工作人员; 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 c460f4012..2a53fdca4 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 @@ -174,28 +174,39 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_di Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 -sql_dialect table ``` -- 执行以下内容获取激活所需机器码: +- 执行以下语句获取激活所需机器码: -```Bash -show system info +```SQL +IoTDB> show system info ``` - -- 将返回机器码复制给天谋工作人员: - -```Bash +```shell +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ Total line number = 1 -It costs 0.030s ``` -- 将工作人员返回的激活码输入到CLI中,输入以下内容 - - 注:激活码前后需要用`'`符号进行标注,如所示 +- 执行以下语句获取待激活数据库的版本号: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` + +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 + +- 将工作人员返回的激活码输入到 CLI 中进行激活操作,请注意激活码前后需要用`'`符号进行标注,如下所示 -```Bash +```SQL 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===' ``` 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 69a1ab156..229f01344 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 @@ -189,7 +189,7 @@ cd sbin #### 方式一:通过 CLI 激活 -- 进入集群任一节点 CLI,执行获取机器码的语句 +- 进入集群任一节点 CLI ```shell # Linux 系统与 MacOS 系统启动命令如下: @@ -212,31 +212,41 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@20 - 执行以下内容获取激活所需机器码: - ```Bash - show system info - ``` +```SQL +IoTDB> show system info +``` +```shell ++--------------------------------------------------------------+ +| SystemInfo| ++--------------------------------------------------------------+ +|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| ++--------------------------------------------------------------+ +Total line number = 1 +``` -- 系统将自动返回集群所有节点的机器码 +- 执行以下语句获取待激活数据库的版本号: - ```Bash - +--------------------------------------------------------------+ - | SystemInfo| - +--------------------------------------------------------------+ - |01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE| - +--------------------------------------------------------------+ - Total line number = 1 - It costs 0.030s - ``` +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` -- 将获取的机器码复制给天谋工作人员 +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 - 工作人员会返回激活码,正常是与提供的机器码的顺序对应的,请将整串激活码粘贴到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===' - ``` +```SQL +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/Stand-Alone-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Stand-Alone-Deployment_timecho.md index 0de6f74ec..b4cb359ab 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 @@ -179,28 +179,39 @@ Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root # V2.0.6.x 版本及之后 Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw TimechoDB@2021 ``` -- 执行以下内容获取激活所需机器码: +- 执行以下语句获取激活所需机器码: -```Bash -show system info +```SQL +IoTDB> show system info ``` - -- 将返回机器码复制给天谋工作人员: - -```Bash +```shell +--------------------------------------------------------------+ | SystemInfo| +--------------------------------------------------------------+ | 01-TE5NLES4-UDDWCMYE| +--------------------------------------------------------------+ Total line number = 1 -It costs 0.030s ``` -- 将工作人员返回的激活码输入到CLI中,输入以下内容 - - 注:激活码前后需要用`'`符号进行标注,如所示 +- 执行以下语句获取待激活数据库的版本号: + +```SQL +IoTDB> show version +``` +```shell ++-------+---------+ +|Version|BuildInfo| ++-------+---------+ +|2.0.x.x| xxxxxxx| ++-------+---------+ +Total line number = 1 +``` + +- 将获取到的机器码与版本号,一同提供给天谋工作人员。 + +- 将工作人员返回的激活码输入到 CLI 中进行激活操作,请注意激活码前后需要用`'`符号进行标注,如下所示 -```Bash +```SQL 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===' ```