Ewan,<div><br></div><div>A lack of detail and documentation may very well have been at the root of the issues I encountered.  Is there any additional documentation available to configure Openstack with Xenserver, beyond the link I referenced previously?  Also, can you confirm whether a service VM (nova-compute domU) is actually required, *per* Xenserver instance, regardless of pool configuration?</div>
<div><br></div><div>Thank you,</div><div>Rafi</div><div><br></div><div><br><div name="sig_d41d8cd98f" style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0pt; "></div><div class="gmail_quote">On Sun, Sep 18, 2011 at 10:45 PM, Ewan Mellor <span dir="ltr"><<a href="mailto:Ewan.Mellor@eu.citrix.com">Ewan.Mellor@eu.citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">That’s the original blueprint for the work.  Things have moved
on a lot since then of course (that’s a year old now).<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Ewan.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Balaji Venkataraman
[mailto:<a href="mailto:xbalaji@gmail.com" target="_blank">xbalaji@gmail.com</a>] <br>
<b>Sent:</b> 18 September 2011 22:42<br>
<b>To:</b> Ewan Mellor<br>
<b>Cc:</b> Rafi Khardalian; Todd Deshane; <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> Re: [Openstack] openstack for citrix xenserver 5.6 SP2<u></u><u></u></span></p>

</div>

</div>

<p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal" style="margin-bottom:12.0pt">Is that <a href="http://wiki.openstack.org/XenAPI" target="_blank">http://wiki.openstack.org/XenAPI</a> ?<br>
<br>
<u></u><u></u></p>

<div>

<p class="MsoNormal">On Sun, Sep 18, 2011 at 10:37 PM, Balaji Venkataraman <<a href="mailto:xbalaji@gmail.com" target="_blank">xbalaji@gmail.com</a>> wrote:<u></u><u></u></p>

<p class="MsoNormal">Thanks for clarifying, I've missed this if it were
documented somewhere. Now one follow up question to this is, how does a
nova-code create another vm, if it is not in control domain? Is that explained
somewhere?<br>
<br>
Thanks and Regards,<br>
<span style="color:#888888">Balaji</span><u></u><u></u></p>

<div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>

<div>

<p class="MsoNormal">On Sun, Sep 18, 2011 at 10:29 PM, Ewan Mellor <<a href="mailto:Ewan.Mellor@eu.citrix.com" target="_blank">Ewan.Mellor@eu.citrix.com</a>>
wrote:<u></u><u></u></p>

<div>

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">That’s not how we set it up, no. 
We use a service VM so that we can isolate Nova from XenServer’s control
domain.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">This gives us better</span><u></u><u></u></p>

<p><span style="font-size:11.0pt;font-family:Symbol;color:#1F497D">·</span><span style="font-size:7.0pt;color:#1F497D">        
</span><span style="font-size:11.0pt;color:#1F497D">fault tolerance - we can
restart the whole VM if we need to, without disturbing the rest of the host</span><u></u><u></u></p>

<p><span style="font-size:11.0pt;font-family:Symbol;color:#1F497D">·</span><span style="font-size:7.0pt;color:#1F497D">        
</span><span style="font-size:11.0pt;color:#1F497D">performance isolation - we
can impose quality-of-service restrictions on the service VM, and</span><u></u><u></u></p>

<p><span style="font-size:11.0pt;font-family:Symbol;color:#1F497D">·</span><span style="font-size:7.0pt;color:#1F497D">        
</span><span style="font-size:11.0pt;color:#1F497D">security - the two control
planes can be isolated.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">It also means that we can run a modern
distro in the service VM while the control domain stays with something older
and stable.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Cheers,</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Ewan.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Balaji Venkataraman [mailto:<a href="mailto:xbalaji@gmail.com" target="_blank">xbalaji@gmail.com</a>] <br>

<b>Sent:</b> 18 September 2011 22:21<br>
<b>To:</b> Ewan Mellor<br>
<b>Cc:</b> Rafi Khardalian; Todd Deshane; <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a></span><u></u><u></u></p>

<div>

<div>

<p class="MsoNormal"><br>
<b>Subject:</b> Re: [Openstack] openstack for citrix xenserver 5.6 SP2<u></u><u></u></p>

</div>

</div>

</div>

</div>

<div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks
for your reply. Isn't nova-node installed on the Hypervisor directly? Is there
something I've failed to understand?<br>
<br>
Thanks and Regards,<br>
Balaji<u></u><u></u></p>

<div>

<p class="MsoNormal">On
Sun, Sep 18, 2011 at 9:54 PM, Ewan Mellor <<a href="mailto:Ewan.Mellor@eu.citrix.com" target="_blank">Ewan.Mellor@eu.citrix.com</a>>
wrote:<u></u><u></u></p>

