If you are currently on OpenVZ-based VPS and wanted to migrate your server to our KVM Cloud Server, here the basic steps. These steps are not exclusive, there are many other methods you can use to migrate between these virtualization technology.
a. Make sure both server are exact same OS and updated to latest release.
b. Login to both of the servers and run "yum install mingetty"
c. Open your favourite text editor and edit /etc/inittab and make entry / modify as per following:
d. Install rsync on both servers by run "yum install rsync"
e. Create an exclude file /tmp/exclude.txt with and customize based on your own needs. Typically following listed in the exclude file:
f. Run following in your OpenVZ-based server:
rsync --exclude-from="/tmp/exclude.txt" --delete --numeric-ids -avpogtStlHz -e "ssh -p <ssh port>" / [email protected]<KVM server ip>:/
g. Once done, reboot the KVM Cloud Server. Check everything work fine and your server content synced.