Greenplum Command Center安装部署

1.Creating the gpperfmon Database

This topic describes how to create the Command Center gpperfmon database and enable the gpperfmon data collection agents. This task must be completed one time for the Greenplum Database system, before you install Greenplum Command Center.When the data collection agents are enabled, their processes are started and stopped (using gpstart and gpstop ) on the Greenplum segment hosts along with the Greenplum Database server processes. Greenplum Database includes a gpperfmon_install utility that performs the following tasks:

  • Creates the Command Center database (gpperfmon).
  • Creates the Command Center superuser role ( gpmon ).
  • Configures Greenplum Database server to accept connections from the gpmon role (edits the pg_hba.conf and .pgpass files).
  • Sets the Command Center server configuration parameters in the Greenplum Database server postgresql.conf files.
    1.1Enabling the Collection Agents
      (1)Log in to the Greenplum master host as the gpadmin user.
      $ su - gpadmin
      (2)Source the path file from the Greenplum Database installation directory:
      # source /usr/local/greenplum-db/greenplum_path.sh
      (3)Run the gpperfmon_install utility with the –enable option. You must supply the connection port of the Greenplum Database master server process, and set the password for the gpmon superuser that will be created. For example:
      $ gpperfmon_install --enable --password 123qwe --port 5432
    在这里插入图片描述
    Note:The gpperfmon_install utility creates entries for the gpmon user in the $MASTER_DATABASE/pg_hba.conf file. The password you specify is saved in a .pgpass file in the gpadm
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值