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] iscsi vs nfs for xen VMs

To: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Subject: Re: [Xen-users] iscsi vs nfs for xen VMs
From: Adi Kriegisch <adi@xxxxxxxxxxxxxxx>
Date: Thu, 27 Jan 2011 17:07:57 +0100
Cc: Pierre <pierre@xxxxxxxxxx>, Christian Zoffoli <czoffoli@xxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 Jan 2011 08:10:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <sig.9008fbcee9.AANLkTimnpy06ozrYcHXX1ph0yE2SE7zg=7W0_ijO7JCD@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: <4D4032C7.9000003@xxxxxxxxxxx> <1daff6e.e808.12dc3148556.Coremail.ooolinux@xxxxxxx> <4D40655B.20100@xxxxxxxxxxx> <20110127083846.GE29664@xxxxxxxx> <sig.7008e5f88f.AANLkTikSkZWkskOCGECNaDuvpS-nnHJRkg9gO3R3OcFw@xxxxxxxxxxxxxx> <20110127110417.GG29664@xxxxxxxx> <sig.200839f1cd.AANLkTinG0kv34S9QitgF3eY2Txv5sdGjj3n-gPZvQTKu@xxxxxxxxxxxxxx> <20110127134858.94674i34u8mfznok@xxxxxxxxxxxxxxxxxx> <4D416C6B.9080204@xxxxxxxxxxx> <sig.9008fbcee9.AANLkTimnpy06ozrYcHXX1ph0yE2SE7zg=7W0_ijO7JCD@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Hi!

> >> With that setup, are you able to do live migration ?
> >
> > no he cannot
> >
> > he can do live migration if he make the raid1 inside domus
[SNIP]
> 
> Why not?
> 
> Live migration only relies on shared storage on the dom0, not on the domU
Right... The part of "storage" you need to share is whatever you export to
your domU. So if you use something like:
   (...)
   'phy:/dev/my-cool-volume-group/server-disk,xvda1,w'
   (...)
you need to take care that the very same disk exists on every single dom0
participating in this cluster. In case you want to use software RAID your
DomU config looks like this:
   (...)
   'phy:/dev/md10,xvda1,w'
   (...)
So /dev/md10 needs to be available on all dom0 -- which isn't, of course...

As a side note: I never tried this and I would NOT recommend to ever use
that, but it could be possible to do such crazy stuff: If you can ensure
that only one domU has access to a device and you somehow manage to make
RAID device names unique within your cluster and you can ensure that no
dom0s have any of those RAID monitoring jobs running then it could work (at
least for some time) -- but it is pointless, as you have no control
whatsoever over your raid devices, there is no monitoring at all and in
case you need to rebuild, you need to carefully check on which host you'll
do it... Ah, and upgrades of <your-favorite-distro> will be pretty hard to
do as you need to stop [pre|post]-upgrade scripts from snapping in and
touching your RAID devices.

-- Adi

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