The GuestName parameter represents the name of the guest which you want to migrate.
The DestinationURL parameter is the URL or hostname of the destination system. The destination system must run the same version of Fedora, be using the same hypervisor and have
libvirt running.
Once the command is entered you will be prompted for the root password of the destination system. 示例:使用 virsh 进行实时迁移
这个示例是从 test1.bne.redhat.com 迁移至
test2.bne.redhat.com。请为您的环境更改主机名。这个示例迁移了名为
CentOS4test 的虚拟机。
This example assumes you have fully configured shared storage and meet all the prerequisites (listed here:
迁移要求).
确定客户端正在运行
在源系统 test1.bne.redhat.com 中确定
CentOS4test 正在运行:
[iyunv@test1 ~]# virsh list
Id Name State
----------------------------------
10 CentOS4 running
在目的系统 test2.bne.redhat.com 中确认
CentOS4test 正在运行:
[iyunv@test2 ~]# virsh list
Id Name State
----------------------------------
10 CentOS4 running