Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] Piranha LVS-NAT to LVS-DR migration

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


giomac at gmail

Mar 4, 2009, 5:00 AM

Post #1 of 3 (820 views)
Permalink
[lvs-users] Piranha LVS-NAT to LVS-DR migration

Hello,

I am running LVS-NAT with Piranha on Fedora 10, I am very satifsfied, but
the only problem that I have is that realservers cannot access external VIP
of LVS router.

I want to migrate configuration to LVS-DR. What is required to do with IP
configuration and ARP on the router side and on the realserver side?

Assume attached image as current structure.


--
BR,
George Machitidze
Attachments: alva.png (31.4 KB)


graeme at graemef

Mar 4, 2009, 5:38 AM

Post #2 of 3 (762 views)
Permalink
Re: [lvs-users] Piranha LVS-NAT to LVS-DR migration [In reply to]

On Wed, 2009-03-04 at 17:00 +0400, George Machitidze wrote:
> I am running LVS-NAT with Piranha on Fedora 10, I am very satifsfied, but
> the only problem that I have is that realservers cannot access external VIP
> of LVS router.

This is covered in some depth in the LVS HOWTO.

The short explanation is that this isn't possible; the longer answer is
that it might be, but it depends very much on your requirement and local
circumstances as to whether you can make it work.

Most notably, using LVS-DR requires the VIP to be bound to a
loopback/dummy/other adapter on the realservers (httpd servers in your
case) which would result in all connections from those servers to the
VIP being handled locally.

Graeme


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


giomac at gmail

Mar 4, 2009, 6:22 AM

Post #3 of 3 (760 views)
Permalink
Re: [lvs-users] Piranha LVS-NAT to LVS-DR migration [In reply to]

Thanks Graeme,

LVS-DR part of howto is a bit confusing me - it's better to check mini :)

Seems like on router i need to switch to dr mode and on realserver to check
arp issue and assign virtual ip's, that's all I hope :)


On Wed, Mar 4, 2009 at 5:38 PM, Graeme Fowler <graeme [at] graemef> wrote:

> On Wed, 2009-03-04 at 17:00 +0400, George Machitidze wrote:
> > I am running LVS-NAT with Piranha on Fedora 10, I am very satifsfied, but
> > the only problem that I have is that realservers cannot access external
> VIP
> > of LVS router.
>
> This is covered in some depth in the LVS HOWTO.
>
> The short explanation is that this isn't possible; the longer answer is
> that it might be, but it depends very much on your requirement and local
> circumstances as to whether you can make it work.
>
> Most notably, using LVS-DR requires the VIP to be bound to a
> loopback/dummy/other adapter on the realservers (httpd servers in your
> case) which would result in all connections from those servers to the
> VIP being handled locally.
>
> Graeme
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
> Send requests to lvs-users-request [at] LinuxVirtualServer
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>



--
BR,
George Machitidze
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.