greenplum 클 러 스 터 모니터링 구축 매 뉴 얼

1527 단어 greenplum
greenplum 군집 구축 모니터링
1.gpcc         :http://gpcc.docs.pivotal.io/600/welcome.html
  gpcc     greenplum     ,         greenplum-cc-web-6.0.0-rhel7_x86_64.zip
          ./gpccinstall-6.0.0     ,   gp       ,      gp     gpperfmon   ,        ,        。
2.  GP   

[gpadmin@mdw ~]$ gpstop -r
3.              。

[gpadmin@mdw ~]$ ps -ef |grep gpmmon
gpadmin 2285 2276 0 22:04 ? 00:00:00 /gpdb/app/bin/gpmmon -D /data/gpdata/master/gpseg-1/gpperfmon/conf/gpperfmon.conf -p 5432
4.  Performance Monitor           ,         。

psql -d gpperfmon -c 'select * from system_now;'
5.  Master         Standby Master     【     smdw;     】

gpscp -h smdw $MASTER_DATA_DIRECTORY/pg_hba.conf =:$MASTER_DATA_DIRECTORY/
gpscp -h smdw ~/.pgpass =:~/
6.Monitor        :

[root@mdw gpdb]# chown -R gpadmin:gpadmin /gpdb/greenplum-cc-web
7.  Master  gpadmin .bashrc  ,  

source /gpdb/greenplum-cc-web/gpcc_path.sh
8. master GP                

[gpadmin@mdw ~]$ source .bashrc 
[gpadmin@mdw ~]$ gpccinstall -f /gpdb/app/config/seg_host
9.      gpadmin .bashrc  ,  

source /gpdb/greenplum-cc-web/gpcc_path.sh
10.    

[gpadmin@mdw ~]$ gpcmdr --start gp_lottu
Starting instance gp_lottu ...
Greenplum Command Center UI for instance 'gp_lottu' - [RUNNING on PORT: 28080, pid 9105]

좋은 웹페이지 즐겨찾기