<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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";}
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;}
span.EmailStyle17
        {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:72.0pt 72.0pt 72.0pt 72.0pt;}
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 lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Vish,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks a lot for this very clear and simple explanation of the ha-networking option.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>At a first glance, it seems this feature should work without any modification even on XenServer deployments. I’ll give it a try and I will let you know!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It seems that the approach for attributing IPs via DHCP already used in FlatDHCP and VLAN modes also ensures dnsmasq instances running on network hosts do not try to assign the same IP to distinct VMs. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>From your post on unchainyourbrain.com  I understand in multi-host mode the gateway for each VM will be the host where the VM is running. For instance, with reference to the last diagram on the post, VMs on the leftmost host will gateway through 10.0.0.2, whereas VMs on the rightmost one will gateway through 10.0.0.4. If this is correct, VMs on distinct hosts should get different gateways; however </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>get_instance_nw_info</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> in </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>nova.network.Manager.NetworkManager</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> sets the gateway for the instance to </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>network[‘gateway’]</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> whereas I was expecting it to be set  to </span><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>dhcp_server</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>. Am I getting something wrong?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Also in the diagram I see the value of the flag flat_network_dhcp_start is 10.0.0.2. Shouldn’t it be 10.0.0.5 (or in general 10.0.0.{#nw_hosts+1})?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks again for this nice piece of work (and for mentioning Netstack projects in the “future of networking”)! <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Salvatore<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> openstack-bounces+salvatore.orlando=eu.citrix.com@lists.launchpad.net [mailto:openstack-bounces+salvatore.orlando=eu.citrix.com@lists.launchpad.net] <b>On Behalf Of </b>Vishvananda Ishaya<br><b>Sent:</b> 21 July 2011 17:24<br><b>To:</b> Mike Scherbakov<br><b>Cc:</b> openstack@lists.launchpad.net<br><b>Subject:</b> Re: [Openstack] Making Nova HA summit notes<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We just recently merged a new HA networking option.  See details in my blog post here:<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><a href="http://unchainyourbrain.com/openstack/13-networking-in-nova">http://unchainyourbrain.com/openstack/13-networking-in-nova</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Vish<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>On Jul 20, 2011, at 10:04 PM, Mike Scherbakov wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><p class=MsoNormal>Hi, <o:p></o:p></p><div><p class=MsoNormal>Thank you for the work on making nova components HA.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Did you have a chance to move further in this topic?<o:p></o:p></p></div><div><p class=MsoNormal>I especially interested in making nova-network HA and looking for possible active-active implementations,<o:p></o:p></p></div><div><p class=MsoNormal>so the downtime of the service would me minimal.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, May 3, 2011 at 1:22 PM, Edward Konetzko <<a href="mailto:konetzed@quixoticagony.com" target="_blank">konetzed@quixoticagony.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>I have attached the slides and Tushar Patil doc on making nova-network ha along with the etherpad notes on the bottom.<br><br><br>I hope to follow this email up later on in the week with plans for a full reference document based on Cacti.  Thanks for everyone’s participation at the Summit.<br><br>Thanks<br>Edward Konetzko<br><br>Etherpad notes<br><br><br>This Etherpad is for the<br>Discussion on Design & Software Considerations for Making Nova HA/Fault Tolerant<br>Please put ideas or comments in the appropriate sections<br><br><br>Database<br>- Does zones alleviate the need for HAing the DB?<br><br><br><br>RabbitMQ<br>For comparison <a href="http://wiki.secondlife.com/wiki/Message_Queue_Evaluation_Notes" target="_blank">http://wiki.secondlife.com/wiki/Message_Queue_Evaluation_Notes</a><br>- Need to update managers to create persistant queues and messages<br>- XMPP an alternate?<br>Talk to RabbitMQ devs about<br>- Long term can we use Burrow?<br><br><br>Nova-Network<br>NTT Data documentation mailed to openstack list for their heartbeat POC tests<br>Are there issues running multiple network nodes and assigning the same IP to mutlple instances?<br>How about VRRP protocol?<br>  --> we (NTT) are planning to evaluate VRRP using keepalived or some other software. Does anyone knows suitable software?<br><br><br>Nova-scheduler<br>Vish said you can run more then one<br>- Yeah with zones and how the scheduler is structured now, it can<br><br><br>Nova-api<br>Possibliy to run this behind real web server, apache, nginx<br><br><br>Nova-volume<br><br>Nova-Objectstore<br><br>Nova-Compute<br><br><br>Other ideas<br>Services should use dns srv records or something to automate service discovery, this would make running large infrastructures and ipv6 configureation alot easier.<br>- zeroconf?  -<-- like the idea but anyone can announce anything in zeroconf it has no idea of a master for security.<br>Agreed<br>Look at vrrp and keepalived<br><br><br>Take aways<br>Start Discussion with Rabbitmq<br>Message Bus needs more investigation<br>Discussion on how do we make messages have delievery<br>Give feed back to end user, fail or pass just dont leave state in pending forever<br><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <br>Mike Scherbakov<o:p></o:p></p></div><p class=MsoNormal>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></body></html>