From bd2add3a170cd57d40d2f3ac7771cd8d55b6f476 Mon Sep 17 00:00:00 2001 From: li-jun056 <1255728208@qq.com> Date: Mon, 10 Aug 2020 18:39:17 +0800 Subject: [PATCH] update documents --- content/en/docs/Toolreference/gs_check.md | 2 -- content/zh/docs/Toolreference/gs_check.md | 2 -- content/zh/docs/Toolreference/gs_ctl.md | 4 ++-- content/zh/docs/Toolreference/gs_om.md | 4 ++-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/content/en/docs/Toolreference/gs_check.md b/content/en/docs/Toolreference/gs_check.md index a5033e48b..45f16a4e3 100644 --- a/content/en/docs/Toolreference/gs_check.md +++ b/content/en/docs/Toolreference/gs_check.md @@ -6,9 +6,7 @@ ## Precautions -- Only user **root** is authorized to check new nodes added during cluster scale-out. In other cases, the check can be performed only by user **omm**. - Parameter **-i** or **-e** must be set. **-i** specifies a single item to be checked, and **-e** specifies an inspection scenario where multiple items will be checked. -- In non-local mode, user **root** can check only new nodes. - If **-i** is not set to a root item or no such items are contained in the check item list of the scenario specified by **-e**, you do not need to enter the name or password of a user with the root permissions. - You can run **--skip-root-items** to skip root items. - The blacklist check item applies only to the upgrade from R5 to R6. diff --git a/content/zh/docs/Toolreference/gs_check.md b/content/zh/docs/Toolreference/gs_check.md index 21f1909e1..1f0914db2 100644 --- a/content/zh/docs/Toolreference/gs_check.md +++ b/content/zh/docs/Toolreference/gs_check.md @@ -6,9 +6,7 @@ gs\_check改进增强,统一化当前系统中存在的各种检查工具, ## 注意事项 -- 扩容新节点检查只能在root用户下执行,其他场景都必须在omm用户下执行。 - 必须指定-i或-e参数,-i会检查指定的单项,-e会检查对应场景配置中的多项。 -- root用户在非本地模式下只能进行扩容新节点检查。 - 如果-i参数中不包含root类检查项或-e场景配置列表中没有root类检查项,则不需要交互输入root权限的用户及其密码。 - 可使用--skip-root-items跳过检查项中包含的root类检查,以免需要输入root权限用户及密码。 - 黑名单检查项仅适用于R5升级到R6。 diff --git a/content/zh/docs/Toolreference/gs_ctl.md b/content/zh/docs/Toolreference/gs_ctl.md index 21bb26d23..c849f3ae2 100644 --- a/content/zh/docs/Toolreference/gs_ctl.md +++ b/content/zh/docs/Toolreference/gs_ctl.md @@ -74,13 +74,13 @@ gs\_ctl参数可分为如下几类:

failover

在主机异常时,将备机切换为主机。

-

切换成功后,需要执行gs_om -t refreshconf 命令记录当前主备机信息,确保gs_om -t refreshconf 命令执行成功,否则再次重启时会影响集群状态。

+

切换成功后,需要执行gs_om -t refreshconf 命令记录当前主备机信息,确保gs_om -t refreshconf 命令执行成功,否则再次重启会影响集群状态。

switchover

在主备机正常时,出于维护的需要,将备机切换为主机,可保证切换过程中数据不丢失。

-

切换成功后,需要执行gs_om -t refreshconf 命令记录当前主备机信息,确保gs_om -t refreshconf 命令执行成功,否则再次重启时会影响集群状态。

+

切换成功后,需要执行gs_om -t refreshconf 命令记录当前主备机信息,确保gs_om -t refreshconf 命令执行成功,否则再次重启会影响集群状态。

switchover命令下发后,命令如果超时返回,后台进程的执行状态可能处于不可确定状态;如果备机在standby wait状态,可以通过重复下发switchover命令消除,使集群恢复到正常状态。

diff --git a/content/zh/docs/Toolreference/gs_om.md b/content/zh/docs/Toolreference/gs_om.md index 32d7ded67..1c2db4002 100644 --- a/content/zh/docs/Toolreference/gs_om.md +++ b/content/zh/docs/Toolreference/gs_om.md @@ -2,7 +2,7 @@ ## 背景信息 -openGauss提供了gs\_om工具帮助对openGauss进行维护,包括启动openGauss、停止openGauss、查询openGauss状态、查询静态配置、查询openGauss状态、生成静态配置文件、生成动态配置文件、SSL证书替换、显示帮助信息和显示版本号信息等功能。 +openGauss提供了gs\_om工具帮助对openGauss进行维护,包括启动openGauss、停止openGauss、查询openGauss状态、查询静态配置、查询openGauss状态详细信息、生成静态配置文件、生成动态配置文件、SSL证书替换、显示帮助信息和显示版本号信息等功能。 ## 前提条件 @@ -46,7 +46,7 @@ openGauss提供了gs\_om工具帮助对openGauss进行维护,包括启动openG gs_om -t view [-o OUTPUT] ``` -- 查询openGauss状态 +- 查询openGauss状态详细信息 ``` gs_om -t query [-o OUTPUT] -- Gitee