摘要: 重点概念vrrp_script中节点权重改变算法vrrp_script 里的script返回值为0时认为检测成功,其它值都会当成检测失败;weight 为正时,脚本检测成功时此weight会加到priority上,检测失败时不加;主失败:主 priority < 从 priority + weigh 阅读全文
posted @ 2016-08-26 11:01 Kaivenblog 阅读(257) 评论(0) 推荐(0)
摘要: 部署双节点双主数据库服务器mysql 分别在二台服务器上安装mysql,要求同版本或主服务器比从服务器版本高。 主机mysql配置: Vi /etc/my.cnf [mysqld] Log-bin=mysql-bin Server-id=1 Service mysqld restart Mysql 阅读全文
posted @ 2016-08-26 09:03 Kaivenblog 阅读(2041) 评论(0) 推荐(0)