greenplum(二)之gpadmin

修改master的data目录访问权限

[smp@rh1 gpseg-1]$ vim pg_hba.conf

local    all         smp         ident
host     all         smp         127.0.0.1/28    trust
host     all         smp         172.16.40.71/32       trust
host     all         smp         172.16.40.56/32       trust
host     all         smp         ::1/128       trust
host     all         smp         fe80::20c:29ff:fe2a:45a1/128       trust
host all all 0.0.0.0/0 trust

 然后使配置生效运行以下命令:

[smp@rh1 gpseg-1]$ gpstop -u
20130310:22:57:56:017168 gpstop:rh1:smp-[INFO]:-Starting gpstop with args: -u
20130310:22:57:56:017168 gpstop:rh1:smp-[INFO]:-Gathering information and validating the environment...
20130310:22:57:56:017168 gpstop:rh1:smp-[INFO]:-Obtaining Greenplum Master catalog information
20130310:22:57:56:017168 gpstop:rh1:smp-[INFO]:-Obtaining Segment details from master...
20130310:22:57:56:017168 gpstop:rh1:smp-[INFO]:-Greenplum Version: 'postgres (Greenplum Database) 4.2.2.0 build 6'
20130310:22:57:56:017168 gpstop:rh1:smp-[INFO]:-Signalling all postmaster processes to reload
.
[smp@rh1 gpseg-1]$ vim pg_hba.conf
[smp@rh1 gpseg-1]$ gpstop -u
20130310:22:58:42:017248 gpstop:rh1:smp-[INFO]:-Starting gpstop with args: -u
20130310:22:58:42:017248 gpstop:rh1:smp-[INFO]:-Gathering information and validating the environment...
20130310:22:58:42:017248 gpstop:rh1:smp-[INFO]:-Obtaining Greenplum Master catalog information
20130310:22:58:42:017248 gpstop:rh1:smp-[INFO]:-Obtaining Segment details from master...
20130310:22:58:42:017248 gpstop:rh1:smp-[INFO]:-Greenplum Version: 'postgres (Greenplum Database) 4.2.2.0 build 6'
20130310:22:58:42:017248 gpstop:rh1:smp-[INFO]:-Signalling all postmaster processes to reload

  greenplum(二)之gpadmin_第1张图片

属性如上所示

 

连接成功后界面如下:

greenplum(二)之gpadmin_第2张图片

greenplum(二)之gpadmin_第3张图片

你可能感兴趣的:(GreenPlum)