MGR客戶端failover方案

  2020年我們要全面推進MGR在業務系統的使用,目前存在一個很重要的問題,就是在MGR的主節點出現異常的情況下,怎麼解決客戶端重定向的問題
        解決的方案:
        1、使用官方的connector
        2、使用負載均衡設備,比如F5
        3、使用router,比如MySQL的Router 8.0
        4、中間件,比如某些廠商的產品,或者proxySQL。

以上方案我們都在測試當中~

It is important to understand that although the database service is available, in the event of a server crash, those clients connected to it must be redirected, or failed over, to a different server. This is not something Group Replication attempts to resolve. A connector, load balancer, router, or some form of middleware are more suitable to deal with this issue. For example see MySQL Router 8.0.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章