恢复集群状态,2.128为主,2.129、2.130为从。
此时,从2.128上看sentinel状态:
由于sentinel都是对等的,在此选择对2.128上的sentinel进行进程宕测试:
此时,本节点sentinel日志为:
其他节点sentinel日志为:
表示2.128上的sentnel已经宕。
此时集群读写正常,在一个sentinel宕机的基础上宕master后切换正常。
恢复集群状态,2.128为主,2.129、2.130为从。
此时,从2.128上看sentinel状态:
由于sentinel都是对等的,在此选择对2.128上的sentinel进行进程宕测试:
此时,本节点sentinel日志为:
其他节点sentinel日志为:
表示2.128上的sentnel已经宕。
此时集群读写正常,在一个sentinel宕机的基础上宕master后切换正常。
链接到文章: https://uziwp.com/13088.html
Backup Bootstrap cache Chrome Cloud Dashboard Device Disk Docker file Gutenberg古登堡 IIS Javascript jQuery Linux Mariadb Media MySQL Network Nginx OneThink Pages PHP PHP8 Posts Qcloud腾讯云 Redis Rsync SEO Siteground system Tags Theme ThinkPHP Ubuntu VPS Vultr Windows WooCommerce WordPress WordPress Plugins WordPress插件 主题 搬瓦工BWH 编辑器
评论已关闭