Skip to content

Convert from SolusVM to Feathur

BlueVM edited this page Nov 7, 2013 · 12 revisions

This guide will describe the general process for converting existing VPS from SolusVM to Feathur. This process does require a decent amount of technical knowledge and may not work 100%. If you need help we are available on IRC. If you'd like us to convert servers for you we can do it for $25 per server, simply submit a ticket on http://feathur.com

Before starting this converter we recommend you:

  • Perform a yum update or a apt-get update dependent on your system.
  • Check to make sure that screen, wget and rsync are installed on your system.

Quick Notes

  • Your servers must be running on CentOS 6 or Ubuntu 10.04+ to be converted to Feathur.
  • This isn't exactly a "friendly" converter. It may break, it may do weird things, etc...

Conversions

1 . Login to the server you intend to convert (you must convert one server at a time). Issue these commands:

mkdir .ssh
cd ~/.ssh
ssh-keygen (hit enter 3 - 5 times, once for each question)
cat id_rsa.pub >> ~/.ssh/authorized_keys
cat id_rsa (you'll want to copy this key)

2 . Take the key you got in step #1 from this guide and use it to add a new server to Feathur.

3 . Login to your existing installation of SolusVM. Go to Tools => Database => Download.

4 . On your computer extract the provided tar.gz and place the only file in it somewhere on your computer (you'll need it in the next step).

5 . Login to Feathur (again) and click on PHPMyAdmin. On the new window that loads create a database named solusvm. Open the database, click import, select the file from step #3 in this guide and press upload.

6 . Login to your Feathur master server via SSH.

7 . Copy /var/feathur/Scripts/solusvm-to-feathur.php to /var/feathur/feathur/

cp /var/feathur/Scripts/solusvm-to-feathur.php /var/feathur/feathur/

8 . Edit /var/feathur/feathur/solusvm-to-feathur.php with your favorite editor and update the provided settings:

// Settings
// Administrative login information (EG YOUR LOGIN)
$sEmail = "";
$sPassword = "";

// Default template id if OpenVZ. (Usually 1, but check database to be sure.)
$sDefaultTemplate = "";

// Converter Type allows for three types of conversions:
// 1 = Convert a single node to Feathur. (Will create an account for each user and add their VPS to it.) (YOU'RE PROBABLY GONNA USE 1)
// 2 = Convert all users so that they have an account on Feathur, but move no VPS yet.
$sConverterType = "";

// If conversion type equals 1, update the variable bellow to specify which node to convert.
$sNodeId = "";

// Only change this if you want to convert just one VPS from the node above. (EG: testing, missed one, etc...)
$sSingleVPS = "";

9 . Issue the command php solusvm-to-feathur.php. Read the output for any feedback on the migration.

10 . Repeat steps #1, #2, #8 and #9 for each server you want to convert.