Skip to content

Commit

Permalink
Modify the activation method for both standalone and cluster versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mal117 committed Dec 10, 2024
1 parent e59a294 commit 9460ff2
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,30 +166,51 @@ cd sbin

#### Method 2: Activate Script Activation

- Retrieve the machine codes of three machines in sequence, enter them into the CLI of the IoTDB tree model (./start-cli.sh-sql-dialect table/start-cli.bat - sql-dialect table), and execute the following tasks:
- Note: When sql-dialect is a table, it is temporarily not supported to use

```Bash
show system info
```

- The following information is displayed, where the machine code of one machine is displayed:

```Bash
+--------------------------------------------------------------+
| SystemInfo|
+--------------------------------------------------------------+
|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE|
+--------------------------------------------------------------+
Total line number = 1
It costs 0.030s
```
- Retrieve the machine codes of 3 machines in sequence and enter IoTDB CLI

- Table Model CLI Enter Command:

```SQL
# Linux or MACOS
./start-cli.sh -sql_dialect table

# windows
./start-cli.bat -sql_dialect table
```

- Enter the tree model CLI command:

```SQL
# Linux or MACOS
./start-cli.sh

# windows
./start-cli.bat
```

- Execute the following to obtain the machine code required for activation:

```Bash
show system info
```

- The following information is displayed, which shows the machine code of one machine:

```Bash
+--------------------------------------------------------------+
| SystemInfo|
+--------------------------------------------------------------+
|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE|
+--------------------------------------------------------------+
Total line number = 1
It costs 0.030s
```

- The other two nodes enter the CLI of the IoTDB tree model in sequence, execute the statement, and copy the machine codes of the three machines obtained to the Timecho staff

- The staff will return three activation codes, which normally correspond to the order of the three machine codes provided. Please paste each activation code into the CLI separately, as prompted below:

- Note: The activation code needs to be marked with a 'symbol before and after, as shown in
- Note: The activation code needs to be marked with a `'`symbol before and after, as shown in

```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==='
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,39 @@ cd sbin

#### Method 2: Activate Script Activation

- Obtain the required machine code for activation, enter the IoTDB CLI (./start-cli.sh-sql-dialect table/start-cli.bat - sql-dialect table), and perform the following:
- Retrieve the machine codes of 3 machines in sequence and enter IoTDB CLI

- Table Model CLI Enter Command:

```SQL
# Linux or MACOS
./start-cli.sh -sql_dialect table
- Note: When sql-dialect is a table, it is temporarily not supported to use
# windows
./start-cli.bat -sql_dialect table
```

```shell
show system info
```
- Enter the tree model CLI command:

```SQL
# Linux or MACOS
./start-cli.sh
# windows
./start-cli.bat
```

- Display the following information, please copy the machine code (i.e. green string) to the Timecho staff:
- Execute the following to obtain the machine code required for activation:

```sql
```Bash
show system info
```

- The following information is displayed, which shows the machine code of one machine:

```Bash
+--------------------------------------------------------------+
| SystemInfo|
+--------------------------------------------------------------+
Expand All @@ -161,10 +183,9 @@ It costs 0.030s
```

- Enter the activation code returned by the staff into the CLI and enter the following content

- Note: The activation code needs to be marked with a `'`symbol before and after, as shown in
```sql
```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==='
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,32 +163,55 @@ cd sbin
- 将3个license文件分别放入对应的ConfigNode节点的activation文件夹下;

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

- 表模型 CLI 进入命令:

```SQL
# Linux或MACOS系统
./start-cli.sh -sql_dialect table
# windows系统
./start-cli.bat -sql_dialect table
```

- 树模型 CLI 进入命令:

```SQL
# Linux或MACOS系统
./start-cli.sh
# windows系统
./start-cli.bat
```

- 执行以下内容获取激活所需机器码:

```Bash
show system info
```

- 显示如下信息,这里显示的是1台机器的机器码 :

```Bash
+--------------------------------------------------------------+
| SystemInfo|
+--------------------------------------------------------------+
|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE|
+--------------------------------------------------------------+
Total line number = 1
It costs 0.030s
```

- 依次获取3台机器的机器码,进入到IoTDB树模型的CLI中(./start-cli.sh -sql_dialect table/start-cli.bat -sql_dialect table),执行以下内容:
- 注:当 sql_dialect 为 table 时,暂时不支持使用

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

- 显示如下信息,这里显示的是1台机器的机器码
- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示

```shell
+--------------------------------------------------------------+
| SystemInfo|
+--------------------------------------------------------------+
|01-TE5NLES4-UDDWCMYE,01-GG5NLES4-XXDWCMYE,01-FF5NLES4-WWWWCMYE|
+--------------------------------------------------------------+
Total line number = 1
It costs 0.030s
```
- 注:激活码前后需要用`'`符号进行标注,如所示
- 其他2个节点依次进入到IoTDB树模型的CLI中,执行语句后将获取的3台机器的机器码都复制给天谋工作人员
- 工作人员会返回3段激活码,正常是与提供的3个机器码的顺序对应的,请分别将各自的激活码粘贴到CLI中,如下提示:
- 注:激活码前后需要用`'`符号进行标注,如下所示
```shell
```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==='
```
```
### 验证激活
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,33 @@ DataNode 配置
- 将license文件放入对应节点的activation文件夹下;

#### 方式二:命令激活
- 进入 IoTDB CLI
- 表模型 CLI 进入命令:
```SQL
# Linux或MACOS系统
./start-cli.sh -sql_dialect table
# windows系统
./start-cli.bat -sql_dialect table
```

- 获取激活所需机器码,进入到 IoTDB CLI 中(./start-cli.sh -sql_dialect table/start-cli.bat -sql_dialect table),执行以下内容:
- 注:当 sql_dialect 为 table 时,暂时不支持使用
- 树模型 CLI 进入命令:
```SQL
# Linux或MACOS系统
./start-cli.sh
# windows系统
./start-cli.bat
```
- 执行以下内容获取激活所需机器码:

```shell
```Bash
show system info
```

- 显示如下信息,请将机器码(即绿色字符串)复制给天谋工作人员:
- 将返回机器码(即绿色字符串)复制给天谋工作人员:

```sql
```Bash
+--------------------------------------------------------------+
| SystemInfo|
+--------------------------------------------------------------+
Expand All @@ -149,7 +165,7 @@ It costs 0.030s
- 将工作人员返回的激活码输入到CLI中,输入以下内容
- 注:激活码前后需要用`'`符号进行标注,如所示
```sql
```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==='
```
Expand Down

0 comments on commit 9460ff2

Please sign in to comment.