I am experimenting with LVS and haven't been able to figure out
how to make SSL to work.
Config:
Directors (Red Hat Linux 6.2 w/ Piranha 0.4.14-1):
Primary Director: 192.168.2.69 (outbound, eth0), 192.168.3.2 (inbound, eth1)
Backup Director: 192.168.2.70 (outbound, eth0), 192.168.3.3 (inbound, eth1)
One outbound floating IP address: 192.168.2.68 (eth0:0)
One inbound floating IP address: 192.168.3.1 (eth1:0)
Real Servers:
Two MS NT4.0 SP6a (192.168.3.21 & 192.168.3.22) which run 3 services:
(1) Regular Web Server (on port 80, IIS 4.0)
(2) Secure Web Server (on port 443, SSL by IIS 4.0)
(3) Administration Program (on port 8830)
(1) & (3) work fine, but (2) does not work. I would appreciate
if anyone could help me figure out the problem. The below is my
lvs.cf file. Also, for (3) admin_console, I needed to add
'send = "\n"' line to make it work. Why do I need it?
Kaz
kxm@xxxxxxxxxxx
----------------------------------------------------------------
primary = 192.168.2.69
service = lvs
rsh_command = rsh
backup_active = 1
backup = 192.168.2.70
heartbeat = 2
heartbeat_port = 1050
keepalive = 10
deadtime = 20
network = nat
nat_router = 192.168.3.1 eth1:0
virtual web_server {
active = 1
address = 192.168.2.68 eth0:0
port = 80
load_monitor = uptime
scheduler = rr
protocol = tcp
timeout = 10
reentry = 20
server ws0 {
address = 192.168.3.21
active = 1
weight = 1
}
server ws1 {
address = 192.168.3.22
active = 1
weight = 1
}
}
virtual secure_web_server {
active = 1
address = 192.168.2.68 eth0:0
port = 443
load_monitor = uptime
scheduler = rr
protocol = tcp
timeout = 10
reentry = 20
server secure_ws0 {
address = 192.168.3.21
active = 1
weight = 1
}
server secure_ws1 {
address = 192.168.3.22
active = 1
weight = 1
}
}
virtual admin_console {
active = 1
address = 192.168.2.68 eth0:0
port = 8830
scheduler = rr
protocol = tcp
timeout = 10
reentry = 20
send = "\n"
server admin0 {
address = 192.168.3.21
active = 1
weight = 1
}
server admin1 {
address = 192.168.3.22
active = 1
weight = 1
}
}
|