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're trusted by amazing customers in 136 countries - come & join us!
Matthew Beausoleil February 4, 2024
Everything is working as expected

I was looking for a simple syncthing server and didn't need anything fancy. I found Ethernet servers on server hunter and chose them because of their low price and good reviews. I had access to my server within a few minutes. It was easy for me to change the ubuntu to Centos and everything is working as expected.

Sameed Sohani January 21, 2024
Great service overall thus far

Three reasons I decided to try out the service: I heard and subsequently saw that the prices were great, it is very hard to beat those unmanaged special offer prices. I heard that the service was reliable, so far so good. It's only been a week, but I hope that it will continue to be reliable as I use it more. I heard that the support is excellent, and I have to agree. Great service overall thus far.

ジエント January 12, 2024
The networks are top of the line

Great upload and download speeds, apt-get updating is a breeze. The only mishaps was on my end, ssh had some weird buffer lag (sometimes unresponsiveness) that has to do with my connection with my isp. Just make sure your connection stable and everything should work just fine. The networks are top of the line.

Atul Sharma Atul Sharma
Nothing but a joyful experience

Been with them for a week and the transition from old hosting to ethernetserver has been nothing but a joyful experience. Setting up new vps, networking is like a breeze. All set up by george and nothing to worry about really.


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 136 countries since September 2013!