You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2025/03/06 10:16:43 UTC
(iotdb-docs) branch main updated: Fix open source cluster deployment startup CLI (#634)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 746e2fbe Fix open source cluster deployment startup CLI (#634)
746e2fbe is described below
commit 746e2fbed6e8fc14f3416e97fdbca0754444f61c
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Thu Mar 6 18:16:36 2025 +0800
Fix open source cluster deployment startup CLI (#634)
---
.../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 12 ++++++++++--
.../Deployment-and-Maintenance/Docker-Deployment_apache.md | 4 ++--
.../Stand-Alone-Deployment_apache.md | 12 +++++++++---
.../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 12 ++++++++++--
.../Deployment-and-Maintenance/Docker-Deployment_apache.md | 4 ++--
.../Stand-Alone-Deployment_apache.md | 12 +++++++++---
.../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 12 +++++++++---
.../Deployment-and-Maintenance/Docker-Deployment_apache.md | 4 ++--
.../Stand-Alone-Deployment_apache.md | 13 ++++++++++---
.../Deployment-and-Maintenance/Cluster-Deployment_apache.md | 12 +++++++++---
.../Deployment-and-Maintenance/Docker-Deployment_apache.md | 4 ++--
.../Stand-Alone-Deployment_apache.md | 12 +++++++++---
12 files changed, 83 insertions(+), 30 deletions(-)
diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index 2a8d7c6c..29e8e8da 100644
--- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -157,9 +157,17 @@ On each server, navigate to the `sbin` directory and start the DataNode:
./start-datanode.sh -d # The "-d" flag starts the process in the background.
```
-### 3.6 Verify Activation
+### 3.6 Start CLI
-Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated.
+ Enter the IoTDB CLI.
+
+```SQL
+# For Linux or macOS
+./start-cli.sh -sql_dialect table
+
+# For Windows
+./start-cli.bat -sql_dialect table
+```
## 4. Maintenance
diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
index c287573b..b13314d6 100644
--- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
+++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
@@ -166,7 +166,7 @@ Enter the container, log in to the database through CLI, and use the `show clust
```SQL
docker exec -it iotdb /bin/bash #Entering the container
-./start-cli.sh -h iotdb #Log in to the database
+./start-cli.sh -sql_dialect table -h iotdb #Log in to the database
IoTDB> show cluster #View status
```
@@ -370,7 +370,7 @@ docker-compose -f datanode.yml up -d #Background startup
```SQL
docker exec -it iotdb-datanode /bin/bash #Entering the container
- ./start-cli.sh -h iotdb-1 #Log in to the database
+ ./start-cli.sh -sql_dialect table -h iotdb-1 #Log in to the database
IoTDB> show cluster #View status
```
diff --git a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
index fe3c3eb5..194d1e8a 100644
--- a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
+++ b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
@@ -125,11 +125,17 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode:
./sbin/start-datanode.sh -d # The "-d" flag starts the process in the background.
```
-### 2.5 Verify Activation
+### 3.5 Start CLI
-Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated.
+ Enter the IoTDB CLI.
-
+```SQL
+# For Linux or macOS
+./start-cli.sh -sql_dialect table
+
+# For Windows
+./start-cli.bat -sql_dialect table
+```
## 3. Common Issues
diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index 2a8d7c6c..29e8e8da 100644
--- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -157,9 +157,17 @@ On each server, navigate to the `sbin` directory and start the DataNode:
./start-datanode.sh -d # The "-d" flag starts the process in the background.
```
-### 3.6 Verify Activation
+### 3.6 Start CLI
-Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated.
+ Enter the IoTDB CLI.
+
+```SQL
+# For Linux or macOS
+./start-cli.sh -sql_dialect table
+
+# For Windows
+./start-cli.bat -sql_dialect table
+```
## 4. Maintenance
diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
index c287573b..b13314d6 100644
--- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
+++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
@@ -166,7 +166,7 @@ Enter the container, log in to the database through CLI, and use the `show clust
```SQL
docker exec -it iotdb /bin/bash #Entering the container
-./start-cli.sh -h iotdb #Log in to the database
+./start-cli.sh -sql_dialect table -h iotdb #Log in to the database
IoTDB> show cluster #View status
```
@@ -370,7 +370,7 @@ docker-compose -f datanode.yml up -d #Background startup
```SQL
docker exec -it iotdb-datanode /bin/bash #Entering the container
- ./start-cli.sh -h iotdb-1 #Log in to the database
+ ./start-cli.sh -sql_dialect table -h iotdb-1 #Log in to the database
IoTDB> show cluster #View status
```
diff --git a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
index fe3c3eb5..f658c2dc 100644
--- a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
+++ b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
@@ -125,11 +125,17 @@ Navigate to the `sbin` directory of IoTDB and start the DataNode:
./sbin/start-datanode.sh -d # The "-d" flag starts the process in the background.
```
-### 2.5 Verify Activation
+### 2.5 Start CLI
-Check the `ClusterActivationStatus` field. If it shows `ACTIVATED`, the database has been successfully activated.
+ Enter the IoTDB CLI.
-
+```SQL
+# For Linux or macOS
+./start-cli.sh -sql_dialect table
+
+# For Windows
+./start-cli.bat -sql_dialect table
+```
## 3. Common Issues
diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index ce351d77..b9b82e0e 100644
--- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -154,11 +154,17 @@ cd sbin
./start-datanode.sh -d #-d参数将在后台进行启动
```
-### 3.5 验证激活
+### 3.5 启动 CLI
-当看到“Result”字段状态显示为success表示激活成功
+表模型 CLI 进入命令:
-
+```SQL
+# Linux或MACOS系统
+./start-cli.sh -sql_dialect table
+
+# windows系统
+./start-cli.bat -sql_dialect table
+```
## 4. 节点维护步骤
diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
index 9f315a1d..1c37be02 100644
--- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
+++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
@@ -164,7 +164,7 @@ docker-compose -f docker-compose-standalone.yml up -d #后台启动
```SQL
docker exec -it iotdb /bin/bash #进入容器
- ./start-cli.sh -h iotdb #登录数据库
+ ./start-cli.sh -sql_dialect table -h iotdb #登录数据库
IoTDB> show cluster #查看服务状态
```
@@ -363,7 +363,7 @@ docker-compose -f datanode.yml up -d #后台启动
```SQL
docker exec -it iotdb-datanode /bin/bash #进入容器
- ./start-cli.sh -h iotdb-1 #登录数据库
+ ./start-cli.sh -sql_dialect table -h iotdb-1 #登录数据库
IoTDB> show cluster #查看服务状态
```
diff --git a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
index 3dd6de56..d826e973 100644
--- a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
+++ b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
@@ -116,11 +116,18 @@ DataNode 配置
```shell
./sbin/start-datanode.sh -d #“-d”参数将在后台进行启动
```
-### 2.5 验证激活
-当看到“ClusterActivationStatus”字段状态显示为ACTIVATED表示激活成功
+### 3.5 启动 CLI
-
+表模型 CLI 进入命令:
+
+```SQL
+# Linux或MACOS系统
+./start-cli.sh -sql_dialect table
+
+# windows系统
+./start-cli.bat -sql_dialect table
+```
## 3. 常见问题
diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index ce351d77..b9b82e0e 100644
--- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -154,11 +154,17 @@ cd sbin
./start-datanode.sh -d #-d参数将在后台进行启动
```
-### 3.5 验证激活
+### 3.5 启动 CLI
-当看到“Result”字段状态显示为success表示激活成功
+表模型 CLI 进入命令:
-
+```SQL
+# Linux或MACOS系统
+./start-cli.sh -sql_dialect table
+
+# windows系统
+./start-cli.bat -sql_dialect table
+```
## 4. 节点维护步骤
diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
index 9f315a1d..1c37be02 100644
--- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
+++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md
@@ -164,7 +164,7 @@ docker-compose -f docker-compose-standalone.yml up -d #后台启动
```SQL
docker exec -it iotdb /bin/bash #进入容器
- ./start-cli.sh -h iotdb #登录数据库
+ ./start-cli.sh -sql_dialect table -h iotdb #登录数据库
IoTDB> show cluster #查看服务状态
```
@@ -363,7 +363,7 @@ docker-compose -f datanode.yml up -d #后台启动
```SQL
docker exec -it iotdb-datanode /bin/bash #进入容器
- ./start-cli.sh -h iotdb-1 #登录数据库
+ ./start-cli.sh -sql_dialect table -h iotdb-1 #登录数据库
IoTDB> show cluster #查看服务状态
```
diff --git a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
index 3dd6de56..e45d1bed 100644
--- a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
+++ b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Stand-Alone-Deployment_apache.md
@@ -116,11 +116,17 @@ DataNode 配置
```shell
./sbin/start-datanode.sh -d #“-d”参数将在后台进行启动
```
-### 2.5 验证激活
+### 3.5 启动 CLI
-当看到“ClusterActivationStatus”字段状态显示为ACTIVATED表示激活成功
+表模型 CLI 进入命令:
-
+```SQL
+# Linux或MACOS系统
+./start-cli.sh -sql_dialect table
+
+# windows系统
+./start-cli.bat -sql_dialect table
+```
## 3. 常见问题