<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Javier Fontan wrote:
<blockquote
 cite="mid:fb0e20170912090852k74d3ad0bxaf3007c0a6fd0cb7@mail.gmail.com"
 type="cite">
  <pre wrap="">Hello,

You should better try to run windows in xen manually, without
OpenNebula. After you have your desired configuration ready you can
start automating VM management with OpenNebula. Do not start with
OpenNebula as it adds another complexity layer and will only mislead
you. This advice is not only for windows machines in xen. You first
need an already running VM infrastructure before installing and
configuring OpenNebula. Maybe this article is a good start:

<a class="moz-txt-link-freetext" href="http://www.planetjoel.com/viewarticle/568/HOWTO:+Windows+XP+running+under+Xen+3.0+on+Ubuntu+Dapper+Drake">http://www.planetjoel.com/viewarticle/568/HOWTO:+Windows+XP+running+under+Xen+3.0+on+Ubuntu+Dapper+Drake</a>
  </pre>
</blockquote>
<br>
Hi Javier.<br>
<br>
Thank you for sound advice. Actually, we have a running infrastructure,
or should I say, we had it. Our original setup was with 2xVMWare +
1xONE. That worked fine, but we needed live migration feature, so we
turned to Xen.<br>
<br>
We have converted VMDK to RAW and we think we're ready to start playing
with Xen. One problem that we have, though is the IP. If the IP address
of the VM is assigned via DHCP and MAC is also randomly assigned, I
guess there is no way to learn the IP address of the VM, right?<br>
<br>
With VMWare we had a way of querying the VMWare server for IP of a
particular VM, if that VM had VMWare Tools installed.<br>
<br>
Now, the link you posted here is something I have visited before. And
it is the cause of my confusion. In OpenNebula I am supposed to supply
something like this:<br>
<br>
(example from Ubuntu site)<br>
<br>
NAME   = Ubuntu <br>
    CPU    = 0.5<br>
    MEMORY = 128<br>
    OS     = [<br>
       kernel   = "/boot/vmlinuz-2.6.18-4-xen-amd64",<br>
       initrd   = "/boot/initrd.img-2.6.18-4-xen-amd64",<br>
       root     = "sda1" ]<br>
    DISK   = [<br>
       source   = "/opt/nebula/images/disk.img",<br>
       target   = "sda1",<br>
       readonly = "no" ]<br>
<br>
This would translate in Xen to:<br>
<br>
kernel = "/usr/lib/xen/boot/hvmloader"<br>
builder = 'hvm'<br>
memory = 128<br>
name = "Ubuntu"<br>
vcpus = 1<br>
vif = [ 'type=ioemu, bridge=xenbr0' ]<br>
disk = [ 'tap:aio:/home/xen/domains/Ubuntu/Ubuntu.img,ioemu:hda,w',
'phy:/dev/scd0,ioemu:hdc:cdrom,r' ]<br>
device_model = '/usr/lib/xen/bin/qemu-dm'<br>
ne2000=0<br>
boot='c'<br>
vnc=0<br>
vncviewer=1<br>
sdl=1<br>
<br>
And this confuses me. In Xen I can see what I would expect - just the
path to the DISK to boot from and nothing more. The kernel is
"hvmloader", just as I would expect.. In OpenNebula there are
references to "kernel" being a normal Linux kernel and "initrd". These
look more like boot parameters for GRUB or LILO, then something passed
to the Xen loader.<br>
<br>
And then I have to ask what should be in there for Windows?<br>
<br>
Nix.<br>
<div class="moz-signature">-- <br>
<title>Levi9 Signature</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
                .signs1{ font-size: 11pt; font-family: Wingdings }
                .signs2{ font-size: 11pt; font-family: Webdings }
        </style>
<div
 style="font-family: Tahoma,sans-serif; font-size: 8pt; color: black;">
<span style="font-size: 10pt;"> Met vriendelijke groet / Kind regards,<br>
Nikola Milutinovic<br>
Sr Java Developer<br>
Levi9 Global Sourcing<br>
</span>
<hr> <font face="Wingdings" size="3">.</font> <span> Jan van
Goyenkade 8, 1075 HP Amsterdam, The Netherlands</span> <br>
<font face="Wingdings" size="3">(</font> <span>   +31 (0) 20 7547900
ext 2056</span> <br>
<font face="Wingdings" size="3">(</font> <span>   +381 (0) 21 4895800
ext 2056</span> <br>
<font face="Webdings" size="3">È</font> <span>   +381 (0) 64 2202824</span>
<br>
<font face="Wingdings" size="3">*</font> <span>   <a
 href="mailto:n.milutinovic@Levi9.com">n.milutinovic@Levi9.com</a></span>
<br>
<font face="Webdings" size="3">^</font> <span>   Skype:
nikola.milutinovic</span> <br>
<font face="Webdings" size="3">ü</font> <span>   <a target="_blank"
 title="http://www.levi9.com/" href="http://www.levi9.com/">www.levi9.com</a></span>
<br>
<span> <br>
Chamber of commerce Levi9 Global Sourcing BV: 34221951<br>
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746<br>
</span>
<hr> <span> 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. <br>
<br>
The services of Levi9 are exclusively subject to its general terms and
conditions. These general terms and conditions can be found on <a
 target="_blank" title="http://www.levi9.com/"
 href="http://www.levi9.com/">www.levi9.com</a> and a copy will be
promptly submitted to you on your request and free of charge.<br>
</span> </div>
</div>
</body>
</html>