环境:
LVS Director:
VIP: 192.168.100.1:80 for HTTP集群
VIP: 192.168.100.1:3306 for Mysql集群
节点1:lvsdirector, IP地址是192.168.100.20 (该节点作为master用)
节点2:sqlnode1,IP地址是192.168.100.30 (该节点作为backup节点,也作为SQL Node用,不要被节点名字疑惑)
Real Server:
Real Server 1: testnode, IP地址是192.168.100.10 (该节点同时运行HTTP和Mysql服务)