发送反馈
更改用于创收的 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):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":"其他"
}]
需要向我们提供更多信息?