Subject: Re: [vserver] ipvsadm and ip_forward
From: Gustavo <lungpu@gmail.com>
Date: Fri, 5 Oct 2007 15:08:11 -0300
Fri, 5 Oct 2007 15:08:11 -0300
Hi Dennis, I didn't try what you want to do yet (it's in something like the
stack of todo tasks ;) but I needed when implemented vservers here to set up
a dummy interface, I think this could help you. I've tried to schemes: the
vserver host on the lan and vps guests on a private lan with the host as
gateway/firewall. The another is connecting out the host and the guests into
the same lan, all of them at the same level. In this last case the host is
still the firewall for the others but there's no network isolation. The
dummy interface in the first case, exists for the host and have one extra ip
for every guest you have. In the second, no dummy ip for the host is needed,
so they are only setup for the guests.
If you need some examples, I can send you some lines.

Regards,
Gustavo


On 10/5/07, Dennis Muhlestein <djmuhlestein@gmail.com> wrote:
>
> > is the guest aware if that address at service bind time?
>
> Actually, the issue I was having is that the real servers behind the
> HA balancers did not have proper networking set up.  I needed a dummy
> interface with the cloned ip address and had not discovered that step
> yet.
>
> >
> > > Has anyone done this?
> >
> > no, why do you try to put the HA stuff into a guest?
> > HA setups on the host (for guests) are known to work
> > perfectly fine, including complete guest failovers
>
> The reason is that my HA machines are not providing HA for vserver
> machines.  I have some real websites that I wanted load balancing and
> redundancy for.  I didn't want to put the HA machines on the real
> machines and didn't have two extra servers to build into load
> balancers.  HA takes so few resources that I decided it practical to
> install a couple HA guests on my existing vserver hosts.  It's easy to
> back them up with my other vserver backups and is working quite well
> now actually.
>
> Thank you for the reply!
> -Dennis
>



-- 
--------------------------------------------------------------
Promové la cultura, compartí tus libros


Hi Dennis, I didn't try what you want to do yet (it's in something like the stack of todo tasks ;) but I needed when implemented vservers here to set up a dummy interface, I think this could help you. I've tried to schemes: the vserver host on the lan and vps guests on a private lan with the host as gateway/firewall. The another is connecting out the host and the guests into the same lan, all of them at the same level. In this last case the host is still the firewall for the others but there's no network isolation. The dummy interface in the first case, exists for the host and have one extra ip for every guest you have. In the second, no dummy ip for the host is needed, so they are only setup for the guests.
If you need some examples, I can send you some lines.

Regards,
Gustavo


On 10/5/07, Dennis Muhlestein < djmuhlestein@gmail.com> wrote:
> is the guest aware if that address at service bind time?

Actually, the issue I was having is that the real servers behind the
HA balancers did not have proper networking set up.  I needed a dummy
interface with the cloned ip address and had not discovered that step
yet.

>
> > Has anyone done this?
>
> no, why do you try to put the HA stuff into a guest?
> HA setups on the host (for guests) are known to work
> perfectly fine, including complete guest failovers

The reason is that my HA machines are not providing HA for vserver
machines.  I have some real websites that I wanted load balancing and
redundancy for.  I didn't want to put the HA machines on the real
machines and didn't have two extra servers to build into load
balancers.  HA takes so few resources that I decided it practical to
install a couple HA guests on my existing vserver hosts.  It's easy to
back them up with my other vserver backups and is working quite well
now actually.

Thank you for the reply!
-Dennis



--
--------------------------------------------------------------
Promové la cultura, compartí tus libros