VPS migrate to SERVERware 3.x
VPS migrate to SERVERware 3.x
First, you need to create a VPS on SERVERware 3 as a placeholder for a VPS we will migrate.
To do this, please navigate to SERVERware 3 GUI Menu ---> VPSs.
Press Create VPS and populate the required fields.
Please ensure your new VPS has sufficient storage to accommodate the VPS you are migrating.
To check how much space your current VPS is using, you can SSH into your current serverware
host where the VPS is running and run the following command:
du -sh /home/vservers/NAME_OF_VPS
Press next and choose Flavor for your VPS.
On this step please enter the IP address for the new VPS.
Press next.
You will get the summary of creation on this step, now press finish.
Remember not to start a VPS until the procedure is complete.
Go to GUI of SERVERware 1.x and stop the VPS you need to Migrate.
We have finished with GUI for now.
Login via ssh on your processing host where you will be moving a VPS. On the screen, you should get simple output information about the server.
Example :
███████╗██╗ ██╗ ██████╗ ██╔════╝██║ ██║ ╚════██╗ ███████╗██║ █╗ ██║ █████╗ █████╔╝ ╚════██║██║███╗██║ ╚════╝ ╚═══██╗ ███████║╚███╔███╔╝ ██████╔╝ ╚══════╝ ╚══╝╚══╝ ╚═════╝ * SERVERware system IP Address/es: * 127.0.0.1/x 192.168.x.x/x 10.1.x.x/x 192.168.x.x/x * Login into the setup by visiting: * https://127.0.0.1:81/ * https://192.168.x.x:81/ * https://10.1.x.x:81/ * https://192.168.x.x:81/ ~ #
Now you need to download our vps-migrate script from the web.
To do this, type the next command:
YourHost ~ # wget https://downloads.bicomsystems.com/serverware3/vps-migrate If everything is OK, this should be the output: --2017-04-03 13:18:51-- https://downloads.bicomsystems.com/serverware3/vps-migrate Resolving downloads.bicomsystems.com... 192.168.12.138 Connecting to downloads.bicomsystems.com|192.168.12.138|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3594 (3,5K) [application/octet-stream] Saving to: ‘vps-migrate’ vps-migrate 100%[=========================================================================>] 3,51K --.-KB/s in 0,02s 2017-04-03 13:18:52 (176 KB/s) - ‘vps-migrate’ saved [3594/3594]
Now to run the script type:
YourHost ~ # sh vps-migrate
And follow instructions.
First, you will have to enter the IP address of the SERVERware 1.x where the VPS you need to migrate is.
YourHost ~ # sh vps-migrate Hello, root. This is automated migration script. This script should be used only to migrate VPS from SERVERware 1.x to SERVERware 3. Please enter the IP address of the remote SERVERware 1.x:
Enter the IP address and press enter.
If this is the first time you are running this script you will have to enter the password for the remote server.
Next, the script will ask you to enter the name of the VPS you want to migrate.
Enter the name of the VPS and press enter.
Then, enter the name of the new VPS where to migrate and press enter.
Name of VPS you want to move from SERVERware 1.x '''( VPS must be stopped )''': Old_VPS Name of local VPS where to copy '''( VPS must be stopped )''': New_VPS [*] MOVE VPS FROM HOST: 10.1.190.40 VPS NAME: Old_VPS TO THIS SERVER VPS NAME: New_VPS [Y/N] [Q quit] ?
For security reasons software will ask you to confirm the procedure with "Y" or "N". If you have made a mistake then press "Q" to quit.
If everything is OK, in the next step, the software will copy your VPS from the old location to the new location in SERVERware 3.
You should get a message at the end of the transfer:
Transferring: 2,165.31 Done, please run again for another VPS!
If you get any errors you should check your parameters and repeat steps.
Now go to the SERVERware 3 GUI.
Go to Menu ---> VPSs. From the list, choose your newly created VPS, and in the right upper corner press the Start button.
Now, you should have your VPS up and running on SERVERware 3.