北苑网站建设,南和邢台网站制作,wordpress自定义按钮,客户对网站建设公司的评价文章目录 openGauss学习笔记-183 openGauss 数据库运维-升级-升级操作183.1 就地升级和灰度升级操作步骤 openGauss学习笔记-183 openGauss 数据库运维-升级-升级操作
介绍就地升级、灰度升级和滚动升级的详细操作。
183.1 就地升级和灰度升级操作步骤 以root身份登录节点。 … 文章目录 openGauss学习笔记-183 openGauss 数据库运维-升级-升级操作183.1 就地升级和灰度升级操作步骤 openGauss学习笔记-183 openGauss 数据库运维-升级-升级操作
介绍就地升级、灰度升级和滚动升级的详细操作。
183.1 就地升级和灰度升级操作步骤 以root身份登录节点。 创建新包目录。 mkdir -p /opt/software/gaussdb_upgrade将需要更新的新包上传至目录“/opt/software/gaussdb_upgrade”并解压。 进入安装包解压出的script目录下: cd /opt/software/gaussdb_upgrade/script在就地升级或灰度升级前执行前置脚本gs_preinstall。 ./gs_preinstall -U omm -G dbgrp -X /opt/software/GaussDB_Kernel/clusterconfig.xml切换至omm用户。 su - omm数据库状态正常时使用如下命令进行就地升级或者灰度升级。 示例一使用gs_upgradectl脚本执行就地升级。 gs_upgradectl -t auto-upgrade -X /opt/software/GaussDB_Kernel/clusterconfig.xml示例二使用gs_upgradectl脚本执行灰度升级。 gs_upgradectl -t auto-upgrade -X /opt/software/GaussDB_Kernel/clusterconfig.xml --grey数据库状态正常时使用如下命令进行滚动升级。 示例一使用gs_upgradectl脚本执行指定单节点升级。 gs_upgradectl -t auto-upgrade -X /opt/software/GaussDB_Kernel/clusterconfig.xml --grey -h hostname0示例二使用gs_upgradectl脚本执行指定多节点升级。 gs_upgradectl -t auto-upgrade -X /opt/software/GaussDB_Kernel/clusterconfig.xml --grey -h hostname0,hostname1数据库状态正常时使用如下命令进行升级剩余节点。 gs_upgradectl -t auto-upgrade -X /opt/software/GaussDB_Kernel/clusterconfig.xml --grey --continue点赞你的认可是我创作的动力 ⭐️ 收藏你的青睐是我努力的方向 ✏️ 评论你的意见是我进步的财富