通过PIRANHA 配置好了 主服务和备服务, 但是发现他们互相间切换后,需要有5分钟左右才正常工作

通过PIRANHA 配置好了 主服务和备服务, 但是发现他们互相间切换后,需要有5分钟左右才正常工作.请问有谁知道是什么原因吗?

Forums:

你的调度器切换的时间设置是多少?

可以给出你的配置文件吗?

serial_no = 73
primary = 192.168.2.39
service = lvs
backup_active = 1
backup = 192.168.2.31
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = tunnel
debug_level = NONE
monitor_links = 0
virtual http {
active = 1
address = 192.168.2.38 eth0:1
vip_nmask = 255.255.255.0
port = 80
persistent = 0
pmask = 255.255.255.0
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
use_regex = 0
load_monitor = ruptime
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 5
quiesce_server = 0
server 31 {
address = 192.168.2.31
active = 1
weight = 1
}
server 40 {
address = 192.168.2.40
active = 1
weight = 1
}
server 37 {
address = 192.168.2.37
active = 1
weight = 2
}
}
virtual 22 {
active = 1
address = 192.168.2.38 eth0:1
vip_nmask = 255.255.255.0
port = 22
persistent = 0
pmask = 255.255.255.0
use_regex = 0
load_monitor = ruptime
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server 40 {
address = 192.168.2.40
active = 1
weight = 1
}
server 31 {
address = 192.168.2.31
active = 1
weight = 1
}
server 37 {
address = 192.168.2.37
active = 1
weight = 1
}
}