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

Re: [Xen-users] Booting Xen domU from DRBD 8.2


  • To: "Federico Fanton" <federico@xxxxxxxxxxxx>
  • From: "Daniel Asplund" <danielsaori@xxxxxxxxx>
  • Date: Tue, 14 Oct 2008 00:11:54 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Paras pradhan <pradhanparas@xxxxxxxxx>
  • Delivery-date: Mon, 13 Oct 2008 15:12:34 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NRFUWdohSMg1TS69l9aLzujzER5985wiYng5He5TOwoIgxE2R47Sg16Gt6ZZU2yowS RbVpmKQM2x2VUAo5jDbJV0jf/wJdWV6D2f3F6Ncm+zcWXwsHKMYYWcKXCGx9gG6NRSPa ZFxj5PIV0JuVEf9kesNd2hRcsmUBrv7CLhOgY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Mon, Oct 13, 2008 at 4:52 PM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
>
>
> On Thu, Oct 9, 2008 at 2:57 PM, Federico Fanton <federico@xxxxxxxxxxxx>
> wrote:
>>
>> Hi everyone!
>> I'm trying to setup live migration of a paravirtualized Xen domU between
>> two identical machines (Dell PowerEdge T105) running CentOS 5.2 x86_64
>> I followed the guide at
>> http://www.asplund.nu/xencluster/xen-cluster-howto.html, even if it is for
>> Ubuntu, because I couldn't find a recent one for CentOS :/
>>
>> Right now I have the domU running on a node on top of LVM, and drbd is
>> mirroring the lvm devices between the two nodes..
>> The next step should be to configure the domU to use drbd
>> (http://www.asplund.nu/xencluster/xen-cluster-howto.html#DomU drbd config),
>> but I can't figure out how to tell virt-manager/virsh to use the drbd
>> devices..
>>
>> Am I going the wrong way? Should I setup DRBD first and _then_ install the
>> domU maybe? (the guide goes the other way round)
>> Should I ditch pygrub and boot the domU directly from its kernel/initrd?
>
> Yes. first setup drbd which will result /dev/drbd0, drbd1,..... and install
> guests there.
>
> Paras.

Hi Federico,

Great to see people using my guide. ;)

Unless something has changed lately, it is not possibly to run pygrub
when using DRBD. A possible solution might be this:
http://www.antibozo.net/xen/qemu-dm.drbd Nothing I have tried myself
(haven't even use pygrub), but I found it when doing a search for DRBD
and pygrub.

The order you setup up DRBD should not make any difference. The only
gain I can see is that you avoid having to reedit your config files. I
put it in this order in the guide to avoid introducing new things
before testing basic functionality.

Good luck with your setup.

Daniel

_______________________________________________
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®.