启动脚本:
#!/bin/sh
# description: start LVS of Real Server
VIP=10.64.20.114
LOCAL=10.64.20.107
case "$1" in
start)
echo " start LVS of realServer"
# set the Virtual IP Address
/sbin/ifconfig lo:0 $VIP broadcast $VIP netmask 255.255.255.255 up
/sbin/route add -host $VIP dev lo:0