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

AW: [Xen-users] Live migration and drbd

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: AW: [Xen-users] Live migration and drbd
From: "Rustedt, Florian" <Florian.Rustedt@xxxxxxxxxxx>
Date: Mon, 10 Nov 2008 11:07:24 +0100
Delivery-date: Mon, 10 Nov 2008 02:08:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081110094125.GA6461@xxxxxxxxxxxxxxxx>
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><4135a64a0811100046p7dce3ed1q1d69ddf519d9f84d@xxxxxxxxxxxxxx><152CD2A019ABF542B87AFDC5010DFBEE231743@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20081110094125.GA6461@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclDGARD/vJ1RsZ2T561VAojEvZsBQAA16Yg
Thread-topic: [Xen-users] Live migration and drbd
 Well, ok, if you're only running images with one side and have no shared 
virtual disks, then you only need write access from one side...

But the cute advantage of live-migration & drbd  & paravirtualization is, that 
you can do load-balancing with two active xen-hosts, so running several 
machines on both sides with several shared partitions, p.e. "/usr" or 
"/lib/modules", "/boot", "/usr/src", "/var/log" etc..

And in that moment, you've got concurrent access to the same file(system) and 
need an additional secutiry layer between.

So, as far as i can see, we're both right, depending on the eye of the beholder 
;)

Regards, Florian

-----Ursprüngliche Nachricht-----
Von: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Im Auftrag von Rafal Kupka
Gesendet: Montag, 10. November 2008 10:41
An: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-users] Live migration and drbd

On Mon, Nov 10, 2008 at 10:07:48AM +0100, Rustedt, Florian wrote:
Hello,

> No no,
> 
> that's not right!!
> You definetly need an network-filesystem for drbd primary/primary!

Not for Xen live migration.

> There are TWO systems, that access files for writing and both are not 
> running the same kernel ergo doesn't "know", that the other side is 
> actually locking/writing a file!

It is explained in http://www.drbd.org/users-guide/ch-xen.html. Xen needs 
primary/primary for block device write test during live migration only.

>From that manual:
"Enabling dual-primary mode is necessary because Xen, before initiating live 
migration, checks for write access on all VBDs a resource is configured to use 
on both the source and the destination host for the migration."

> So you need OCFS & co. For doing the file-locking....

If you want concurrent file access from two DomUs -- yes, otherwise no.

Regards,
Kupson
--
Great software without the knowledge to run it is pretty useless.
(Linux Gazette #1)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. 
They are intended for the 
named recipient(s) only.
If you have received this email in error, please notify the system manager or 
the sender immediately and do 
not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************


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