TCP_CHECK {
connect_timeout 3
nb_get_retry 3
delay_before_retry 3
connect_port 3306
}
}
real_server 192.168.1.136 3306 {
weight 3
TCP_CHECK {
connect_timeout 3
nb_get_retry 3
delay_before_retry 3
connect_port 3306
}
}
}
4.sql服务节点的配置
vi /etc/rc.d/init.d/realserver.sh 添加如下配置:
#!/bin/bash
# description: Config realserver lo and apply noarp
SNS_VIP=192.168.1.222
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库MySQL集群+LVS+KEEPALIVED环境搭建(16)在线全文阅读。
相关推荐: