Subject: Re: [vserver] HA vserver in an active/active configuration
From: Jon Bendtsen <jbendtsen@laerdal.dk>
Date: Tue, 5 Feb 2008 14:00:23 +0100

On 03/02/2008, at 11.07, 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.

If you use a different mark in /etc/vservers/*/apps/init/mark
Like A or B, and then start the respective vserver guests
for the respective real servers. Should the other server fail,
just start the vservers with that servers mark.

That way you should be able to keep all /etc/vservers/* copied
on all servers without problems.

You might also be able to keep the "home" dirs in /var/lib/vservers/*
copied.



JonB