vzmigrate - please advice on how to migrate efficiently? [message #51162] |
Thu, 27 February 2014 21:44 |
![](http://new-forum.openvz.org/images/custom_avatars/7281.gif) |
postcd
Messages: 73 Registered: April 2013
|
Member |
|
|
Hello dear VZ users,
i want to ask You to express your idea on how to migrate VMs efficiently from one server to another.
I used this script to migrate all VMs:
Quote:for CT in $(vzlist -H -o veid);
do vzmigrate -v --remove-area no --live --keep-dst --ssh="-p 22" MYNEWSERVERIP $CT;
done
But it ended up failing to transfer at least one VM (90GB one)
Moreover after migration all VMs on OLD server stopped working!
why? vzmigrate changed names of VMs config files so they instantly stopped working on old server! (/etc/vz/conf/vmid.conf.migrated), thats for a purpose, it can be disabled by: --readonly parameter
And there i want to ask your kind advice.
What is the process to transfer efficiently in clever way all VMs without downtime?
I mean on new server are different IPs and during vzmigrate, i hardly spot which one is transfered and which not..
How to manage this migration work to minimize downtime?
[Updated on: Thu, 27 February 2014 22:01] Report message to a moderator
|
|
|