[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [Linux-cluster] doubts in Piranha




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 in unisys com>
Reply-To: linux clustering <linux-cluster redhat com>
To: <linux-cluster redhat com>
Subject: [Linux-cluster] 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 redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster

_________________________________________________________________
http://newlivehotmail.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]