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-devel

Re: [Xen-devel] [PATCH] xend: drbd improvements

To: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xend: drbd improvements
From: Shriram Rajagopalan <rshriram@xxxxxxxxx>
Date: Thu, 16 Dec 2010 16:58:59 -0800
Cc: Berthold Gunreben <bg@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 16 Dec 2010 17:00:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=/2A3/r08fDebl0+qE1vLyuxxNJgD2mJ8Rt8FC+j6OKE=; b=hzAL6cbi6DA6dJH6gMa0FaK7Rmpha70oVJKgV9nYcnJKBrceaG1jjvqnmnSKuMeQUo Pefd+KXQQI/2pUuXRLvpF+xTS0CPfOidKqnnhzMSGXIadIGNKKJS9qBURqs0hBgDmZiJ Zel3WFgo0EaGsdlUf/FKYRoD08hXETz3pmeO0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=mH0ZVZxytRqkNWcyK82nKp5FiAPKsKDg1eKtA34iviz+yAvuFRSGSqGCiGvNPJDOdW b7KSltaM4aZ9+QxeB3oXmp4iVDtwoU4f5UXFK1A0QRfnZ8p4Iz9gKMzJxR+/L5EmKse7 mAtahYXvGvjIrVbPGbHuUUBLcEstTlYvyMmoQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D0AB298.4080202@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <fb0498c0cbdd6be20bbc.1289325040@xxxxxxxxxxxxxxxxxxxxxxxxx> <19673.37479.133902.499115@xxxxxxxxxxxxxxxxxxxxxxxx> <4CD9C962.4030701@xxxxxxxxxx> <4CDADB46.7020100@xxxxxxxxxx> <4D0AB298.4080202@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
According to the block-drbd script's comments, live migration with
DRBD based disks
require dual primary setup and the block-drbd script automatically handles
 "changing the target host's vm disk to primary" when live migration
is initiated.

Removing drbd support from xend would necessitate an external agent to
actually promote the guest disk in target host to primary mode.

shriram


On Thu, Dec 16, 2010 at 4:45 PM, Jim Fehlig <jfehlig@xxxxxxxxxx> wrote:
> Jim Fehlig wrote:
>> Jim Fehlig wrote:
>>
>>> Ian Jackson wrote:
>>>
>>>
>>>> Jim Fehlig writes ("[Xen-devel] [PATCH] xend: drbd improvements"):
>>>>
>>>>
>>>>
>>>>> xend: drbd improvements
>>>>>
>>>>> 1) drbdadm state is debrecated, and the script tries to detect the
>>>>> primary/secondary information from the deprecated message
>>>>> 2) os.popen2 does not work with the array as argument
>>>>> 3) popen2 is deprecated since python2.6
>>>>>
>>>>>
>>>>>
>>>> Forgive my ignorance, but: why does xend need to mess with drbd at
>>>> all ?  Why can't it just open the block device ?
>>>>
>>>>
>>>>
>>> Good question.  I too was surprised to see special casing of drbd within
>>> xend.  Seems c/s 20158 added this code to allow bootloaders (pygrub,
>>> domUloader, et. al.) to work with drbd devices using the 'drbd:resource'
>>> syntax.  Perhaps the author of that patch (cc'd) can provide more
>>> details.
>>>
>>
>> The patch author's mail address is no longer valid, so we won't be
>> receiving any feedback from him :-(.
>>
>
> Sorry for the delay here, but I finally got around to investigating this
> further.  As it turns out, drbd's block-drbd script handles all of the
> details that c/s 20158 introduces within xend :-(.  IMO, this c/s should
> be reverted as it causes a regression.  I've tested drbd without this
> changeset and it works fine.
>
> Regards,
> Jim
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>



-- 
perception is but an offspring of its own self

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

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