<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:5.75pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FR-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ok thanks. I have some problems with the public interface, but I think it shouldn’t be a big problem to solve.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">So for my compute node, the only thing I need to install is “yum install openstack-nova-compute” and nothing else (I will try Cinder later if it
 isn’t stable yet) ? After that just modify the nova.conf , create the private subnet with the bridge interface and it should work?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I will begin with that and give feedback about it.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Nicolas.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> Jacob Liberman [mailto:jliberma@redhat.com]
<br>
<b>Sent:</b> vendredi 12 avril 2013 15:36<br>
<b>To:</b> Vogel Nicolas<br>
<b>Cc:</b> 'rhos-list@redhat.com'<br>
<b>Subject:</b> Re: [rhos-list] how to install more compute nodes<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">On 04/12/2013 03:34 AM, Vogel Nicolas wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Just 1 more question about floating IP :</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">For my controller, I used the em1 interface for management purpose and for the communication between all openstack services
 (subnet 10.192.1.x./24). I configured then em1 as my “flat interface” for my private VM subnet (192.168.x.x/24)  and the demonetbr0 bridge. My em2 interface is the “public interface”. Is that right? Em2 has already a fixed IP address and I want to allocate
 a floating IP from the same subnet to em2.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal">yes, if you want the instance to have a public address, the floating IP can be on the same network as the public interface.<br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Nico.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> Jacob Liberman [<a href="mailto:jliberma@redhat.com">mailto:jliberma@redhat.com</a>]
