On 12/05/2012 12:05 PM, zhijun liu wrote:Indeed, when using native migration, you have to open a rather large
> hi,all
>
> when I try to migrate `vm0` from (192.168.1.102) to another
> host(192.168.1.200), the name `ubuntu1204` is 192.168.1.200's hostname.
>
> command is :
>
> `sudo virsh migrate --live vm0 qemu+tcp://192.168.1.200/system`
>
> the error is : unable to connect to server at 'ubuntu1204:49157':
> Connection refused.
range of ports that qemu might want to use.
http://wiki.libvirt.org/page/FAQ#What_setup_is_required_for_QEMU.2FKVM_migration.3F
http://libvirt.org/migration.html gives more details on how to do live
>
> however,when I try to virsh connect to 192.168.1.200 by tcp is no problem.
migration; in particular, you may want to try using --p2p to avoid
having to open any ports for qemu.
Otherwise, figure out how to add open ports to your firewall; but as I'm
>
> I dont know what the port 49157?how to fix it?
not an Ubuntu user, I can't really say how to do that on your system.
--
>
> version:libvirt:0.9.8
> system:ubuntu1204
>
> thanks in advance for any reply.
>
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org