OpenVZ Forum

Home » General » Support » OpenVZ7 - Migrate options: vzmigrate, or prlctl migrate?
icon2.gif  OpenVZ7 - Migrate options: vzmigrate, or prlctl migrate? [message #53286] Fri, 18 May 2018 07:19 Go to previous message
TomB is currently offline  TomB
Messages: 30
Registered: July 2017
Location: -Root-
From: 185.92.69*
Hi all,

I have several servers in different datacenters with public ip addresses assigned, think of ovh etc. There is no better solution for public containers than OVZ7, that is a fact.
I am stuck on migrating containers between the datacenters.

vzmigrate is deprecated.
-r, --remove-area no = no longer works, the container is deleted after the migration..

OVZ Migrate is for container migration from virtuozzo 6 to virtuozzo 7+ and works, but is this the official way for OVZ7 to OVZ7?

prlctl migrate p/_prlctl_migrate_2.html
This does not work.. I have different SSH ports on each machine.
But even on port 22 I get a network broken error. python3 is active on the destination server after the command prlctl migrate command (for 3 seconds), but it fails.

How can I migrate from Server 1 SSH Port 2210 to Server 2 SSH Port 2211 without and without destroying my container on server 1?

prlctl migrate 92b9870b root@ x.x.x.x--ssh "-o Port=2211"
prlctl migrate 92b9870b root@ x.x.x.x:2211

Results with firewall disabled:
Failed to migrate the VM: Unable to establish a connection between "x.x.x.x" and "". The network connection between these servers may be broken, or one of the servers may be down. Contact your Virtuozzo administrator for assistance.

I would love to hear from someone who knows this Smile

Linux 3.10.0-693.21.1.vz7.46.7 #1 SMP Fri Apr 20 17:42:34 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux

[Updated on: Fri, 18 May 2018 07:29]

Report message to a moderator

Read Message icon2.gif
Read Message
Read Message
Previous Topic: Precreated templates for OpenVZ 7
Next Topic: openvz6 ploop backups and mysql innodb corruption
Goto Forum:

Current Time: Sat Jul 04 19:53:48 GMT 2020