-
Notifications
You must be signed in to change notification settings - Fork 0
Convert Existing OpenVZ VPS to Feathur
This guide will describe the general process for importing existing vps into 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.
- 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...
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 Feathur master server via SSH.
4 . Copy /var/feathur/Scripts/existing-vps-importer.php to /var/feathur/feathur/
cp /var/feathur/Scripts/existing-vps-importer.php /var/feathur/feathur/
5 . Edit /var/feathur/feathur/existing-vps-importer.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 = "";
// 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 for each server you want to convert.