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

Re: [Xen-users] swap partition and live migration.



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

 


Rackspace

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