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 50ac69d2 Updata on AINode Network Installation Method (#396)
50ac69d2 is described below

commit 50ac69d25115efba1d4f43744f2d22e04f45db38
Author: W1y1r <[email protected]>
AuthorDate: Wed Nov 6 12:08:34 2024 +0800

    Updata on AINode Network Installation Method (#396)
---
 .../AINode_Deployment_timecho.md                   | 75 +++++++++++++++++++++-
 .../AINode_Deployment_timecho.md                   | 74 ++++++++++++++++++++-
 .../AINode_Deployment_timecho.md                   | 73 ++++++++++++++++++++-
 .../AINode_Deployment_timecho.md                   | 73 ++++++++++++++++++++-
 4 files changed, 286 insertions(+), 9 deletions(-)

diff --git 
a/src/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md 
b/src/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
index f128ebaa..fe7c766f 100644
--- 
a/src/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
+++ 
b/src/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
@@ -70,9 +70,11 @@
 
 ## Installation steps
 
-### AINode activation
+### Install AINode
 
-Require IoTDB to be in normal operation and have AINode module authorization 
in the license (usually not in the license, please contact Timecho Business or 
technical support personnel to obtain AINode module authorization).
+1. AINode activation
+
+ Require IoTDB to be in normal operation and have AINode module authorization 
in the license (usually not in the license, please contact T Business or 
technical support personnel to obtain AINode module authorization).
 
  The authorization method for activating the AINode module is as follows:
  - Method 1: Activate file copy activation
@@ -89,7 +91,7 @@ Require IoTDB to be in normal operation and have AINode 
module authorization in
   - The following information is displayed. Please copy the machine code (i.e. 
this string of characters) to the Timecho staff and inform them to apply for 
independent authorization of AINode:
       ```shell
       Please copy the system_info's content and send it to Timecho:
-      01-KU5LDFFN-PNBEHDRH
+      
Y17hFA0xRCE1TmkVxILuCIEPc7uJcr5bzlXWiptw8uZTmTX5aThfypQdLUIhMljw075hNRSicyvyJR9JM7QaNm1gcFZPHVRWVXIiY5IlZkXdxCVc1erXMsbCqUYsR2R2Mw4PSpFJsUF5jHWSoFIIjQ2bmJFW5P52KCccFMVeHTc=
       Please enter license:
       ```
   - Enter the activation code returned by the staff into the `Please enter 
license:` command prompt in the previous step, as shown below:
@@ -105,6 +107,73 @@ Require IoTDB to be in normal operation and have AINode 
module authorization in
     ./start-datanode.sh   -d   #The parameter'd 'will be started in the 
background 
     ```
 
+    2. Check the kernel architecture of Linux
+  ```shell
+    uname -m
+    ```
+
+    3. Import Python environment 
[Download](https://repo.anaconda.com/miniconda/)
+    
+    Recommend downloading the py311 version application and importing it into 
the iotdb dedicated folder in the user's root directory
+
+    4. Switch to the iotdb dedicated folder to install the Python environment
+
+    Taking Miniconda 3-py311_24.5.0-0-Lux-x86_64 as an example:
+
+  ```shell
+    bash ./Miniconda3-py311_24.5.0-0-Linux-x86_64.sh
+    ```
+  > Type "Enter", "Long press space", "Enter", "Yes", "Yes" according to the 
prompt <br>
+  > Close the current SSH window and reconnect
+
+   5. Create a dedicated environment
+
+  ```shell
+    conda create -n ainode_py python=3.11.9
+    ```
+
+    Type 'y' according to the prompt
+
+   6. Activate dedicated environment
+
+  ```shell
+    conda activate ainode_py
+    ```
+
+   7. Verify Python version
+
+  ```shell
+    python --version
+    ```
+   8. Download and import AINode to a dedicated folder, switch to the 
dedicated folder and extract the installation package
+
+  ```shell
+    unzip iotdb-enterprise-ainode-1.3.3.2.zip
+    ```
+
+   9. Configuration item modification
+
+  ```shell
+    vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties
+    ```
+   Configuration item modification:[detailed 
information](#configuration-item-modification)
+
+  > ain_seed_config_node=iotdb-1:10710 (Cluster communication node IP: 
communication node port)<br>
+  > ain_inference_rpc_address=iotdb-3 (IP address of the server running AINode)
+
+   10. Replace Python source
+
+  ```shell
+    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
+    ```
+
+   11. Start the AINode node
+
+  ```shell
+    nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh  > 
myout.file 2>& 1 &
+    ```
+  > Return to the default environment of the system: conda deactivate
+
  ### Configuration item modification
 
 AINode supports modifying some necessary parameters. You can find the 
following parameters in the `conf/iotdb-ainode.properties` file and make 
persistent modifications to them:
diff --git 
a/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md 
b/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
index fc51344b..ae57e0fb 100644
--- 
a/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
+++ 
b/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
@@ -70,9 +70,11 @@
 
 ## Installation steps
 
-### AINode activation
+### Install AINode
 
-Require IoTDB to be in normal operation and have AINode module authorization 
in the license (usually not in the license, please contact T Business or 
technical support personnel to obtain AINode module authorization).
+1. AINode activation
+
+ Require IoTDB to be in normal operation and have AINode module authorization 
in the license (usually not in the license, please contact T Business or 
technical support personnel to obtain AINode module authorization).
 
  The authorization method for activating the AINode module is as follows:
  - Method 1: Activate file copy activation
@@ -105,6 +107,74 @@ Require IoTDB to be in normal operation and have AINode 
module authorization in
     ./start-datanode.sh   -d   #The parameter'd 'will be started in the 
background 
     ```
 
+    2. Check the kernel architecture of Linux
+  ```shell
+    uname -m
+    ```
+
+    3. Import Python environment 
[Download](https://repo.anaconda.com/miniconda/)
+    
+    Recommend downloading the py311 version application and importing it into 
the iotdb dedicated folder in the user's root directory
+
+    4. Switch to the iotdb dedicated folder to install the Python environment
+
+    Taking Miniconda 3-py311_24.5.0-0-Lux-x86_64 as an example:
+
+  ```shell
+    bash ./Miniconda3-py311_24.5.0-0-Linux-x86_64.sh
+    ```
+  > Type "Enter", "Long press space", "Enter", "Yes", "Yes" according to the 
prompt <br>
+  > Close the current SSH window and reconnect
+
+   5. Create a dedicated environment
+
+  ```shell
+    conda create -n ainode_py python=3.11.9
+    ```
+
+    Type 'y' according to the prompt
+
+   6. Activate dedicated environment
+
+  ```shell
+    conda activate ainode_py
+    ```
+
+   7. Verify Python version
+
+  ```shell
+    python --version
+    ```
+   8. Download and import AINode to a dedicated folder, switch to the 
dedicated folder and extract the installation package
+
+  ```shell
+    unzip iotdb-enterprise-ainode-1.3.3.2.zip
+    ```
+
+   9. Configuration item modification
+
+  ```shell
+    vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties
+    ```
+   Configuration item modification:[detailed 
information](#configuration-item-modification)
+
+  > ain_seed_config_node=iotdb-1:10710 (Cluster communication node IP: 
communication node port)<br>
+  > ain_inference_rpc_address=iotdb-3 (IP address of the server running AINode)
+
+   10. Replace Python source
+
+  ```shell
+    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
+    ```
+
+   11. Start the AINode node
+
+  ```shell
+    nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh  > 
myout.file 2>& 1 &
+    ```
+  > Return to the default environment of the system: conda deactivate
+
+
  ### Configuration item modification
 
 AINode supports modifying some necessary parameters. You can find the 
following parameters in the `conf/iotdb-ainode.properties` file and make 
persistent modifications to them:
diff --git 
a/src/zh/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
 
b/src/zh/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
index 1a8eaf2e..80d66262 100644
--- 
a/src/zh/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
+++ 
b/src/zh/UserGuide/Master/Deployment-and-Maintenance/AINode_Deployment_timecho.md
@@ -67,9 +67,11 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点,
       # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv`
       ../Python-3.8.0/python -m venv `venv`
       ```
-## 安装步骤
+## 安装部署及使用
 
-### AINode 激活
+### 安装 AINode
+
+1. AINode 激活
 
  要求 IoTDB 处于正常运行状态,且 license 中有 AINode 模块授权(通常 license 中不具有 AINode 
授权,可联系天谋商务或技术支持人员获取 AINode 模块授权)。
 
@@ -102,6 +104,73 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点,
     cd sbin
     ./start-datanode.sh   -d   #-d参数将在后台进行启动 
     ```
+
+    2. 检查Linux的内核架构
+  ```shell
+    uname -m
+    ```
+
+    3. 导入Python环境[下载](https://repo.anaconda.com/miniconda/)
+    
+    推荐下载py311版本应用,导入至用户根目录下 iotdb专用文件夹 中
+
+    4. 切换至iotdb专用文件夹安装Python环境
+
+    以 Miniconda3-py311_24.5.0-0-Linux-x86_64 为例:
+
+  ```shell
+    bash ./Miniconda3-py311_24.5.0-0-Linux-x86_64.sh
+    ```
+  > 根据提示键入“回车”、“长按空格”、“回车”、“yes”、“yes” <br>
+  > 关闭当前SSH窗口重新连接
+
+   5. 创建专用环境
+
+  ```shell
+    conda create -n ainode_py python=3.11.9
+    ```
+
+    根据提示键入“y”
+
+   6. 激活专用环境
+
+  ```shell
+    conda activate ainode_py
+    ```
+
+   7. 验证Python版本
+
+  ```shell
+    python --version
+    ```
+   8. 下载导入AINode到专用文件夹,切换到专用文件夹并解压安装包
+
+  ```shell
+    unzip iotdb-enterprise-ainode-1.3.3.2.zip
+    ```
+
+   9. 配置项修改
+
+  ```shell
+    vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties
+    ```
+   配置项修改:[详细信息](#配置项修改)
+  > ain_seed_config_node=iotdb-1:10710(集群通讯节点IP:通讯节点端口)<br>
+  > ain_inference_rpc_address=iotdb-3(运行AINode的服务器IP)
+
+   10. 更换Python源
+
+  ```shell
+    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
+    ```
+
+   11. 启动AINode节点
+
+  ```shell
+    nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh  > 
myout.file 2>& 1 &
+    ```
+  > 回到系统默认环境:conda deactivate
+  
 ### 配置项修改
 AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properties` 文件中找到下列参数并进行持久化的修改:
 
diff --git 
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
 
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
index 43f91153..94479b60 100644
--- 
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
+++ 
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md
@@ -69,7 +69,9 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点,
       ```
 ##  安装步骤
 
-### AINode 激活
+### 安装 AINode
+
+1. AINode 激活
 
  要求 IoTDB 处于正常运行状态,且 license 中有 AINode 模块授权(通常 license 中不具有 AINode 
授权,可联系天谋商务或技术支持人员获取 AINode 模块授权)。
 
@@ -87,7 +89,7 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点,
   - 显示如下信息,请将机器码(即该串字符)复制给天谋工作人员,并告知工作人员申请 AINode 独立授权:
       ```shell
       Please copy the system_info's content and send it to Timecho:
-      
Y17hFA0xRCE1TmkVxILuCIEPc7uJcr5bzlXWiptw8uZTmTX5aThfypQdLUIhMljw075hNRSicyvyJR9JM7QaNm1gcFZPHVRWVXIiY5IlZkXdxCVc1erXMsbCqUYsR2R2Mw4PSpFJsUF5jHWSoFIIjQ2bmJFW5P52KCccFMVeHTc=
+      01-KU5LDFFN-PNBEHDRH
       Please enter license:
       ```
   - 将工作人员返回的激活码输入上一步的命令行提示处 `Please enter license:`,如下提示:
@@ -102,6 +104,73 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点,
     cd sbin
     ./start-datanode.sh   -d   #-d参数将在后台进行启动 
     ```
+
+    2. 检查Linux的内核架构
+  ```shell
+    uname -m
+    ```
+
+    3. 导入Python环境[下载](https://repo.anaconda.com/miniconda/)
+    
+    推荐下载py311版本应用,导入至用户根目录下 iotdb专用文件夹 中
+
+    4. 切换至iotdb专用文件夹安装Python环境
+
+    以 Miniconda3-py311_24.5.0-0-Linux-x86_64 为例:
+
+  ```shell
+    bash ./Miniconda3-py311_24.5.0-0-Linux-x86_64.sh
+    ```
+  > 根据提示键入“回车”、“长按空格”、“回车”、“yes”、“yes” <br>
+  > 关闭当前SSH窗口重新连接
+
+   5. 创建专用环境
+
+  ```shell
+    conda create -n ainode_py python=3.11.9
+    ```
+
+    根据提示键入“y”
+
+   6. 激活专用环境
+
+  ```shell
+    conda activate ainode_py
+    ```
+
+   7. 验证Python版本
+
+  ```shell
+    python --version
+    ```
+   8. 下载导入AINode到专用文件夹,切换到专用文件夹并解压安装包
+
+  ```shell
+    unzip iotdb-enterprise-ainode-1.3.3.2.zip
+    ```
+
+   9. 配置项修改
+
+  ```shell
+    vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties
+    ```
+   配置项修改:[详细信息](#配置项修改)
+  > ain_seed_config_node=iotdb-1:10710(集群通讯节点IP:通讯节点端口)<br>
+  > ain_inference_rpc_address=iotdb-3(运行AINode的服务器IP)
+
+   10. 更换Python源
+
+  ```shell
+    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
+    ```
+
+   11. 启动AINode节点
+
+  ```shell
+    nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh  > 
myout.file 2>& 1 &
+    ```
+  > 回到系统默认环境:conda deactivate
+  
 ### 配置项修改
 AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properties` 文件中找到下列参数并进行持久化的修改:
 

Reply via email to