I use live migration with xen (stable) domain on NFS root filesystem. I do not understand how to setup and migrating swap space in xen for live migration. two VBD as swap disk? Swap space on NFS?? Any help would be greatly appreciated, Thanks Daniele _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
daniele patoner wrote:> I use live migration with xen (stable) domain on NFS root filesystem. > I do not understand how to setup and migrating swap space in xen for > live migration.Your best bet is probably to just deactivate swap during live migration (via swapoff). Then reactivate it once migration is complete. Regards, Anthony Liguori> two VBD as swap disk? Swap space on NFS?? > > Any help would be greatly appreciated, > > Thanks > > Daniele > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> two VBD as swap disk?That won''t work unless you transfer the contents between them on migration.> Swap space on NFS??That''d work, although it may require a kernel patch (or at least a recompile) to enable swapping to NFS. Another approach (better performing than swapping to NFS) would be to swap to a GNBD disk on a server somewhere. I''m not sure if Linux can natively swap to GNBD but you could configure the GNBD device on both dom0''s (same device node on each) then just export that as a VBD to the guest. Swapoff before migration (as Anthony suggested) should also work. Cheers, Mark> Any help would be greatly appreciated, > > Thanks > > Daniele > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 10 May 2005, daniele patoner wrote:> I use live migration with xen (stable) domain on NFS root filesystem. I > do not understand how to setup and migrating swap space in xen for live > migration. > > two VBD as swap disk? Swap space on NFS?? > > Any help would be greatly appreciated,I''ve got a similar config; I use network block devices for swap, which works ok, but does cause a fair bit of load on the network. :) ------------------------------------------------------------------------ | nate carlson | natecars@natecarlson.com | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981 | ------------------------------------------------------------------------ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users