千家信息网

greenplum监控软件Greenplum-cc-web如何安装

发表于:2024-11-19 作者:千家信息网编辑
千家信息网最后更新 2024年11月19日,这篇文章主要介绍了greenplum监控软件Greenplum-cc-web如何安装,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下3 开
千家信息网最后更新 2024年11月19日greenplum监控软件Greenplum-cc-web如何安装

这篇文章主要介绍了greenplum监控软件Greenplum-cc-web如何安装,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下

3 开始安装

  1. 以下是我的设置,可以根据自己的实际情况设置:

  2. [gpadmin@mdw ~]$ gpcmdr --setup


  3. An instance name is used by the Greenplum Command Center as

  4. a way to uniquely identify a Greenplum Database that has the monitoring

  5. components installed and configured. This name is also used to control

  6. specific instances of the Greenplum Command Center web UI. Instance names

  7. can contain letters, digits and underscores and are not case sensitive.


  8. Please enter a new instance name:

  9. > gpmon

  10. The web component of the Greenplum Command Center can connect to a

  11. monitor database on a remote Greenplum Database.



  12. Is the master host for the Greenplum Database remote? Yy|Nn (default=N):

  13. > n

  14. The display name is shown in the web interface and does not need to be

  15. a hostname.



  16. What would you like to use for the display name for this instance:

  17. > linux1024

  18. What port does the Greenplum Database use? (default=5432):

  19. >

  20. Creating instance schema in GPDB. Please wait ...

  21. The display name is shown in the web interface and does not need to be

  22. a hostname.




  23. Would you like to install workload manager? Yy|Nn (default=N):

  24. > n

  25. Skipping installation of workload manager.

  26. The Greenplum Command Center runs a small web server for the UI and web API.

  27. This web server by default runs on port 28080, but you may specify any available port.


  28. What port would you like the web server to use for this instance? (default=28080):

  29. >

  30. Users logging in to the Command Center must provide database user

  31. credentials. In order to protect user names and passwords, it is recommended

  32. that SSL be enabled.



  33. Do you want to enable SSL for the Web API Yy|Nn (default=N):

  34. >


  35. Do you want to enable ipV6 for the Web API Yy|Nn (default=N):

  36. >


  37. Do you want to enable Cross Site Request Forgery Protection for the Web API Yy|Nn (default=N):

  38. >


  39. Do you want to copy the instance to a standby master host Yy|Nn (default=Y):

  40. > n


  41. Done writing lighttpd configuration to /usr/local/greenplum-cc-web/./instances/gpmon/conf/lighttpd.conf

  42. Done writing web UI configuration to /usr/local/greenplum-cc-web/./instances/gpmon/conf/gpperfmonui.conf

  43. Done writing web UI clustrs configuration to /usr/local/greenplum-cc-web/./instances/gpmon/conf/clusters.conf


  44. Greenplum Command Center UI configuration is now complete. If

  45. at a later date you want to change certain parameters, you can

  46. either re-run 'gpcmdr --setup' or edit the configuration file

  47. located at /usr/local/greenplum-cc-web/./instances/gpmon/conf/gpperfmonui.conf.


  48. The web UI for this instance is available at http://mdw:28080/


  49. You can now start the web UI for this instance by running: gpcmdr --start gpmon 安装完后启动!

  50. No instances

  1. 期间你可能会遇到报错:FATAL: no pg_hba.conf entry for host "::1"


    1. 解决办法:

    2. 在pg_hba.conf中添加:

    3. host all all ::1/128 trust


感谢你能够认真阅读完这篇文章,希望小编分享的"greenplum监控软件Greenplum-cc-web如何安装"这篇文章对大家有帮助,同时也希望大家多多支持,关注行业资讯频道,更多相关知识等着你来学习!

0