You may get some ideas here: http://linux-vserver.org/Fail-over If you are using drbd 8 you probably do not need the ocf agent on that page (it is for drbd 7), but there is a small vserver ocf agent that might be helpful. -Martin --- On Thu, 9/11/08, Christian Balzer <chibi@gol.com> wrote: > From: Christian Balzer <chibi@gol.com> > Subject: Re: [vserver] vserver heartbeat > To: vserver@list.linux-vserver.org > Date: Thursday, September 11, 2008, 6:26 AM > Hello, > > On Thu, 11 Sep 2008 11:56:44 +0200 randall wrote: > > > > what i would like to achieve is a fail over scenario > with heartbeat-2 > > and drbd8 on Etch > > > I am doing exactly that (w/o LVM), using the latest > versions from > backports for HB/DRBD/vServer on a hand rolled kernel. > > See my mail in the archives here for a needed fix of the > drbddisk > script when used with vservers here: > http://list.linux-vserver.org/archive?mss:835:200803:cgehldioambmojimggpf > > How you start up the vservers very much depends on your > scenario, > we wrote a (very simple and in need of enhancement before I > would dare > thrust it upon the world) HB resource agent that fires up > all vservers > under heartbeat control. We use a common big drbd resource > and filesystem > for all guests (and their configs), other people seem to > prefer one > resource per guest. > > Regards, > > Christian > -- > Christian Balzer Network/Systems Engineer > NOC > chibi@gol.com Global OnLine Japan/Fusion Network > Services > http://www.gol.com/ > https://secure3.gol.com/mod-pl/ols/index.cgi/?intr_id=F-2ECXvzcr6656