IPVS configuring
hello list
Iam trying to use IPVS with telnet service. I gone through entire documenation of mini howto of ipvs in linuxvirtualserver.org. still there is not much suceess . i followed all the configs . my client is 192.168.68.254 . i want to use the direct routing with ipvs. the .conf files as said in the mini how to and http://www.ultramonkey.org/papers/lvs_tutorial/html/ i changed. the following are the commands which i used. in director ------------ /sbin/ifconfig eth0:0 192.168.68.201 broadcast 192.168.68.255 netmask 255.255.255.255 /sbin/route add -host 192.168.68.201 dev eth0:0 /sbin/ipvsadm -A -t 192.168.68.201:telnet -s rr /sbin/ipvsadm -a -t 192.168.68.201:telnet -r 192.168.68.74 -g -w 1 /sbin/ipvsadm -a -t 192.168.68.201:telnet -r 192.168.68.73 -g -w 1 in realserver ------------- sbin/ifconfig lo:0 192.168.68.201 netmask 255.255.255.255 still when i try to connect from 192.168.68.254 it doesnto even connect. Your help will be highly appreciated. scenarios looks like below. A-> eth0 192.168.68.49 and eth0:0 192.168.68.201 ( director) B-> eth0 192.168.68.73 lo:0 192.168.68.201 (real server) C-> eth0 192.168.68.74 lo:0 192.168.68.201 (real server) I have kernel version 2.6.10 running redhat EL in three machines . My aim is to acheive the following architectures in B and C iam running the telnet service so any body connectes to telent 192.168.68.201 it has to check with real servers and connect to them based on availability In sysctl.conf of all ips ipv4 forward is enabled. No firewall or iptables running. if i try to connect from other machine like 192.168.68.254 it s trying to connect at last it will fail. as a matter of fact i never seen B and C as connected state in director when i see with ipvsadm. so any bodys ideas and help will be highly appreciated |
All times are GMT -5. The time now is 09:49 PM. |