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] swap partition and live migration.

To: "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] swap partition and live migration.
From: Denny Schierz <linuxmail@xxxxxxxx>
Date: Fri, 17 Aug 2007 02:44:31 +0200
Delivery-date: Thu, 16 Aug 2007 17:45:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <718828c0708161733odb7aee5m5017d10c2e653177@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/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: <718828c0708161733odb7aee5m5017d10c2e653177@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070604)
hi,

Tomoki Taniguchi schrieb:
> when performing a live migration i know the contents of the ram
> is copied over two the new xen server, but how about the contents
> of the swap partition.

two different ways:

first: you have the guest installed into a disc or file, which has
partitions inside (root and swap), so that it only necessary to share
the disk/file over the network.

If the root (/) from the guest in a file, or disc without partitions,
than you have to make sure, that the SWAP file is available on the same
path. You can't create just a new SWAP, cause you don't know if
something was swapped out. First you have to do a swapoff and remove the
disc inside the guest, and after the migration add the disc again and do
a swapon.

the better way is to you the swap file on NFS, or use ISCSI.

cu denny

-- 
Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog:
http://www.nopsis.de

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>