OpenVZ: Performing a manual migration using prlctl Print

  • 0

As a node administrator, it may be necessary for you to migrate VPS' to another physical node.

This short guide is intended for administrators of OpenVZ 7 VPS Nodes that use prlctl.

Quite simply, run the following command, ideally, in a Linux screen session:

prlctl migrate fc70d533-91d5-4216-9637-e43bdef2c3b0 root@ --clone --ssh "-p 22"

You would want to replace fc70d533-91d5-4216-9637-e43bdef2c3b0 with the container ID, with the destination node IP, and 22 with the destination node SSH port, if not 22.

A successful migration would look something like this:

[root@sabar ~]# prlctl migrate fc70d533-91d5-4216-9637-e43bdef2c3b0 root@ --clone --ssh "-p 22"
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Migrate the CT fc70d533-91d5-4216-9637-e43bdef2c3b0 on ()
root@'s password:
Checking preconditions
Copying static data

The CT has been successfully migrated.
[root@sabar ~]#

You're done!

We included the --clone flag in order to retain the VPS on the source node, which will allow you to double-check that the migration completed successfully. Once you are happy it has done so, you can remove the source node VPS at your leisure, using prlctl delete.

Was this answer helpful?

« Back

We've worked with 25,506 customers in 143 countries - come & join us!
Dr Robert James June 16, 2024
"Server is very fast"

I got a VPS from Ethernet Servers and everything about their service i s good. The server is very fast, 24 hr customer support, prompt trouble shooting at back end. Pricing is reasonable. I would love to avail of their services for a long time. :) Thank You. Dr Robert James

Daniel Imray June 7, 2024
"Very good choice"

Amazing so far, everything seemed to work great when I put my first si te up, when I had some minor queries I got very quick responses to support requests. I'm very glad I found Ethernet Servers, as I didn't have a clue what hosting site to use, or how they work, but this seems to be a very good choice.

mahdi khoramnejad May 19, 2024
"Best support"

They have the best support. It's really great.

OR.S May 10, 2024
"Highly recommended"

Excellent host. Prompt replies in good, clear English, easy migration from HG, good speed, all necessary info provided on sign up (ftp, logins etc) error free. Highly recommended

Ethernet Servers Ltd
124 City Road
United Kingdom

Registered Limited Company: #09114946

+44 330 043 1258


Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 143 countries since July 2014!