Please enter a new instance name:输入gpcc
Is the master host for the Greenplum Database remote? Yy|Nn (default=N):n
What would you like to use for the display name for this instance:gpcc
What port does the Greenplum Database use? (default=5432):回车
will you install workload manaager (default=N):Y
What port would you like the web server to use for this instance?回车
Do you want to enable SSL for the Web API Yy|Nn (default=N):n
Do you want to copy the instance to a standby master host Yy|Nn (default=Y): 没有standby n
What is the hostname of the standby master host? [mdw]:回车
gpcc 安装记录
gpcc(Greenplum Command Center)是pivotal提供的Greenplum性能监控工具, 可监控各segment的状态、内存使用情况、磁盘io. 安装包可以在这里下载
安装步骤:
`[gpadmin@mdw ~]$ gpperfmon_install --enable --password gpmon --port 5432`
`[gpadmin@mdw ~]$ gpstop -r`
重启时报错,查看日志发现实pg_hba.conf文件配置出错,修改后就可以了
`
gpadmin@mdw ~]$ ps -ef | grep gpmmon| grep -v grep```4 . 查看Performance Monitor数据库写入数据是否正常,检查是否有记录写入
[gpadmin@mdw ~]$ psql -d gpperfmon -c 'select * from system_now'
如果配置了master的standby,拷贝Master主机拷贝配置文件到Standby Master的相应目录
安装gpccc,注意是root用户
设置环境变量
在所有主机安装GPCCC
gpcmdr --setup
启动实例
gpcmdr --start gpcc
登录 ip:28080