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

From: Jon Bendtsen <jbendtsen_at_laerdal.dk>
Date: Tue 05 Feb 2008 - 13:00:23 GMT
Message-Id: <F91FF21C-C5AD-4A65-950D-FB4C4D6F81B2@laerdal.dk>

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
Received on Tue Feb 5 13:00:56 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 05 Feb 2008 - 13:01:01 GMT by hypermail 2.1.8