Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
提供意見
變更營利功能的 Postgres 資料庫設定
注意: 本文件涵蓋 Edge for Private Cloud 4.51.00,但該版本已不受支援。Google 不會為這個版本提供安全性修補程式、錯誤修正或技術支援。目前支援的版本為 4.54.00。如要查看目前版本,請參閱 Edge for Private Cloud 說明文件 ,或參閱所有版本 比較各版本。
在 Edge for Private Cloud 中,您可能需要變更 Postgres 資料庫設定,例如主機、使用者名稱或密碼,例如:實作 Postgres 資料庫容錯移轉。如果您已啟用營利服務 ,也需要修改營利系統設定,才能完成這項變更。
請按照下列程序,變更 Monetization Services 的 Postgres 資料庫連線設定。
注意: edge-mint-management-server 是 Edge 管理伺服器的外掛程式。因此,指令 /opt/apigee/apigee-service/bin/apigee-service edge-mint-management-server status 傳回 Not Running 狀態是正常現象。
使用下列設定建立設定檔。apigee 使用者應可讀取檔案。
# IP address of a zookeeper node
ZK_HOSTS=XX.XX.XX.XX
# Postgres admin user and password
PG_USER=apigee
PG_PWD=postgres
# Postgres Host IP
MO_PG_HOST=XX.XX.XX.XX
# Postgres user and password for monetization
MO_PG_USER=postgre
MO_PG_PASSWD=changeme
# [OPTIONAL] Comma separated list of org names for which monetization is enabled
MO_ORG_NAMES=org1,org2
在其中一個管理伺服器節點上執行下列指令:
$APIGEE_ROOT/apigee-service/bin/apigee-service edge-mint-management-server mint-pg-registration -f <path-to-config-file>
重新啟動所有管理伺服器和訊息處理器節點。
$APIGEE_ROOT/apigee-service/bin/apigee-service edge-management-server restart
$APIGEE_ROOT/apigee-service/bin/apigee-service edge-message-processor restart
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-10-16 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-10-16 (世界標準時間)。"],[],[]]