<div>

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Plenty of people are using OpenStack
with XenServer in major deployments, including Rackspace and Citrix.  If
you’re struggling to get it working, then I apologise for our poor
documentation!  We’d certainly like to understand why so that we can fix
the problem.  I’ve cc’d Todd Deshane at Xen.org, who has been working on
this recently too.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">To start with, I think that you’re going
about it completely the wrong way.  The instructions are set up for a
virtual machine running the Nova components, with only a few minor
modifications to XenServer itself (the addition of a few plugins).  If
you’re compiling apt-get from source then you are definitely going to
fail!  You should start with a VM and install Nova there (Ubuntu Maverick
works well if you’re following those instructions below, though anything with
Python 2.6 should work with enough effort).</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I can also tell you that XenServer 6.0 will
be released in approximately one week (it has already left engineering). 
That release has a number of major improvements targeted at OpenStack,
including a massive performance boost on the networking side and new versions
of Xen and the Open vSwitch.  I strongly recommend working with XS 6.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Cheers,</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Ewan Mellor,</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Director, Engineering, OpenStack at
Citrix.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> openstack-bounces+ewan.mellor=<a href="mailto:citrix.com@lists.launchpad.net" target="_blank">citrix.com@lists.launchpad.net</a>
[mailto:<a href="mailto:openstack-bounces%2Bewan.mellor" target="_blank">openstack-bounces+ewan.mellor</a>=<a href="mailto:citrix.com@lists.launchpad.net" target="_blank">citrix.com@lists.launchpad.net</a>]
<b>On Behalf Of </b>Balaji Venkataraman<br>
<b>Sent:</b> 18 September 2011 21:00<br>
<b>To:</b> Rafi Khardalian<br>
<b>Cc:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> Re: [Openstack] openstack for citrix xenserver 5.6 SP2</span><u></u><u></u></p>

</div>

</div>

<div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

<p class="MsoNormal" style="margin-bottom:12.0pt">Rafi:<br>
<br>
Thanks for the link, I looked at it earlier, from what I understand the wiki
page assumes <br>
a Type 2 Hypervisor. My idea is to make Citrix Xenserver  (Type 1
Hypervisor) as a <br>
nova-node. I spent sometime on this but was going no  where. Installed
gcc, g++, make <br>
etc  to compile apt-get from source on Xenserver. Then ran into issues as
apt-get <br>
expects some files which are missing in Xenserver. <br>
<br>
Hope someone can shed some light, I see openstack claims support in Xenserver
but<br>
is it on a standard Xenserver downloaded from Citrix or a custom built
Xenserver?<br>
<br>
Thanks and Regards,<br>
Balaji<u></u><u></u></p>

<div>

<p class="MsoNormal">On
Sun, Sep 18, 2011 at 6:43 PM, Rafi Khardalian <<a href="mailto:rafi@metacloud.com" target="_blank">rafi@metacloud.com</a>>
wrote:<u></u><u></u></p>

<div>

<p class="MsoNormal">The
only document covering the subject is here:<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"><a href="http://wiki.openstack.org/XenServerDevelopment" target="_blank">http://wiki.openstack.org/XenServerDevelopment</a><u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

<div>

<p class="MsoNormal">Support
for Xenserver seems more like a work-in-progress than anything I would consider
using in a production environment.  XAPI plugins need to be installed on
each hypervisor's dom0 with an associated nova-compute instance also running as
a domU (one per pool is not sufficient, AFAIK).  After battling with it
for almost a week, I gave up and decided to go with KVM.  Thus far I've
been rather pleased with the combination.<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

<div>

<p class="MsoNormal">If
anyone has more information about this, I'd be happy to be wrong.<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

<div>

<p class="MsoNormal">Rafi<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

<p class="MsoNormal"> <u></u><u></u></p>

<div>

<p class="MsoNormal">On
Sun, Sep 18, 2011 at 5:44 PM, Balaji Venkataraman <<a href="mailto:xbalaji@gmail.com" target="_blank">xbalaji@gmail.com</a>> wrote:<u></u><u></u></p>

<div>

<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">

<p class="MsoNormal"> <u></u><u></u></p>

<p class="MsoNormal"><br>
We are trying to configure citrix xenserver as nova-node, but we are not able
to install the nova tools, is this supported? If so, can someone share the
details or point to the wiki page.<br>
<br>
<br>
Thanks and Regards,<br>
<span style="color:#888888">Balaji</span><u></u><u></u></p>

</blockquote>

</div>

</div>

</div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal"> <u></u><u></u></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

</div>

</div>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

</div>

</div>


</blockquote></div><br>
</div>