Re: [vserver] HA vserver in an active/active configuration

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Sun 03 Feb 2008 - 10:43:44 GMT
Message-ID: <37163.192.168.101.12.1202035424.squirrel@intranet>

Christian Balzer wrote:
>
> Hello,
>
> 2 hosts, shared storage (SAN, DRBD, iSCSI, it doesn't really matter)
> and Linux HA aka heartbeat as a CRM. The obvious goal is to have the
> vservers on host A to fail over to B if need be.
> The equally obvious problem is that util-vserver is expecting the configs
> in /etc/vservers and the vserver command has no command line option to
> specify the config directory.
> Am I interpreting things correctly that the only feasible solution to
> this will be a symlink farm? The servers will be brought up by a
> custom script within heartbeat, which will not attempt to fire up
> vservers that are not currently local to the host, preventing utter
> confusion. The actual configs that are being symlinked to will be on
> shared storage.
> Can anybody thing of something more elegant than this?

vserver /path/to/config start is supposed to work. If it doesn't, it's a
bug that will be fixed.

> Aside from that I was hoping for vserver 2.4 or some other miracle to
> deliver working 127.0.0.1 loopbacks by the time I'm rolling this out,
> but I guess all those sacrificial goats did not help. ;)
> It's not hard to work around, but painful to explain to internal and
> external customers all the time. ^^

Explain what, exactly? That connect and bind are rewritten to the guest's
first IP address (for Linux-VServer <2.3)?

-- 
Daniel Hokka Zakrisson
Received on Sun Feb 3 10:57:28 2008
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 03 Feb 2008 - 10:57:32 GMT by hypermail 2.1.8