From 9522f73a593f02bb337423c1ad110aeeccdab6f3 Mon Sep 17 00:00:00 2001 From: vimiix Date: Sat, 30 Apr 2022 18:18:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(mogha):=E5=8E=BB=E9=99=A42.3=E7=89=88?= =?UTF-8?q?=E6=9C=ACsupervisord=E7=9B=B8=E5=85=B3=E6=8F=8F=E8=BF=B0&?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../en/docs-mogha/v2.3/installation-and-deployment.md | 10 ++++------ .../zh/docs-mogha/v2.3/installation-and-deployment.md | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/product/en/docs-mogha/v2.3/installation-and-deployment.md b/product/en/docs-mogha/v2.3/installation-and-deployment.md index 6bc544e4..b7994a3a 100644 --- a/product/en/docs-mogha/v2.3/installation-and-deployment.md +++ b/product/en/docs-mogha/v2.3/installation-and-deployment.md @@ -114,23 +114,21 @@ The MogHA service can be managed using the systemctl tool. The installation script output shows the installation process. A successful installation must contains "MogHA installation succeed!". For other situations, you need to check which installation procedure fails to perform. -If the installation script is successfully executed, there are three new files generated. +If the installation script is successfully executed, there are one new file generated. -- node.conf: HA configuration file (if this file exists, it will not be generated.) requires completion of instance and equipment room information. -- supervisord.conf: supervisord configuration file (supervisord is a process HA component) -- mogha.service: description file of the service for registering systemd, which has been registered with the systemd service. The MogHA service can be managed through the systemctl tool. +- node.conf: HA configuration file (if this file exists, it will not be generated.) requires completion of host and zone information by yourself. ### Complete node.conf Configuration After the installation script is executed, you are not advised to start the MogHA service immediately. You need to complete the configuration file and then start the MogHA service. -During the first installation, `node.conf` does not exist. The script will generate a `node.conf` configuration file according to the `node.conf.tmpl` template file. After obtaining this file, you need to complete your machine and equipment room configuration information according to the configuration file. +During the first installation, `node.conf` does not exist. The script will generate a `node.conf` configuration file according to the `node.conf.tmpl` template file. After obtaining this file, you need to complete your host and zone configuration information according to the [configuration file](./configuration-file.md). ### Manage the MogHA Service After `node.conf` is configured, you can manage the HA service through systemctl. -**If`SERVICE_NAME` is specified during execution of the installation script, the service name needs to be replaced with the customized service name in the follow-up operations.** +**If `SERVICE_NAME` is specified during execution of the installation script, the service name needs to be replaced with the customized service name in the follow-up operations.** #### Starting the MogHA Service diff --git a/product/zh/docs-mogha/v2.3/installation-and-deployment.md b/product/zh/docs-mogha/v2.3/installation-and-deployment.md index 9b86201f..e436bcc6 100644 --- a/product/zh/docs-mogha/v2.3/installation-and-deployment.md +++ b/product/zh/docs-mogha/v2.3/installation-and-deployment.md @@ -110,21 +110,19 @@ Uninstall MogHA service command: 从安装脚本执行的输出结果可以大概看出安装的流程,安装成功的标志是看到输出的最后打印出了『**MogHA 安装成功!』**语句。其他情况,需根据实际情况,检查安装步骤哪里出错。 -如果正常执行完安装脚本后,期间会生成 3 个新的文件: +如果正常执行完安装脚本后,期间生成一个新文件: -- node.conf: HA 配置文件(如已存在则不会生成),需要我们完善实例和机房信息 -- supervisord.conf: supervisord 的配置文件 (supervisord 是进程高可用组件) -- mogha.service:用于注册 systemd 的服务描述文件,安装过程已经将该文件注册到了 systemd 的服务中,可以通过 systemctl 工具来管理 MogHA 服务 +- node.conf: HA 配置文件(如已存在则不会生成),需要用户自行补充填写实例和机房信息 ### 完善 node.conf 配置 执行完安装脚本后,不要立即启动 MogHA 服务,我们需要先完善一下配置文件再启动服务。 -当第一次安装的时候,`node.conf` 是没有的,安装脚本会根据 `node.conf.tmpl` 模板文件自动生成一份 `node.conf`, 得到该文件后,参考[配置文件](/configuration-file.md)的介绍,完善您的机器和机房配置信息。 +当第一次安装的时候,`node.conf` 是没有的,安装脚本会根据 `node.conf.tmpl` 模板文件自动生成一份 `node.conf`, 得到该文件后,参考[配置文件](./configuration-file.md)的介绍,完善您的机器和机房配置信息。 ### 管理 MogHA 服务 -确认配置完成 `node.conf` 以后,就可以通过 systemctl 指令来管理 HA 服务了。 +请确认您已经配置完成 `node.conf` 以后,就可以通过 systemctl 指令来管理 MogHA 服务了。 **如果执行安装脚本时指定了 `SERVICE_NAME` , 后续操作的服务名需替换为自定义的服务名。** -- Gitee