[one-users] Windows VM on Xen

Nikola Milutinović n.milutinovic at levi9.com
Fri Feb 5 00:44:42 PST 2010


On 2/5/2010 9:00 AM, sergio garcia escriche wrote:
> Hi,
>
> To use Opennebula with windows I use this template and run ok:
>
> NAME   = vm
> OS     = [
>   kernel   = "/usr/lib/xen/boot/hvmloader"]

Perhaps you could use this:

bootloader = "/usr/lib/xen/boot/hvmloader"

I think that OpenNebula recognizes two cases: HVM and para-virtualized. 
"kernel" and "initrd" are for para-virtualized case, while "bootloader" 
is for HVM case.

> CPU    = 1
> MEMORY =1000
> DISK=[
> source="/srv/cloud/images/win.img",
> target="hda"]
>
> GRAPHICS=[
> type ="vnc",
> listen="0.0.0.0",
> port="5900"]
>
> RAW =[type ="xen",data="builder='hvm'"]

This might be mandatory.

> RAW =[type="xen",data="device_model='/usr/lib/xen/bin/qemu-dm'"]

And this.

> RAW =[type="xen",data="vif=['type=ioemu,bridge=eth0"]

Shouldn't this go into normal network section? I believe ONE will 
process it correctly.

NIC = [
     bridge = "eth0"
]

I have had problems with launching HVM machines, but I must admit those 
were VMWare images, converted to RAW. God only knows what went wrong 
with them. We switched to some pre-built para-virtualized images we 
found on the Net, since we were pressed for time.

One thing I have noticed on Debian Xen master is that HVM Loader had 
incorrect permissions. They were 644 and should be 755. That blocked me 
for a while. After that the VM would boot, but remain stuck. Like I 
said, God only knows what went wrong. I never returned to that 
particular type of VM.

Nix.
-- 
Met vriendelijke groet / Kind regards,
Nikola Milutinovic
Sr Java Developer
Levi9 Global Sourcing
------------------------------------------------------------------------
.  Jan van Goyenkade 8, 1075 HP Amsterdam, The Netherlands
(    +31 (0) 20 7547900 ext 2056
(    +381 (0) 21 4895800 ext 2056
È    +381 (0) 64 2202824
* n.milutinovic at Levi9.com <mailto:n.milutinovic at Levi9.com>
^    Skype: nikola.milutinovic
ü www.levi9.com <http://www.levi9.com/>

Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
------------------------------------------------------------------------
This e-mail may contain confidential or privileged information. If you 
are not (one of) the intended recipient(s), please notify the sender 
immediately by reply e-mail and delete this message and any attachments 
permanently without retaining a copy. Any review, disclosure, copying, 
distribution or taking any action in reliance on the contents of this 
e-mail by persons or entities other than the intended recipient(s) is 
strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and 
conditions. These general terms and conditions can be found on 
www.levi9.com <http://www.levi9.com/> and a copy will be promptly 
submitted to you on your request and free of charge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100205/c30a190d/attachment-0003.htm>


More information about the Users mailing list