SolusVM: Cancelling stuck migrations Print

  • 5

There is a rare bug which can occur with SolusVM, in which migrations will get stuck at 0% - no matter how much time passes, like so:

When this happens, do the following:

1) Connect to the SolusVM master via SSH

2) Execute the following command to create a database backup of the SolusVM master (it's unlikely it will be needed, but, better safe than sorry!):

curl -o svmdbdump.sh https://raw.githubusercontent.com/solusvm-support/helpers/master/svmdbdump.sh && sh svmdbdump.sh

3) Execute the following command to launch a MySQL session:

MYSQL_PWD=`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $3}'` mysql `cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $1}'` -u`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $2}'` -h`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $4}'`

4) Execute the following three commands, replacing "ID" with the ID of the VPS as shown in the URL when managing the VPS (i.e. https://yoursolusvm.com/admincp/manage.php?id=99999 - 99999 is the ID in this example)

update migrations set status = 2 where vserverid = 99999;
update migrations set status2 = 1 where vserverid = 99999;
update migrations set status3 = 1 where vserverid = 99999;

5) Open the SolusVM Migration page for the VPS in question.

6) Select "Migration failed. Clean ip the destination node and boot the source virtual server" 

You're done!


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
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
sales@ethernetservers.com

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

Proudly serving customers in 143 countries since July 2014!