From 8eda4292e6f87e68ce2e6202579fe51c951cb1c1 Mon Sep 17 00:00:00 2001 From: vimiix Date: Tue, 19 Apr 2022 09:39:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0gs=5Fintall=5Fplugin?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E8=A1=A5=E4=B8=81=E8=8B=B1=E6=96=87=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gs_install_plugin.md | 19 ++++++++++++++++++- .../gs_install_plugin_local.md | 19 ++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin.md b/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin.md index 826b4c9e..8c4d069a 100644 --- a/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin.md +++ b/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin.md @@ -17,6 +17,24 @@ MogDB provides gs_install_plugin for installing plugins. Currently, the supporte The deployment of MogDB with one primary node and multiple standby nodes has been completed. +> **release patch notes**: +> +> There is a known bug in version 2.1 of this tool that causes installation failure due to unrecognized plug-in packages. +> Please do the following to fix the patch before using this tool and then proceed with the subsequent plugin installation (for 2.1.x). +> +> - When the extranet is accessible. +> +> 1. switch to the user who installed the database (e.g.: omm): `su - omm` +> 2. perform online repair: `cd $GPHOME && curl https://cdn-mogdb.enmotech.com/mogdb-media/2.1.1/om_plugin_install_v2.1.1.patch | patch -p1` +> +> - When unable to access the extranet. +> +> 1. Please download the patch file [om_plugin_install_v2.1.1.patch](https://cdn-mogdb.enmotech.com/mogdb-media/2.1.1/om_plugin_install_v2.1.1.patch) from a server with internet access first, and then copy the patch file to the server to be repaired. +> 2. Switch to the user who installed the database (e.g.: omm): `su - omm` +> 3. Execute `cd $GPHOME && patch -p1 < [replace Patch file path here]` + +  + ## Syntax ``` @@ -150,7 +168,6 @@ gs_install_plugin [-h] [-X XML] [--all] [--dblink] [--pg_trgm] [--wal2json] [--p ```bash /opt/software/mogdb/script/gs_install_plugin -X /opt/software/mogdb/clusterconfig.xml --all - # When the installation is successful, the output is as follows: SUCCESS: dblink. SUCCESS: pg_trgm. diff --git a/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin_local.md b/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin_local.md index b8454731..cec6b7e2 100644 --- a/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin_local.md +++ b/product/en/docs-mogdb/v2.1/reference-guide/tool-reference/tools-used-in-the-internal-system/gs_install_plugin_local.md @@ -17,6 +17,24 @@ MogDB provides gs_install_plugin_local for installing plugins. Currently, the su The deployment of MogDB single node has been completed. +> **release patch notes**: +> +> There is a known bug in version 2.1 of this tool that causes installation failure due to unrecognized plug-in packages. +> Please do the following to fix the patch before using this tool and then proceed with the subsequent plugin installation (for 2.1.x). +> +> - When the extranet is accessible. +> +> 1. switch to the user who installed the database (e.g.: omm): `su - omm` +> 2. perform online repair: `cd $GPHOME && curl https://cdn-mogdb.enmotech.com/mogdb-media/2.1.1/om_plugin_install_v2.1.1.patch | patch -p1` +> +> - When unable to access the extranet. +> +> 1. Please download the patch file [om_plugin_install_v2.1.1.patch](https://cdn-mogdb.enmotech.com/mogdb-media/2.1.1/om_plugin_install_v2.1.1.patch) from a server with internet access first, and then copy the patch file to the server to be repaired. +> 2. Switch to the user who installed the database (e.g.: omm): `su - omm` +> 3. Execute `cd $GPHOME && patch -p1 < [replace Patch file path here]` + +  + ## Syntax ``` @@ -141,7 +159,6 @@ gs_install_plugin_local [-h] [-X XML] [--all] [--dblink] [--pg_trgm] [--wal2json ```bash /opt/software/mogdb/script/gs_install_plugin_local -X /opt/software/mogdb/clusterconfig.xml --all - # When the installation is successful, the output is as follows: SUCCESS: dblink. SUCCESS: pg_trgm. -- Gitee