提供意見
變更營利功能的 Postgres 資料庫設定
在私有雲的 Edge 中,您可能需要變更 Postgres 資料庫設定,例如主機、使用者名稱或密碼,例如實作 Postgres 資料庫容錯移轉。如果已啟用營利服務 ,您還必須針對此變更修改營利系統設定。
請按照下列步驟變更營利服務的 Postgres 資料庫連線設定。
注意事項: 只有在啟用營利功能的情況下,才能使用這項程序。
注意事項: edge-mint-management-server
可做為邊緣管理伺服器的外掛程式。因此,/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 和/或其關聯企業的註冊商標。
上次更新時間:2024-02-07 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
想進一步說明嗎?