[libvirt] migration: why did we choose port 49152-49215 for migration as default?

Jiri Denemark jdenemar at redhat.com
Fri Apr 22 08:28:05 UTC 2016


On Fri, Apr 22, 2016 at 00:29:14 +0000, Zhangbo (Oscar) wrote:
> Hi all:
>     As we know,  "32768~61000" are random ports reserved for
>     customized use. 49152-49215 is in that range. We think that
>     setting migration port into this range, is a little risky. Because
>     other applications may have already taken these ports before we
>     migrate a guest, then the migration job would fail.
> 
>     So, why did we choose "49152-49215" as the default port range for
>     migration, any specific purpose? Thanks in advance.

I'm not sure why this specific port range was chosen and it doesn't
really matter since we can't change the default. But you can configure
libvirtd (in /etc/libvirt/qemu.conf) to use any range you wish.

Jirka




More information about the libvir-list mailing list