[one-users] Migrating a QEMU VM to OpenNebula 3.8.1
Stuart Longland
stuartl at vrt.com.au
Fri Nov 30 16:45:08 PST 2012
Hi all,
Sorry if this has been asked already, I did look but didn't see anything.
The situation is thus; in a hurry I needed to get a couple of virtual
machines going, we didn't have anything installed at the time beyond
plain QEMU/KVM, so I just used that, creating the following shell script
snippet:
> exec kvm \
> -uuid 2247a584-e95d-47f1-8756-9088c25b87eb \
> -drive file=/path/to/hda.qcow2,if=virtio,media=disk \
> -rtc base=localtime \
> -vnc :0 \
> -daemonize \
> -usb \
> -usbdevice tablet \
> -m 512 \
> -net nic,macaddr=52:54:00:12:34:59 \
> -net tap \
> "$@"
The above VM runs Windows Server 2008R2 64-bit.
In fact, I've got a few VMs like this. In the case of Linux VMs (using
serial console), the main difference is the use of -nographic in place
of -daemon and using `screen -dmS` to daemonise the KVM process instead.
How does one go about importing such a VM into OpenNebula? I tried by
copying across the disk image and creating a 64-bit host. Despite being
careful to ensure things were identical, I always got a STOP error;
error 0x0000005d.
Is there a known working procedure for importing such VMs?
Regards,
--
## -,-''''-. ###### Stuart Longland, Software Engineer
##. : ## : ## 38b Douglas Street -+*WE HAVE*+-
## # ## -'` .#' Milton, QLD, 4034 --+*MOVED*+--
'#' *' '-. *' http://www.vrt.com.au
S Y S T E M S T: 07 3535 9619 F: 07 3535 9699
More information about the Users
mailing list