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

xen-users

[Top] [All Lists]

Re: [Xen-users] migrating with physical device as VBD

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] migrating with physical device as VBD
From: Jan Schulze <schulze@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: 2008年4月01日 10:18:41 +0200
Delivery-date: 2008年4月01日 01:19:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E2BB8074E5500C42984D980D4BD78EF9022A7067@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47F149A6.5050508@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <E2BB8074E5500C42984D980D4BD78EF9022A7067@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070221)
Ross S. W. Walker wrote:
> Jan Schulze wrote:
>> Hi all,
>>
>> I am wondering, whether it's possible to migrate a DomU from one XEN Host to
>> another *without* using shared storage. All HowTos that I found so far, are
>> using some kind of shared filesystem or block device.
>
> Shared storage is mandatory, but it doesn't have to be traditional multi-host
> scsi or fiber channel, with technology like iscsi and software like drbd
> shared storage can be done on the cheap.
>
>> The DomU in question is using a physical device (partition /dev/sda1) that is
>> exported as VBD from Dom0. If migration is possible with that setup, where 
>> will
>> the DomU end up on the target system?
>
> It needs to be accessible there too at the same time, thus why shared storage
> is mandatory. Check out drbd, the latest version does primary-primary which
> is what you need for live migrations.
DRBD seems really interesting. However, when using primary-primary, I
would also need a cluster file system. As my existing DomU uses ext3, I
won't be able to use DRBD in a primary-primary setup, right?
>> In case, migrating this DomU won't work, I would have to copy the VM 
>> manually.
>> Is it possible to access the contents of /dev/sda1 from Dom0? Simply shutting
>> down the DomU and mounting /dev/sda1 in Dom0 does not work.
>
> There will be a partition table within that partition, so you can run
> kpartx -a /dev/sda1, and access the first partition via /dev/mapper/sda11,
> or mount it via a loopback mount to the offset of that partition.
>
> # mount -t <fstype> -oloop,offset=<part offset> /dev/sda1 /mnt
Thanks, did not know that. Very useful.
Regards,
Jan
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] Weird question about deploying xen vms to showcase and collaborate , William Heath
Next by Date: [Xen-users] Ubuntu feisty dom0 and centos 5.1 domU problems , William Heath
Previous by Thread: [Xen-users] Weird question about deploying xen vms to showcase and collaborate , William Heath
Next by Thread: RE: [Xen-users] migrating with physical device as VBD , Ross S. W. Walker
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /