<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Apr 25, 2012, at 7:22 PM, Atul Gosain wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_extra">Hi </div><div class="gmail_extra"><br></div><div class="gmail_extra"> Thanks a lot for the responses. I still have some clarifications. </div><div class="gmail_extra">Openstack documentation states (<a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/hypervisor-configuration-basics.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/hypervisor-configuration-basics.html</a>)</div>
<div class="gmail_extra"><div class="titlepage" style="font-family:Verdana,Geneva,sans-serif;font-size:12px"><h2 class="title" style="font-family:Arial,Helvetica,geneva;font-size:12pt;color:rgb(204,0,0);clear:both"><a id="hypervisor-configuration-basics"><i>Hypervisor Configuration Basics</i></a></h2>
</div><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt"><a id="hypervisor-configuration-basics"><i>The node where the nova-compute service is installed and running is the machine that runs all the virtual machines, referred to as the compute node in this guide.</i></a></p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt"><a>This gave me an impression that nova-compute service has to be installed on hypervisor(and not VM). </a></p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">
<a>Though from the links below, it seems that nothing needs to be installed on ESX server for openstack to manage it, from the documentation (</a><a href="http://wiki.openstack.org/XenServer/GettingStarted">http://wiki.openstack.org/XenServer/GettingStarted</a>), it seems like this package needs to be built on Ubuntu and then install on XenServer for it to be managed by Openstack. </p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">Sorry for my confusion, but couldnt figure out from the documentation. </p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">-------------</p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">
Secondly, what i mainly wanted to know was that how does openstack assign IP addresses to the new VMs it creates. If i see in the API's of individual hypervisors Xen, HyperV etc doesnt provide any direct method of setting IP address on the host, though they provide to set the MAC address. Cloudstack uses an internal DHCP server to set the IP addresses in VM's for the assigned MAC. </p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">I looked into the openstack code, it seems like the network configuration is injected into the VM images. Is it true ? As i understand, these images are stored on Glance server. How are these images installed on hypervisors by openstack. It does need to have some software running on hypervisors to which controller can push the image of the VM. </p></div></blockquote><div><br></div>It depends on the network mode, but the most common configuration uses a dhcp server as well.<br><blockquote type="cite"><div class="gmail_extra"><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">Where does the network information get injected inside the image ? Is it on the glance server or hypervisor ?</p></div></blockquote>In the injected version (not recommended) it is injected after the image is downloaded from glance on the compute host.<br><blockquote type="cite"><div class="gmail_extra"><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">
<br></p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">Thanks</p><p style="font-family:Verdana,Geneva,sans-serif;font-size:10pt">Atul</p></div></blockquote></div></body></html>