Re: on special migration(domain defined, not started yet)

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

 



On 07/31/2012 09:30 PM, liguang wrote:
> Hi, All
> 
> If a VM domain defined, but not started yet,
> and I want to migrate it to another server,
> so that It can be started at there, what's 
> should i do? or is it rational?

Yes it is rational, and you're not the first to request it.
Unfortunately, we haven't yet taught 'virsh migrate' to support offline
migration, even though (or because?) it is dead simple to cobble
together yourself:

source$ virsh dumpxml $dom > file.xml
dest$ virsh define file.xml

optionally followed by
source$ virsh undefine $dom

Patches are welcome to make 'virsh migrate' automatically handle an
offline migration.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]