dble支持mgr吗? #3184
Answered
by
PanternBao
Dinosauria
asked this question in
Q&A
dble支持mgr吗?
#3184
-
dble支持mgr吗? |
Beta Was this translation helpful? Give feedback.
Answered by
PanternBao
Mar 21, 2022
Replies: 1 comment 4 replies
-
https://actiontech.github.io/dble-docs-cn/1.config_file/1.03_user.xml.html 这里是配置说明,需要注意:dble内部逻辑没有对mgr做单独处理,因为mgr没有原生提供切换时候的对外的主动通知,需要通过订阅来主动发现,所以对外部组件(dble)来说,和其他半同步等高可用方式没有太大区别。目前可以通过自定义脚本对mgr切换做响应,dble 提供了单实例部署时候用于切换的python脚本https://actiontech.github.io/dble-docs-cn/2.Function/2.12_failover.html 但这部分仅用于demo,不建议直接上生产,生产需要更健壮的高可用组件 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
LUAgam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://actiontech.github.io/dble-docs-cn/1.config_file/1.03_user.xml.html 这里是配置说明,需要注意:dble内部逻辑没有对mgr做单独处理,因为mgr没有原生提供切换时候的对外的主动通知,需要通过订阅来主动发现,所以对外部组件(dble)来说,和其他半同步等高可用方式没有太大区别。目前可以通过自定义脚本对mgr切换做响应,dble 提供了单实例部署时候用于切换的python脚本https://actiontech.github.io/dble-docs-cn/2.Function/2.12_failover.html
但这部分仅用于demo,不建议直接上生产,生产需要更健壮的高可用组件