may be problem on NAT?
Alejandro Feijoo
alfeijoo at cesga.es
Mon Mar 6 15:49:40 UTC 2006
I want to create a cluster using piranha but i only have 2 servers, one for
LVS router, one for LVS backup and both for Real Servers.
The conf is the follow:
ProliantA:
public ip: 193.144.34.XXX
private ip 10.1.1.1
virtual public ip: 193.144.34.ZZZ
virtual private ip: 10.1.1.3
ProliantB:
public ip: 193.144.34.YYY
private ip 10.1.1.2
I run piranha and make the following config:
serial_no = 143
primary = 193.144.34.XXX
primary_private = 10.1.1.1
service = lvs
backup_active = 1
backup = 193.144.34.YYY
backup_private = 10.1.1.2
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.1.1.3 eth1:1
nat_nmask = 255.255.255.240
debug_level = NONE
monitor_links = 1
virtual WEB {
active = 1
address = 193.144.34.ZZZ eth0:1
vip_nmask = 255.255.255.0
port = 80
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
use_regex = 0
load_monitor = ruptime
scheduler = rr
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server proliantA {
address = 10.1.1.1
active = 1
weight = 2000
}
server proliantB {
address = 10.1.1.2
active = 1
weight = 1000
}
}
But the result is, nat not work... because when i active pulse on both
servers eth0:1 not start propietly and... if any petition to
193.144.34.ZZZ may pass to other server this service not work
any can help me?
Tanks! and sorry my english
++-------------------------++
Alejandro Feijóo Fraga
Tecnico de Sistemas.
Centro de supercomputación de Galicia
Avda. de Vigo s/n. Campus Sur.
15705 - Santiago de Compostela. Spain
Tlfn.: 981 56 98 10 Extension: 216
Fax: 981 59 46 16
More information about the Piranha-list
mailing list