Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,9 @@ On each server, navigate to the `sbin` directory and start the DataNode:

### 3.6 Activate the Database

#### Option 1: File-Based Activation
#### Option 1: Command-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

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
Expand All @@ -177,22 +171,14 @@ 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 code of each server (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
+--------------------------------------------------------------+
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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**:
Expand All @@ -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
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,25 +161,9 @@ cd sbin

### 3.6 Activate Database

#### Option 1: File-Based Activation
#### Option 1: Command-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

1. Enter the IoTDB CLI for each node:

- **For Table Model**:

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

# For Windows
./start-cli.bat -sql_dialect table
```
1. Enter the IoTDB CLI on any node of the cluster:

- **For Tree Model**:

Expand All @@ -197,7 +181,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 nodes in the cluster (displayed as a green string) and send it to the Timecho team:

```Bash
+--------------------------------------------------------------+
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,27 +133,87 @@ 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

##### Activation via CLI

- Enter the CLI of any node in the cluster

```SQL
./sbin/start-cli.sh
```

- Obtain the machine codes of all nodes:

- Execute the following command to get the machine codes required for activation:

```Bash
show system info
```

- The machine codes of all nodes in the cluster will be displayed:

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

- 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 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 and Activate Database (Available before 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
./start-confignode.sh -d #"- d" parameter will start in the background
```

If the startup fails, please refer to [Common Questions](#common-questions).

### Activate Database
#### Activate Database

#### Method 1: Activate file copy activation
##### 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
##### 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`:

Expand All @@ -180,12 +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
```

Expand Down
Loading