Greenplum 6 一键升级脚本

Posted wzy0623

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Greenplum 6 一键升级脚本相关的知识,希望对你有一定的参考价值。

cat .bashrc 

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions

source /usr/local/greenplum-db/greenplum_path.sh
export MASTER_DATA_DIRECTORY=/data/master/gpseg-1
export PGPORT=5432
export PGUSER=gpadmin
export PGDATABASE=postgres
export LD_PRELOAD=/lib64/libz.so.1 ps

cat all_host

mdw
smdw
sdw3

从6.17.2升级到6.18.0

su - gpadmin
gpstop -af
gpssh -f all_host -v -e 'sudo yum -y upgrade /home/gpadmin/open-source-greenplum-db-6.18.0-rhel7-x86_64.rpm'
gpstart -a

参考:https://docs.greenplum.org/6-17/install_guide/upgrading.html

以上是关于Greenplum 6 一键升级脚本的主要内容,如果未能解决你的问题,请参考以下文章

greenplum的升级与连接池pgbouncer

centos 6的LAMP一键安装包(可选择/升级版本)

笔记:centos6.5自带python2.6一键升级到2.7.11

WGCLOUD监控系统如何一键升级脚本(内网版)

php环境一键升级脚本

CentOS 升级 Python3 (附带: 一键升级脚本)