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/
Home Products Support Community News


Re: [Xen-users] Live migration and drbd

To: "Rainer Sokoll" <rainer@xxxxxxxxxx>
Subject: Re: [Xen-users] Live migration and drbd
From: "Daniel Asplund" <danielsaori@xxxxxxxxx>
Date: Mon, 10 Nov 2008 09:46:29 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Nov 2008 00:47:08 -0800
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=NWPKm9Z8au3pp2s49oyVLPpIrQf7wyxv8nSZI9btJ3Y=; b=hKUVzxSIDYv7kFuLuLBYlqz2tuWDy2XBlDAt7lRcTSrzSzT2s0vkUUcYS1dqo8hR2U kf89SxvPm/eE3ogscafzNMMdNT0MFIbzQryfKXpZCCvjMYirZozXmiKR0V0zYDk9Rhsi IXEgiU8fpoIugGyWIvVXyv1nytMHLA0c33ZdY=
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=j6c0XO/ZUfcEqNF3dO9DNeb3AsZaY6xA7uHtFMEBZDIWpd6QVfVpqnnRyj4UgCb2V3 Mn/ca2c+ViVMmg7J2fXWQlHT23Yzu7qkarV+pDzscSxN5NYv4MaY/08ujEjLKLivdC5V mq3ACguMWsmzrQFbkYT2map9gJssYgaocnyBA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081108090556.GQ19416@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20081108090556.GQ19416@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> Hi,
> I have a machine running several DomU's, PVM's als well as HVM's. Each
> DomU resides in its own LV.
> Also, I managed drbd to replicate the LV's to a second machine. Now, I
> want to try out Xen's ability to live migrate a running DomU, that
> means, from machine1's LV to machine2's LV. If I understood this
> correct, during the process of migration, both LV's need to be writable.
> In a default installation, drbd only supports one primary node, but I
> need primary/primary, correct?
> Here it comes to a cluster filesystem like OCFS - and I am stuck. How
> can OCFS help me? Or am I totally wrong and what I want is impossible?
> The main goal, of course, is to have a redundant fail over solution.
> If my question is more related to drbd-users, I'll switch over to the
> other list.
> Thanks,
> Rainer

Hi Rainer,

Basically the only prerequisite is that you run DRBD8, which gives you
primary/primary, to get live migration working. You don't have to
bother with cluster aware FS. Both nodes will not have exclusive
access at the same time so running ext3 is perfectly fine.

You can have a look at this guide to get some additional information:

Xen-users mailing list