kvm migration and HA.

RobFantini

Famous Member
May 24, 2012
2,009
102
133
Boston,Mass
I've found that if a kvm is managed by HA , that manual migration does not work.

Is that as it should be , or possibly I've something set up incorrectly?
 
work here. but how do you "manual" migrate?

If you click "migrate" via GUI the migrations should just work (if not, post the two corresponding task logs)
 
I did the migrate from pve .

the log shows:

Code:
[COLOR=#000000][FONT=tahoma]Executing HA migrate for VM 102 to node fbc241[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Trying to migrate pvevm:102 to fbc241...TASK ERROR: command 'clusvcadm -M pvevm:102 -m fbc241' failed: received interrupt

[/FONT][/COLOR]


I pressed ctl-c after 4-5 minutes...

then after removing it from HA:

Code:
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:07 starting migration of VM 102 to node 'fbc241' (10.100.100.241)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:07 copying disk images[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:07 starting VM 102 on remote node 'fbc241'[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:09 starting migration tunnel[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:09 starting online/live migration on port 60000[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:14 migration status: completed[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun 03 11:55:14 migration speed: 51.20 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Jun[/FONT][/COLOR][COLOR=#000000][FONT=tahoma] 03 11:55:17 migration finished successfuly (duration 00:00:10)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK OK
[/FONT][/COLOR]


the old cluster.conf line was:
Code:
<pvevm autostart="1" domain="fbc241-fbc240" vmid="102"/>
 
Last edited:
seems to be something wrong. check your HA configuration, Fencing, etc, also tell details about your storage (where are the VM disks stored?).
 
seems to be something wrong. check your HA configuration, Fencing, etc, also tell details about your storage (where are the VM disks stored?).

the shared storage is drbd . in dual primary mode. it was set up using wiki and forum posts.
drbd is built from source . 8.3.13 is the version.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!