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

AW: [Xen-users] Live migration and drbd


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.