Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
发送反馈
更改用于创收的 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
发送反馈
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-02-03。
需要向我们提供更多信息?
[[["易于理解","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"]],["最后更新时间 (UTC):2026-02-03。"],[],[]]