<br>
<b>Sent:</b> jeudi 11 avril 2013 17:28<br>
<b>To:</b> Vogel Nicolas<br>
<b>Cc:</b> '<a href="mailto:rhos-list@redhat.com">rhos-list@redhat.com</a>'; 'Perry Myers'<br>
<b>Subject:</b> Re: [rhos-list] how to install more compute nodes</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal">On 04/11/2013 10:19 AM, Vogel Nicolas wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thanks Jacob for this infos !</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I think I must also create keystonerc_admin and keystonerc_username file on my controller and source it on demand to make my install right?</span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
it depends on how you make the changes<br>
<br>
if you are using the command line tools then yes<br>
<br>
if you are using packstack the keystonerc will be installed automatically wherever you install the client tools<br>
<br>
you can also download the user environment vars from the horizon dashboard<br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Do I also have to modify or complete something on my controller node so that he knows about the new compute node?</span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
no, just start the services on the compute node. it will add itself if everything is configured correctly.<br>
<br>
you can verify with "nova-manage service list"<br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Cheers,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Nicolas.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> Jacob Liberman [<a href="mailto:jliberma@redhat.com">mailto:jliberma@redhat.com</a>]
<br>
<b>Sent:</b> jeudi 11 avril 2013 16:51<br>
<b>To:</b> Perry Myers<br>
<b>Cc:</b> Vogel Nicolas; '<a href="mailto:rhos-list@redhat.com">rhos-list@redhat.com</a>'<br>
<b>Subject:</b> Re: [rhos-list] how to install more compute nodes</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">On 04/11/2013 09:23 AM, Perry Myers wrote:
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">On 04/11/2013 09:59 AM, Vogel Nicolas wrote:</span><o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">Hi,</span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">I just finished to install a controller node with the latest official</span><o:p></o:p></pre>
<pre><span lang="EN-US">RedHat doc (but I’m working with CentOS 6.3 and EPEL packages).</span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">I’m using nova-network with FlatDHCP and not quantum in this test.</span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">Now I wan’t to extend my cloud with more compute nodes but i’m not</span><o:p></o:p></pre>
<pre><span lang="EN-US">really sure about the different services who must be installed on each</span><o:p></o:p></pre>
<pre><span lang="EN-US">compute node.</span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">In a first time, I wan’t to centralize all my services on the</span><o:p></o:p></pre>
<pre><span lang="EN-US">controller, the computes nodes must give me just more CPU and more disk</span><o:p></o:p></pre>
<pre><span lang="EN-US">space. So I think that basically I just need to install nova-compute,</span><o:p></o:p></pre>
<pre><span lang="EN-US">nova-api and cinder on the compute nodes is that right?</span><o:p></o:p></pre>
</blockquote>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">nova-compute and cinder, but I do not think you need additional nova-api</span><o:p></o:p></pre>
<pre><span lang="EN-US">on the add'l compute nodes</span><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><br>
nova-compute, nova-network (if you want multi_host/HA networking) and nova-metadata-api if you are passing any customizations to the instances during boot<br>
<br>
you can run cinder-volumes on all nodes but there are some issues. better to use a centralized cinder server or cinder backed by a distributed file system.<br>
<br>
you specify the other service endpoints in the compute node's nova.conf.<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">How do I configure this services on the compute node so they know that</span><o:p></o:p></pre>
<pre><span lang="EN-US">Keystone, Glance, etc.. are on the controller?</span><o:p></o:p></pre>
</blockquote>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">Jacob, do you have a writeup around this area?  Taking an existing RHOS</span><o:p></o:p></pre>
<pre><span lang="EN-US">install and adding compute nodes to it?</span><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><br>
yes, it will be publicly available in the next few weeks. <br>
<br>
i am happy to answer specific questions before the document is available.<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US">Perry</span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">If someone has nova.conf and keystone.conf example from it would be very</span><o:p></o:p></pre>
<pre><span lang="EN-US">helpful.</span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
Here is a nova.conf from a compute node. <br>
<br>
The controller IP (glance, keystone, cinder, nova-scheduler) is 10.16.37.100<br>
The compute node IP (nova-compute,nova-network) is 10.16.137.102<br>
<br>
the metadata_hostvalue may differ depending on what you are running where<br>
<br>
<br>
[DEFAULT]<br>
verbose=false<br>
connection_type=libvirt<br>
</span><a href="mailto:sql_connection=mysql://nova:9f63b4ec6b074b1c@10.16.137.100/nova"><span lang="EN-US">sql_connection=mysql://nova:9f63b4ec6b074b1c@10.16.137.100/nova</span></a><span lang="EN-US"><br>
state_path=/var/lib/nova<br>
lock_path=/var/lib/nova/tmp<br>
glance_api_servers=10.16.137.100:9292<br>
metadata_host=10.16.137.100<br>
network_manager=nova.network.manager.FlatDHCPManager<br>
rootwrap_config=/etc/nova/rootwrap.conf<br>
service_down_time=60<br>
volume_api_class=nova.volume.cinder.API<br>
auth_strategy=keystone<br>
compute_driver=libvirt.LibvirtDriver<br>
public_interface=eth0<br>
dhcpbridge=/usr/bin/nova-dhcpbridge<br>
flat_network_bridge=br100<br>
flat_injected=false<br>
flat_interface=eth1<br>
floating_range=10.16.143.108/30<br>
fixed_range=172.16.2.0/24<br>
network_host=10.16.137.102<br>
force_dhcp_release=true<br>
dhcp_domain=novalocal<br>
logdir=/var/log/nova<br>
rpc_backend=nova.openstack.common.rpc.impl_qpid<br>
rabbit_host=localhost<br>
qpid_hostname=10.16.137.100<br>
libvirt_type=kvm<br>
libvirt_inject_partition=-1<br>
novncproxy_base_url=</span><a href="http://10.16.137.100:6080/vnc_auto.html"><span lang="EN-US">http://10.16.137.100:6080/vnc_auto.html</span></a><span lang="EN-US"><br>
vncserver_listen=10.16.137.102<br>
vncserver_proxyclient_address=10.16.137.102<br>
vnc_enabled=true<br>
image_service=nova.image.glance.GlanceImageService<br>
multi_host = True<br>
[trusted_computing]<br>
[keystone_authtoken] <br>
<br>
<br>
thanks, jacob<br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre><span lang="EN-US"> </span><o:p></o:p></pre>
<pre>Thanks in advance,<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Nicolas.<o:p></o:p></pre>
</blockquote>
<pre> <o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>