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 306420109..4238d9033 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: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Plain show confignodes; @@ -265,22 +265,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:** +Then use the SQL to remove the ConfigNode. SQL command: ```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 +298,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: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Plain show datanodes; @@ -331,18 +319,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:** +Then use the SQL to remove the DataNode. SQL command: ```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 4389a704f..dc4f96c13 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 @@ -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/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index bd7d0aee5..bff00902d 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/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md index b11e592fe..cc3be90c6 100644 --- a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/V1.3.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/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index c3e4362f3..6cd68bd26 100644 --- a/src/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/V1.3.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/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 306420109..4238d9033 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 @@ -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: +First connect to the cluster through the CLI and confirm the NodeID of the ConfigNode you want to remove by using `show confignodes`: ```Plain show confignodes; @@ -265,22 +265,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:** +Then use the SQL to remove the ConfigNode. SQL command: ```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 +298,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: +First connect to the cluster through the CLI and confirm the NodeID of the DataNode you want to remove with `show datanodes`: ```Plain show datanodes; @@ -331,18 +319,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:** +Then use the SQL to remove the DataNode. SQL command: ```Bash -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +remove datanode [datanode_id] ``` ## 5 Common Issues diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 4389a704f..dc4f96c13 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/UserGuide/latest/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/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index bd7d0aee5..318af2afa 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/UserGuide/latest/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,12 @@ 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] ``` ### DataNode Maintenance @@ -316,7 +306,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 +327,12 @@ Total line number = 3 It costs 0.110s ``` -2. Remove the DataNode using the script: +2. Remove the DataNode using the SQL: **Linux / MacOS:** ```Bash -sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port] -``` - -**Windows:** - -```Bash -sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port] +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 6764698b6..a39cc8ad4 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,10 @@ 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 +235,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 +250,10 @@ 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 1c82999b7..1f13ead72 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,10 @@ 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 +295,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 +310,10 @@ 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 6603bd7c8..9c33c871e 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,10 @@ 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 +275,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -295,14 +290,10 @@ 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 933476514..3bf6613a9 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,7 +249,7 @@ sbin/start-confignode.bat #### 移除ConfigNode节点 -首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的内部地址与端口号: +首先通过CLI连接集群,通过`show confignodes`确认想要移除ConfigNode的NodeID: ```Bash IoTDB> show confignodes @@ -264,15 +264,10 @@ 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 +313,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -333,14 +328,10 @@ 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/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6603bd7c8..9c33c871e 100644 --- a/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/V1.3.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,10 @@ 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 +275,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -295,14 +290,10 @@ 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/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 933476514..3bf6613a9 100644 --- a/src/zh/UserGuide/V1.3.3/Deployment-and-Maintenance/Cluster-Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.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,10 @@ 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 +313,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -333,14 +328,10 @@ 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/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6764698b6..a39cc8ad4 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 @@ -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,10 @@ 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 +235,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 +250,10 @@ 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/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 1c82999b7..1f13ead72 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 @@ -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,10 @@ 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 +295,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 +310,10 @@ 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/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md index 6603bd7c8..939efa1b3 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md +++ b/src/zh/UserGuide/latest/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,10 @@ 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 +275,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -295,14 +290,10 @@ 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/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md index 933476514..3bf6613a9 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 @@ -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,10 @@ 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 +313,7 @@ sbin/start-datanode.bat #### 移除DataNode节点 -首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的RPC地址与端口号: +首先通过CLI连接集群,通过`show datanodes`确认想要移除的DataNode的NodeID: ```Bash IoTDB> show datanodes @@ -333,14 +328,10 @@ 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] ``` ## 常见问题