Cannot migrate with vzmigrate

marco44

Active Member
Jul 28, 2013
16
0
41
Hi,

I've been trying to migrate VMs with the command line (I have a lot of reorganization to do, and it will be very slow to do by hand).

vzmigrate --live -vv achille 105
Starting live migration of CT 105 to achille
OpenVZ is running...
Loading /etc/vz/vz.conf and /etc/vz/conf/105.conf files
Check IPs on destination node: 212.85.154.74
Preparing remote node
Copying config file
scp: /etc/vz/conf/105.conf: File exists
Error: Failed to copy config file

It's not to complain: I finally found that I should use vzctl migrate. But then, shouldn't vzmigrate be removed ?

Regards
 
Please use 'pvectl migrate' for migrations inside the cluster.

Note: vzmigrate is usable when you want to migrate back to an openvz only host (without pve)
 
Ah, OK. vzmigrate is made to migrate between nodes not part of the same cluster then ?
 
Ah, OK. vzmigrate is made to migrate between nodes not part of the same cluster then ?

No, only use that if you want to migrate to a non proxmox node (maybe it also works between different proxmox clusters, but we do not really test that).
 
Ok, I understand now. But should it be noted somewhere in the manpage or anywhere ? Because searching for a way to migrate containers from one node to another led me straight to vzmigrate.
 

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!