Hello,
I try to mount a LVM (with ivpvsadm or ldirectord) with xen machine
paravirtualized, but I don't recieve the packages OutPkts, I try to do the
howto of Joe Stump (
http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-NAT.html#one_network)
but nothing .... .When I try "*telnet <realserver> 80*" at "Director
Machine" I get ok response from web server. I'm desesperate !! Thx.
My Machines are Debian: Linux 2.6.26-2-686-bigmem #1 SMP i686 GNU/Linux
+----------------------------------------------------------+ ~~~~~~~~~~~~~
+--------+
| XEN SERVER | { Internet }------------| Client | IP: y.y.y.y
+----------------------------------------------------------+ ~~~~~~~~~~~~~
+--------+
| | | IP: x.x.x.x
| | |
| Virtual IP: 172.20.8.119 (eth0) |IP VMachine |
| +---------------+ |172.20.8.2 +---------+
| | Director |------------------------|--------------| Gateway | IP:
172.20.8.1 | +---------------+ | +---------+
| | | |
| | Internal IP: 172.20.8.139 | |
| | (eth0:0) | |
| +----------+------------+ | |
| | | | |
| | | | +--------+
| | | | | Client |
| +---------------+ +---------------+ | +--------+
| | Real Server | | Real Server | | IP: 172.20.8.106
| +---------------+ +---------------+ |
| IP: 172.20.8.112 IP: 172.20.8.122 |
| |
+----------------------------------------------------------+
File: */etc/ipvsadm.rules *
*-A -t 172.20.8.119:80 -p -s rr*
*-a -t 172.20.8.119:80 -r 172.20.8.112:80 -m*
*-a -t 172.20.8.119:80 -r 172.20.8.122:80 -m*
Director:~# *ipvsadm -L*
* IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port
Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP Balancer:www rr persistent 360 -> 172.20.8.122:www Masq 1 0 0 ->
172.20.8.112:www Masq 1 0 0 *
Director:~# *watch -n 1 "ipvsadm -L -n --stats"* IP Virtual Server version
1.2.1 (size=4096) Prot LocalAddress:Port Conns InPkts *OutPkts* InBytes
OutBytes -> RemoteAddress:Port TCP 172.20.8.119:80 1 6 *0* 360 0 ->
172.20.8.122:80 1 6 *0* 360 0 -> 172.20.8.112:80 0 0 *0* 0 0
Director:~# *route -n*
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.20.8.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
0.0.0.0 172.20.8.1 0.0.0.0 UG 0 0 0 eth0
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|