Importing Xen Virtual Servers

From SolusVM

Jump to: navigation, search

1) Create a new Xen VM with the matching ipaddress and operating system of the VM to be imported

2) Shutdown the new VM

3) Shutdown the VM to be imported

4) Remove the new VM's root partition

lvremove -f /dev/<VOLUME_GROUP>/<VMID>_img

5) Rename the old VM's root partition to match the new VM's root partition

lvrename /dev/<VOLUME_GROUP>/<OLDID>_rootimg /dev/<VOLUME_GROUP>/<VMID>_img

6) Remove the old swap partition

7) Reboot the VM

Personal tools
Installation/Upgrading
Customization