From aec26f06db3905b150e309efe35c67858895747e Mon Sep 17 00:00:00 2001 From: Jay Chung Date: Wed, 28 Dec 2022 17:09:57 +0800 Subject: [PATCH] [doc] Correct install_env.sh file name (#13294) duplicate #12209 --- docs/docs/en/guide/expansion-reduction.md | 6 +++--- docs/docs/en/guide/upgrade/upgrade.md | 4 ++-- docs/docs/zh/guide/expansion-reduction.md | 6 +++--- docs/docs/zh/guide/upgrade/upgrade.md | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/docs/en/guide/expansion-reduction.md b/docs/docs/en/guide/expansion-reduction.md index f453699d14..d1ca160c56 100644 --- a/docs/docs/en/guide/expansion-reduction.md +++ b/docs/docs/en/guide/expansion-reduction.md @@ -6,7 +6,7 @@ This article describes how to add a new master service or worker service to an e ``` Attention: There cannot be more than one master service process or worker service process on a physical machine. - If the physical machine which locate the expansion master or worker node has already installed the scheduled service, check the [1.4 Modify configuration] and edit the configuration file `conf/config/install_config.conf` on ** all ** nodes, add masters or workers parameter, and restart the scheduling cluster. + If the physical machine which locate the expansion master or worker node has already installed the scheduled service, check the [1.4 Modify configuration] and edit the configuration file `bin/env/install_env.sh` on ** all ** nodes, add masters or workers parameter, and restart the scheduling cluster. ``` ### Basic software installation @@ -96,7 +96,7 @@ Attention: ```shell sudo ln -s /opt/soft/java/bin/java /usr/bin/java ``` -- Modify the configuration file `conf/config/install_config.conf` on the **all** nodes, synchronizing the following configuration. +- Modify the configuration file `bin/env/install_env.sh` on the **all** nodes, synchronizing the following configuration. * To add a new master node, you need to modify the IPs and masters parameters. * To add a new worker node, modify the IPs and workers parameters. @@ -222,7 +222,7 @@ If the corresponding master service or worker service does not exist, then the m ### Modify the Configuration File -- modify the configuration file `conf/config/install_config.conf` on the **all** nodes, synchronizing the following configuration. +- modify the configuration file `bin/env/install_env.sh` on the **all** nodes, synchronizing the following configuration. * to scale down the master node, modify the IPs and masters parameters. * to scale down worker nodes, modify the IPs and workers parameters. diff --git a/docs/docs/en/guide/upgrade/upgrade.md b/docs/docs/en/guide/upgrade/upgrade.md index 9435938dd1..6b9f740ae2 100644 --- a/docs/docs/en/guide/upgrade/upgrade.md +++ b/docs/docs/en/guide/upgrade/upgrade.md @@ -40,7 +40,7 @@ Execute database upgrade script: `sh ./tools/bin/upgrade-schema.sh` ### Upgrade Service -#### Change Configuration `bin/env/install_config.conf` +#### Change Configuration `bin/env/install_env.sh` - If you deploy with Pseudo-Cluster deployment, change it according to [Pseudo-Cluster](../installation/pseudo-cluster.md) section "Modify Configuration". - If you deploy with Cluster deployment, change it according to [Cluster](../installation/cluster.md) section "Modify Configuration". @@ -65,7 +65,7 @@ The architecture of worker group is different between version before version 1.3 | 1 | service1 | 192.168.xx.10 | | 2 | service2 | 192.168.xx.11,192.168.xx.12 | -- Modify worker related configuration in `bin/env/install_config.conf`. +- Modify worker related configuration in `bin/env/install_env.sh`. Assume below are the machine worker service to be deployed: diff --git a/docs/docs/zh/guide/expansion-reduction.md b/docs/docs/zh/guide/expansion-reduction.md index bf8a2ab702..4f0482ef56 100644 --- a/docs/docs/zh/guide/expansion-reduction.md +++ b/docs/docs/zh/guide/expansion-reduction.md @@ -6,7 +6,7 @@ ``` 注意: 一台物理机上不能存在多个master服务进程或者worker服务进程. - 如果扩容master或者worker节点所在的物理机已经安装了调度的服务,请直接跳到 [1.4.修改配置]. 编辑 ** 所有 ** 节点上的配置文件 `conf/config/install_config.conf`. 新增masters或者workers参数,重启调度集群即可. + 如果扩容master或者worker节点所在的物理机已经安装了调度的服务,请直接跳到 [1.4.修改配置]. 编辑 ** 所有 ** 节点上的配置文件 `bin/env/install_env.sh`. 新增masters或者workers参数,重启调度集群即可. ``` ### 1.1. 基础软件安装(必装项请自行安装) @@ -98,7 +98,7 @@ sed -i 's/Defaults requirett/#Defaults requirett/g' /etc/sudoers ```shell sudo ln -s /opt/soft/java/bin/java /usr/bin/java ``` -- 修改 **所有** 节点上的配置文件 `conf/config/install_config.conf`, 同步修改以下配置. +- 修改 **所有** 节点上的配置文件 `bin/env/install_env.sh`, 同步修改以下配置. * 新增的master节点, 需要修改 ips 和 masters 参数. * 新增的worker节点, 需要修改 ips 和 workers 参数. @@ -223,7 +223,7 @@ AlertServer ----- alert服务 ### 2.2 修改配置文件 -- 修改 **所有** 节点上的配置文件 `conf/config/install_config.conf`, 同步修改以下配置. +- 修改 **所有** 节点上的配置文件 `bin/env/install_env.sh`, 同步修改以下配置. * 缩容master节点, 需要修改 ips 和 masters 参数. * 缩容worker节点, 需要修改 ips 和 workers 参数. diff --git a/docs/docs/zh/guide/upgrade/upgrade.md b/docs/docs/zh/guide/upgrade/upgrade.md index 328313c517..a9b15be585 100644 --- a/docs/docs/zh/guide/upgrade/upgrade.md +++ b/docs/docs/zh/guide/upgrade/upgrade.md @@ -39,7 +39,7 @@ jar 包 并添加到 `./tools/libs` 目录下,设置以下环境变量 ### 服务升级 -#### 修改 `bin/env/install_config.conf` 配置内容 +#### 修改 `bin/env/install_env.sh` 配置内容 - 伪集群部署请参照[伪集群部署(Pseudo-Cluster)](../installation/pseudo-cluster.md)中的 `修改相关配置` - 集群部署请参照[集群部署(Cluster)](../installation/cluster.md)中的 `修改相关配置` @@ -66,7 +66,7 @@ jar 包 并添加到 `./tools/libs` 目录下,设置以下环境变量 | 1 | service1 | 192.168.xx.10 | | 2 | service2 | 192.168.xx.11,192.168.xx.12 | -- 修改 `bin/env/install_config.conf` 中的 workers 参数 +- 修改 `bin/env/install_env.sh` 中的 workers 参数 假设以下为要部署的 worker 主机名和 ip 的对应关系 | 主机名 | ip |