]> git.proxmox.com Git - qemu-server.git/commit
allow dedicated migration network, bug #1177
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 31 Oct 2016 08:42:31 +0000 (09:42 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Nov 2016 08:51:23 +0000 (09:51 +0100)
commit2de2d6f74e6b8094cf165bf7faad62134843258d
tree3ac9737e3bc88deeec0033c79276efb0aa3c4a81
parent613d76a179879eaa2aa108293dba249effa40c89
allow dedicated migration network, bug #1177

Without this patch we use the network were the cluster traffic runs
for sending migration traffic. This is not ideal as it may hinder
cluster traffic. Further some users have a powerful network which
would be perfect for migrations, with this patch they can run the
migration traffic over such a network without having the corosync
traffic on the same network.

The network is configurable through /etc/pve/datacenter.cfg which
got a new property, namely migration. migration has two
subproperties: type (replaces the old migration_unsecure property)
and network.

For the case of a network failure or that a VM has to be moved over
another network for arbitrary other reasons I added the
migration_type and migration_network parameters to qm migrate (and
respectively vm_start as this gets used on migration).
They allow overwriting the datacenter.cfg settings.

Fixes bug #1177

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuMigrate.pm
PVE/QemuServer.pm