[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen, LVM, DRBD, Linux-HA


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Daniel Asplund" <danielsaori@xxxxxxxxx>
  • Date: Tue, 22 Apr 2008 23:24:43 +0200
  • Delivery-date: Tue, 22 Apr 2008 14:25:21 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hm/XWU7zegjhcpGgwz4Ijr6AB3YOc93sgMOcjTJ3OFfGFoDvTaX6quZdj5k1wBgvxDbr9V4pwhLhdQIT5568wj/+vSlXTm+zX3LzhrbxEjDAgQa+ATDgwz/XRPhUprvq98dAFazFy/nwrxXm5P6qEakwEhZW8Od8Kykt3VIvaEY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I get the impression that you want to run Linux-HA inside of the VM. Why not put it on the Dom0 in your two physical nodes and have them control all your VMs? Have you considered that or is it not fulfilling your needs?
I have a setup like that with two physical nodes. For each VM I create the needed LVMs, same size on both nodes. I create a DRBD resource for each LVM to have the data mirrored between the two nodes. Have each VM configured to use its DRBD resources. Have heartbeat install on both nodes that controls fail over of all VMs.

Live migration works for all para-VMs but not for HVMs. With HVMs I use heartbeat to shutdown it down before starting it on the other node.

Cheers, Daniel



On Tue, Apr 22, 2008 at 12:28 AM, Rainer Sokoll <rainer@xxxxxxxxxx> wrote:
Hi,

I want to put it all together.
So far, I have a running machine with multiple domUs, and I am very
excited. But now I want to go a step ahead:
I have two identical machines with a big amount of RAM and disk space.
My goal is to hve all the domUs almost redundant - and want to ask you
for your advice.
The plan is to have every VM in its own logical volume and have DRBD
replicate this volume to the other machine. Assumed Linux with Linux-HA
runs in a VM, here comes my question:
If the complete Linux VM runs in its own logical volume, Linux-HA cannot
work, since the configuration must not be the same on both sides. One
solution would be to have a minor file based backend that holds /etc/,
/proc/, /var/, /boot/ (and maybe more?). Or maybe there is a more
sophisticated solution?
How would you start?

Thanks,
Rainer

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.