Hi everybody & big thx for all your help ;)
I'm trying to do an LVS with the help of UltraMonkey
# Load Balancer
ifconfig
eth0 Lien encap:Ethernet HWaddr 00:18:F3:5E:C3:DB
inet adr:91.121.9.217 Bcast:91.121.9.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12097 errors:0 dropped:0 overruns:0 frame:38
TX packets:12772 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:1985633 (1.8 MiB) TX bytes:1468869 (1.4 MiB)
Interruption:16
eth0:0 Lien encap:Ethernet HWaddr 00:18:F3:5E:C3:DB
inet adr:91.121.63.68 Bcast:91.255.255.255 Masque:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interruption:16
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:8024 (7.8 KiB) TX bytes:8024 (7.8 KiB)
/etc/ha.d/ldirectord.cf
checktimeout=10
checkinterval=2
autoreload=no
logfile="/var/log/ldirectord.log"
#logfile="local0"
quiescent=no
virtual=91.121.63.68:80
fallback=127.0.0.1:80
real=91.121.73.53:80 ipip
real=91.121.105.178:80 ipip
service=http
request="lbtest.htm"
receive="Welcome"
scheduler=wlc
persistent=3600
protocol=tcp
checktype=negotiate
/etc/sysctl.conf
net.ipv4.conf.default.forwarding=1
ipvsadm -L
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 91-121-63-68.ovh.net:www wlc persistent 3600
-> ns354460.ovh.net:www Tunnel 1 0 0
-> ns301227.ovh.net:www Tunnel 1 0 0
# Webserver1
/etc/sysctl.conf
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.default.forwarding=1
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.eth0.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
net.ipv4.conf.eth0.arp_announce = 2
net.ipv4.ip_forward = 1
net.ipv4.conf.all.hidden = 1
net.ipv4.conf.tunl0.hidden = 1
Tunnel
ifconfig tunl0 0.0.0.0 up
ifconfig tunl0 91.121.63.68 netmask 255.255.255.255 broadcast 91.121.63.68
up
# Webserver1 (same with different public ip)
...
Do u see something wrong ?
I'm writing a french tutorial for the french community.
Can you plz give me some help ?
I can give 200$ US from my pocket if u have a paypal axx for a working
configuration...
My MSN adress : phoenix_bleu@xxxxxxxxxxx
|