This is an automated email from the ASF dual-hosted git repository.
tanxinyu 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 6e13f656 Update Doc for deleting remove-confignode.sh/bat and
remove-datanode.sh/bat (#594)
6e13f656 is described below
commit 6e13f656f60f727a071630ac6b83aedb048a1e58
Author: Xiangpeng Hu <[email protected]>
AuthorDate: Sat Feb 22 23:02:11 2025 +0800
Update Doc for deleting remove-confignode.sh/bat and remove-datanode.sh/bat
(#594)
* finish english
* finish chinese
---
.../Cluster-Deployment_apache.md | 32 ++++------------------
.../Cluster-Deployment_timecho.md | 31 ++++-----------------
.../Cluster-Deployment_apache.md | 19 ++++---------
.../Cluster-Deployment_timecho.md | 32 ++++------------------
.../Cluster-Deployment_apache.md | 21 ++++----------
.../Cluster-Deployment_timecho.md | 21 ++++----------
.../Cluster-Deployment_apache.md | 26 ++++--------------
.../Cluster-Deployment_timecho.md | 26 ++++--------------
.../Cluster-Deployment_apache.md | 23 ++++------------
.../Cluster-Deployment_timecho.md | 24 ++++------------
.../Cluster-Deployment_apache.md | 23 ++++------------
.../Cluster-Deployment_timecho.md | 23 ++++------------
12 files changed, 71 insertions(+), 230 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 0214e799..91f8fdc6 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
@@ -188,7 +188,7 @@ sbin/start-confignode.bat
#### 4.1.2 Removing a ConfigNode
-1. Connect to the cluster using the CLI and confirm the internal address and
port of the ConfigNode to be removed:
+1. Connect to the cluster using the CLI and confirm the NodeID of the
ConfigNode to be removed:
```Plain
show confignodes;
@@ -209,22 +209,10 @@ Total line number = 3
It costs 0.030s
```
-2. Remove the ConfigNode using the script:
-
-**Linux / MacOS:**
-
-```Bash
-sbin/remove-confignode.sh [confignode_id]
-# Or:
-sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
-```
-
-**Windows:**
+2. Remove the ConfigNode using the SQL:
```Bash
-sbin/remove-confignode.bat [confignode_id]
-# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+remove confignode [confignode_id]
```
### 4.2 DataNode Maintenance
@@ -254,7 +242,7 @@ sbin/start-datanode.bat
#### 4.2.2 Removing a DataNode
-1. Connect to the cluster using the CLI and confirm the RPC address and port
of the DataNode to be removed:
+1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode
to be removed:
```Plain
show datanodes;
@@ -275,18 +263,10 @@ Total line number = 3
It costs 0.110s
```
-2. Remove the DataNode using the script:
-
-**Linux / MacOS:**
-
-```Bash
-sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
-```
-
-**Windows:**
+2. Remove the DataNode using the SQL:
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+remove datanode [datanode_id]
```
## 5 Common Issues
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 30642010..eacee836 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
@@ -244,7 +244,7 @@ sbin/start-confignode.bat
#### 4.1.2 Removing a ConfigNode
-1. Connect to the cluster using the CLI and confirm the internal address and
port of the ConfigNode to be removed:
+1. Connect to the cluster using the CLI and confirm the NodeID of the
ConfigNode to be removed:
```Plain
show confignodes;
@@ -265,22 +265,11 @@ Total line number = 3
It costs 0.030s
```
-2. Remove the ConfigNode using the script:
+2. Remove the ConfigNode using the SQL:
-**Linux / MacOS:**
```Bash
-sbin/remove-confignode.sh [confignode_id]
-# Or:
-sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
-```
-
-**Windows:**
-
-```Bash
-sbin/remove-confignode.bat [confignode_id]
-# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+remove confignode [confignode_id]
```
### 4.2 DataNode Maintenance
@@ -310,7 +299,7 @@ sbin/start-datanode.bat
#### 4.2.2 Removing a DataNode
-1. Connect to the cluster using the CLI and confirm the RPC address and port
of the DataNode to be removed:
+1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode
to be removed:
```Plain
show datanodes;
@@ -331,18 +320,10 @@ Total line number = 3
It costs 0.110s
```
-2. Remove the DataNode using the script:
-
-**Linux / MacOS:**
-
-```Bash
-sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
-```
-
-**Windows:**
+2. Remove the DataNode using the SQL:
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+remove datanode [datanode_id]
```
## 5 Common Issues
diff --git
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index 4389a704..9e6100bd 100644
---
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -213,7 +213,7 @@ Parameter introduction:
#### Removing ConfigNode Nodes
-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`:
+First connect to the cluster through the CLI and confirm the NodeID of the
ConfigNode you want to remove by using `show confignodes`:
```Bash
IoTDB> show confignodes
@@ -228,15 +228,10 @@ Total line number = 3
It costs 0.030s
```
-Then use the script to remove the DataNode. Script command:
+Then use the SQL to remove the ConfigNode. SQL command:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode Node Maintenance
@@ -297,14 +292,10 @@ Total line number = 3
It costs 0.110s
```
-Then use the script to remove the DataNode. Script command:
+Then use the SQL to remove the DataNode. SQL command:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## Common Questions
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 bd7d0aee..bff00902 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
@@ -250,7 +250,7 @@ sbin/start-confignode.bat
#### Removing a ConfigNode
-1. Connect to the cluster using the CLI and confirm the internal address and
port of the ConfigNode to be removed:
+1. Connect to the cluster using the CLI and confirm the NodeID of the
ConfigNode to be removed:
```Plain
show confignodes;
@@ -271,22 +271,10 @@ Total line number = 3
It costs 0.030s
```
-2. Remove the ConfigNode using the script:
-
-**Linux /** **MacOS**:
-
-```Bash
-sbin/remove-confignode.sh [confignode_id]
-# Or:
-sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
-```
-
-**Windows:**
+2. Remove the ConfigNode using the SQL:
```Bash
-sbin/remove-confignode.bat [confignode_id]
-# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+remove confignode [confignode_id]
```
### DataNode Maintenance
@@ -316,7 +304,7 @@ sbin/start-datanode.bat
#### Removing a DataNode
-1. Connect to the cluster using the CLI and confirm the RPC address and port
of the DataNode to be removed:
+1. Connect to the cluster using the CLI and confirm the NodeID of the DataNode
to be removed:
```Plain
show datanodes;
@@ -337,18 +325,10 @@ Total line number = 3
It costs 0.110s
```
-2. Remove the DataNode using the script:
-
-**Linux / MacOS:**
-
-```Bash
-sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
-```
-
-**Windows:**
+2. Remove the DataNode using the SQL:
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+remove datanode [datanode_id]
```
## Common Questions
diff --git
a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index b11e592f..cc3be90c 100644
---
a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -213,7 +213,7 @@ Parameter introduction:
#### Removing ConfigNode Nodes
-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`:
+First connect to the cluster through the CLI and confirm the NodeID of the
ConfigNode you want to remove by using `show confignodes`:
```Bash
IoTDB> show confignodes
@@ -228,15 +228,10 @@ Total line number = 3
It costs 0.030s
```
-Then use the script to remove the DataNode. Script command:
+Then use the SQL to remove the ConfigNode. SQL command:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode Node Maintenance
@@ -282,7 +277,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 RPC address and
port number of the DataNode you want to remove with `show datanodes`:
+First connect to the cluster through the CLI and confirm the NodeID of the
DataNode you want to remove with `show datanodes`:
```Bash
IoTDB> show datanodes
@@ -297,14 +292,10 @@ Total line number = 3
It costs 0.110s
```
-Then use the script to remove the DataNode. Script command:
+Then use the SQL to remove the DataNode. SQL command:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## Common Questions
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 c3e4362f..6cd68bd2 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
@@ -250,7 +250,7 @@ Parameter introduction:
#### Removing ConfigNode Nodes
-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`:
+First connect to the cluster through the CLI and confirm the NodeID of the
ConfigNode you want to remove by using `show confignodes`:
```Bash
IoTDB> show confignodes
@@ -265,15 +265,10 @@ Total line number = 3
It costs 0.030s
```
-Then use the script to remove the DataNode. Script command:
+Then use the SQL to remove the ConfigNode. SQL command:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode Node Maintenance
@@ -319,7 +314,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 RPC address and
port number of the DataNode you want to remove with `show datanodes`:
+First connect to the cluster through the CLI and confirm the NodeID of the
DataNode you want to remove with `show datanodes`:
```Bash
IoTDB> show datanodes
@@ -334,14 +329,10 @@ Total line number = 3
It costs 0.110s
```
-Then use the script to remove the DataNode. Script command:
+Then use the SQL to remove the DataNode. SQL command:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## Common Questions
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 6764698b..1dae9129 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
@@ -187,7 +187,7 @@ sbin/start-confignode.bat
#### 4.1.2 移除ConfigNode节点
-首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号:
+首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID:
```shell
IoTDB> show confignodes
@@ -202,18 +202,9 @@ Total line number = 3
It costs 0.030s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将ConfigNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-或
-./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-或
-./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+remove confignode [confignode_id]
```
### 4.2 DataNode节点维护
@@ -243,7 +234,7 @@ sbin/start-datanode.bat
#### 4.2.2 移除DataNode节点
-首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号:
+首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID:
```Bash
IoTDB> show datanodes
@@ -258,14 +249,9 @@ Total line number = 3
It costs 0.110s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将DataNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
-
-#Windows
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+remove datanode [datanode_id]
```
## 5 常见问题
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 1c82999b..f5570a99 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
@@ -247,7 +247,7 @@ sbin/start-confignode.bat
#### 4.1.2 移除ConfigNode节点
-首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号:
+首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID:
```shell
IoTDB> show confignodes
@@ -262,18 +262,9 @@ Total line number = 3
It costs 0.030s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将ConfigNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-或
-./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-或
-./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+remove confignode [confignode_id]
```
### 4.2 DataNode节点维护
@@ -303,7 +294,7 @@ sbin/start-datanode.bat
#### 4.2.2 移除DataNode节点
-首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号:
+首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID:
```Bash
IoTDB> show datanodes
@@ -318,14 +309,9 @@ Total line number = 3
It costs 0.110s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将DataNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
-
-#Windows
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+remove datanode [datanode_id]
```
## 5 常见问题
diff --git
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index 6603bd7c..428a9426 100644
---
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -211,7 +211,7 @@ sbin/start-confignode.bat
#### 移除ConfigNode节点
-首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号:
+首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID:
```Bash
IoTDB> show confignodes
@@ -226,15 +226,9 @@ Total line number = 3
It costs 0.030s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将ConfigNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode节点维护
@@ -280,7 +274,7 @@ sbin/start-datanode.bat
#### 移除DataNode节点
-首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号:
+首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID:
```Bash
IoTDB> show datanodes
@@ -295,14 +289,9 @@ Total line number = 3
It costs 0.110s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将DataNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## 常见问题
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 93347651..8f33c5d4 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
@@ -249,8 +249,7 @@ sbin/start-confignode.bat
#### 移除ConfigNode节点
-首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号:
-
+首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID:
```Bash
IoTDB> show confignodes
+------+-------+---------------+------------+--------+
@@ -264,15 +263,9 @@ Total line number = 3
It costs 0.030s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将ConfigNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode节点维护
@@ -318,7 +311,7 @@ sbin/start-datanode.bat
#### 移除DataNode节点
-首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号:
+首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID:
```Bash
IoTDB> show datanodes
@@ -333,14 +326,9 @@ Total line number = 3
It costs 0.110s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将DataNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## 常见问题
diff --git
a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index 6603bd7c..428a9426 100644
---
a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -211,7 +211,7 @@ sbin/start-confignode.bat
#### 移除ConfigNode节点
-首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号:
+首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID:
```Bash
IoTDB> show confignodes
@@ -226,15 +226,9 @@ Total line number = 3
It costs 0.030s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将ConfigNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode节点维护
@@ -280,7 +274,7 @@ sbin/start-datanode.bat
#### 移除DataNode节点
-首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号:
+首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID:
```Bash
IoTDB> show datanodes
@@ -295,14 +289,9 @@ Total line number = 3
It costs 0.110s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将DataNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## 常见问题
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 93347651..8f17ab08 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
@@ -249,7 +249,7 @@ sbin/start-confignode.bat
#### 移除ConfigNode节点
-首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号:
+首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID:
```Bash
IoTDB> show confignodes
@@ -264,15 +264,9 @@ Total line number = 3
It costs 0.030s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将ConfigNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-confignode.sh [confignode_id]
-
-#Windows
-sbin/remove-confignode.bat [confignode_id]
-
+remove confignode [confignode_id]
```
### DataNode节点维护
@@ -318,7 +312,7 @@ sbin/start-datanode.bat
#### 移除DataNode节点
-首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号:
+首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID:
```Bash
IoTDB> show datanodes
@@ -333,14 +327,9 @@ Total line number = 3
It costs 0.110s
```
-然后使用脚本将DataNode移除。脚本命令:
-
+然后使用SQL将DataNode移除,SQL命令:
```Bash
-# Linux / MacOS
-sbin/remove-datanode.sh [datanode_id]
-
-#Windows
-sbin/remove-datanode.bat [datanode_id]
+remove datanode [datanode_id]
```
## 常见问题