溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

greenplum監(jiān)控軟件Greenplum-cc-web如何安裝

發(fā)布時間:2021-12-20 11:31:29 來源:億速云 閱讀:242 作者:小新 欄目:大數(shù)據(jù)

這篇文章主要介紹了greenplum監(jiān)控軟件Greenplum-cc-web如何安裝,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下

 3 開始安裝

  1. 以下是我的設(shè)置,可以根據(jù)自己的實際情況設(shè)置:

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

  3.  

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

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

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

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

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

  9.  

  10. Please enter a new instance name:

  11. > gpmon

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

  13. monitor database on a remote Greenplum Database.

  14.  

  15.  

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

  17. > n

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

  19. a hostname.

  20.  

  21.  

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

  23. > linux1024

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

  25. >

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

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

  28. a hostname.

  29.  

  30.  

  31.  

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

  33. > n

  34. Skipping installation of workload manager.

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

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

  37.  

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

  39. >

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

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

  42. that SSL be enabled.

  43.  

  44.  

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

  46. >

  47.  

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

  49. >

  50.  

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

  52. >

  53.  

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

  55. > n

  56.  

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

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

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

  60.  

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

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

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

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

  65.  

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

  67.  

  68. You can now start the web UI for this instance by running: gpcmdr --start gpmon   安裝完后啟動!

  69. No instances  

  1. 期間你可能會遇到報錯:FATAL: no pg_hba.conf entry for host "::1"


    1. 解決辦法:

    2. 在pg_hba.conf中添加:    

    3. host    all         all ::1/128       trust


感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“greenplum監(jiān)控軟件Greenplum-cc-web如何安裝”這篇文章對大家有幫助,同時也希望大家多多支持億速云,關(guān)注億速云行業(yè)資訊頻道,更多相關(guān)知識等著你來學(xué)習(xí)!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI