is it possible to use LVS with other services than 80,21.
I want to implement a VPN Cluster and a NFS Cluster.
My VPN software uses port 509.
The http-cluster works fine. The VPN-Cluster doesn´t start because the
nanny process it not able to communicate with vpn1, vpn2.
Manfred Trodler
my lvs.cf looks like:
service = lvs
primary = 213.21.28.183
backup = 213.21.28.184
backup_active = 1
heartbeat = 1
heartbeat_port = 1050
keepalive = 3
deadtime = 10
rsh_command = rsh
network = nat
nat_router = 192.168.10.3 eth1:1
virtual www {
address = 213.21.28.185 eth0:1
active = 1
load_monitor = uptime
timeout = 10
reentry = 10
port = http
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
scheduler = wlc
persistent = 0
protocol = tcp
server Real1 {
address = 192.168.10.10
active = 1
weight = 1
}
server Real2 {
address = 192.168.10.11
active = 1
weight = 1
}
server Real2 {
address = 192.168.10.12
active = 1
weight = 1
}
}
virtual vpn {
address = 213.21.28.182 eth0:2
active = 1
port = 509
persistent = 0
server vpn1 {
address = 192.168.10.30
active = 1
}
server vpn2 {
address = 192.168.10.31
active = 1
}
}
|