WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Federico Fanton" <federico@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Booting Xen domU from DRBD 8.2
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=a68G08NaG0ViCgiV1OXtO6k4kFNAgNMoGZ0VtujsEwo=; b=eYYMUwN1wIO3XZWgTAb2iYITlzo8NoS9S9luroN0HEaDRUNTGP9HulLkentaxqkCTK AhV3P/tSkmLCMRvAKPZVTGZ4ezASrT+Bs44ClVuwt79UytbDDMAO+nTyAsL/MsoaSwuN /UXmcUigbYi7yoejcCV5ccO9es6cVK7jEjzR8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8b711df40810130752n54789cadj1b0c15d7a47a6935@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20081009215712.ca36d334.federico@xxxxxxxxxxxx> <8b711df40810130752n54789cadj1b0c15d7a47a6935@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>