Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
发送反馈
更改用于创收的 Postgres 数据库设置
注意 :本文档涵盖 Edge for Private Cloud 4.51.00,该版本已不再受支持。Google 不会为此版本提供安全补丁、问题修复或技术支持。当前支持的版本为 4.54.00。如需了解当前版本,请参阅 Edge for Private Cloud 文档 ;如需比较不同版本,请参阅所有版本 。
在 Edge for Private Cloud 中,您可能需要更改 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-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"]],["最后更新时间 (UTC):2026-10-16。"],[],[]]