Hi Mehmet CELIK, Thanks for your reply. I have changed my piranha configuration as per your instruction. Still
it is not working. Configuration is follows. LVS eth0 -> 10.1.40.45 eth0:0 -> 10.1.40.50 LVS eth1 -> 11.1.40.45 eth1:0 -> 11.1.40.50 RS eth0 -> 10.1.40.34 My lvs.cf is as follows: serial_no = 12 primary = 11.1.40.45 service = lvs network = nat nat_router = 10.1.40.50 eth0:0 nat_nmask = 255.255.255.0 debug_level = NONE virtual Telnet { active = 1 address =
11.1.40.50 eth1:0 vip_nmask =
255.255.255.0 port = 23 send = "GET / HTTP/1.0\r\n\r\n" expect
= "HTTP" use_regex =
0 load_monitor
= none scheduler =
wlc protocol =
tcp timeout = 6 reentry = 15
quiesce_server = 0 server m1034
{
address = 10.1.40.34
active = 1
weight = 100 } } After this I am starting pulse service in my LVS. Following output I am getting in my LVS on passing ipvsadm -L -n comman. [root@m1045 ha]# ipvsadm -L -n IP Virtual Server version 1.2.1
(size=4096) Prot LocalAddress:Port Scheduler
Flags ->
RemoteAddress:Port
Forward Weight ActiveConn InActConn TCP 11.1.40.50:23 wlc [root@m1045 ha]# Note: Here there is
no route for forward path to Real server. I am guesing piranha is not updating
it. Log from CONTROL/MONITORING Tab of
Piranha: What should I do after this? Thanks, Santosh -----Original Message----- hi, firstly, the piranha is not supporting lvs/dr or lvs/tun right now.
may in future.. the following paragraph is from http://www.redhat.com/support/resources/howto/piranha/ "Currently, the LVS cluster supports one routing method, Network Address Translation (NAT). (In the future, tunneling and direct routing will be added.)" secondly, your configuration is wrong. LVS eth0 -> 10.1.40.45 eth0:0 -> 10.1.40.40 LVS eth1 -> 11.1.40.45 eth1:0 -> 11.1.40.40 RS eth0 -> 10.1.40.34 you should write "10.1.40.40 and eth0:0" to "NAT Router
IP and Device" on piranha. is not eth1:1. the default gw should be set
"10.1.40.40" for RS. Then, "Virtual Service" IP should be set "11.1.40.40 and
eth1:0". REQUEST = client -> (11.1.40.40) ipvs
forward on lvs (10.1.40.40) -> (10.1.40.34) RS RESPOND = client <- (11.1.40.40) NAT on
lvs-gateway (10.1.40.40) <- (10.1.40.34) RS if you change configuration, you must restart pulse service. have a nice day. Mehmet CELIK Istanbul/TURKEY >From: "Panigrahi, Santosh Kumar"
<Santosh.Panigrahi@xxxxxxxxxxxxx> >Reply-To: linux clustering <linux-cluster@xxxxxxxxxx> >To: <linux-cluster@xxxxxxxxxx> >Subject: doubts in Piranha >Date: Tue, 10 Jul 2007 17:33:37 +0530 > >Hi, > > > >I want to know, whether piranha supports configuring the following
LVS >cluster. > > > >1) Direct routing > >2) Nat routing > >3) Tunneling > > > >Actually, I am configuring a NAT LVS cluster in piranha with one
LVS >router and one Real Server. (For LVS testing purpose) > >I am doing it in RHEL5 with piranha-0.8.4-7.el5. > > > >LVS Router: 2 NIC cards (eth0: 10.1.40.45 - private interface,
eth1: >11.1.40.45- public interface, eth1:0: 11.1.40.40- Virtual Public
IP) > >Real server: 1 NIC card (eth0: 10.1.40.34) > > > >My piranha configuration is as follows. > > > >Virtual server Tab: > > > > > >Global Settings Tab: > > > > > >I am configuring it to open a telnet session from a client PC,
which is >not happening at all. My guess is piranha is not updating the
IPVSADM >table properly as per the configuration or I have configured it
wrongly. >Can somebody help me in this regard? > > > >Thanks and Regards, > >Santosh > ><< image001.jpg >> ><< image004.jpg >> >-- >Linux-cluster mailing list >Linux-cluster@xxxxxxxxxx >https://www.redhat.com/mailman/listinfo/linux-cluster _________________________________________________________________ http://newlivehotmail.com -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster |
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster