Portal Home > Knowledgebase > Articles Database > Help a KVM newbie
Help a KVM newbie
Posted by writeitforus, 09-24-2014, 09:48 AM |
Hi Everyone,
In an effort to expand beyond VMware and Hyper V I am testing (playing) with CentOS' virtual offering on a single lab host just to get a feeling for it.
No problems with getting most of it working but I have one area I seem to have issues with...
I created a ext4 LVM volume called /data and mounted , giving it 400GB.
I would like to migrate the few virtual machines I have created onto /data but I don't want to start moving things without knowing the "official" way. I know you can do with the command line but at the moment I am toying with the GUI.
Also I can see no easy way to set this new data volume to be the default location.
Any advice from the KVM peeps here would be appreciated. I have tried Google but nothing seems relevant.
|
Posted by YUPAPA, 09-24-2014, 11:55 AM |
Migrate the vmware-based vms onto /data ? OR you want to migrate the vms in /data to different place? What sort of migration? Are you talking about live-migration?
|
Posted by Srv24x7, 09-25-2014, 02:17 AM |
Hi,
Command line is what I would prefer and done over the past too.
Take a backup, copy it to destination server, and then restore it.
Shutdown the VPS and then back it up.
On Source,
dd if=/dev/vps/ | gzip | dd of=/backup/.gz bs=4096
Copy .gz to destination server.
On Destination,
dd if=/backup/.gz | gzip -d | dd of=/dev/vps/ bs=4096
What GUI you are using?
|
Posted by writeitforus, 09-25-2014, 08:15 AM |
Hi,
Thanks for that. To be clear I am not wanting to import any vSphere stuff. I am merely setting up a new lab to play pure KVM. Not really bothhered about live migration as such (yet)
As for GUI I am using virt-manager on CentOS. Gotta say, it does seem very basic. Any advice on alternative GUIs ?
|
Posted by YUPAPA, 09-25-2014, 11:08 AM |
virt-manager is pretty common.
Here are two you can look at:
http://gkvm.sourceforge.net/
http://sourceforge.net/projects/aqemu/
|
Posted by my247webhosting, 09-25-2014, 03:30 PM |
You can use a virtualizor software which offers GUI based migration help.
Its one of the best available which also provides timely support as well
|
Add to Favourites Print this Article
Also Read
Advertising (Views: 737)