<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 10:12 AM, Sergio Ariel de la Campa Saiz <span dir="ltr"><<a href="mailto:sacampa@gmv.com" target="_blank">sacampa@gmv.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi:<br>
<br>
I have been reading the conversation between Lorin and Christian about nova-network HA, and I have a question that maybe one of them can answer me... or maybe any member of this group :-) :-)<br>
<br>
This is my environment:<br>
<br>
2 ubuntu servers, essex and VLAN networking:<br>
- 1 controller with nova-network, glance, keystone, nova-api, nova-scheduler but NOT nova-compute<br>
- 1 node: nova-compute only<br>
<br>
In this configuration all my VM are going to be launched in the node since there is no nova-compute running in my controller. When I try to launch a VM appears a problem whith my network. I think that is because there is no nova-network installed in the node. Bridge and VLAN interfaces are created in the controller but they are not created in the node.<br>

<br>
My question is: it is necessary to install nova-network in all compute nodes??<br>
<br>
Thanks a lot.<br></blockquote><div><br></div><div>Hey Sergio,</div><div><br></div><div>it is possible to either have a dedicated nova-network node (multi_host=False) or the other mode,</div><div>have nova-network running on every compute node (nova-compute).</div>
<div><br></div><div>While the latter is more HA-friendly, it chose the first, since the latter will also require </div><div>to have your public IP network available on every compute node and I (in my setup) just don't.</div>
<div><br></div><div>Whatever you chose, you'll need to take care of some decisions when writing nova.conf and when actually populating networks via nova-manage:</div><div><br></div><div><b>single nova-network node</b> (may still have more, and HA'd via keepalived in active/passive mode, ye know):</div>
<div><br></div><div>    # /etc/nova/nova.conf</div><div>    # line below is only needed when you want to HA your single nova-network node (default: False)!:</div><div>    send_arp_for_ha=True</div><div>    # this one defaults to False anyways, but I added and documented it for clarity:</div>
<div>    multi_node=False</div><div>    # the following is need to SNAT your outgoing compute traffic to the nova-network node's public IP</div><div>    routing_source_ip=$your_nova_networks_public_ip</div><div><br></div>
<div>    nova-manage network create <b>--multi_host=F</b> --vlan=$VID --label=your-net --fixed_cidr=<a href="http://10.10.49.0/24">10.10.49.0/24</a> --project_id=$TENANT_ID</div><div><br></div><div><b>multi nova-network</b> mode (meaning: one nova-network on same host as nova-compute):</div>
<div>    # /etc/nova/nova.conf</div><div>    multi_node=True</div><div>    enabled_apis=ec2,osapi_compute,osapi_volume,metadata</div><div><br></div><div>    nova-manage network create --multi_host=T --vlan=$VID --label=your-net --fixed_cidr=<a href="http://10.10.49.0/24">10.10.49.0/24</a> --project_id=$TENANT_ID</div>
<div><br></div><div>I hope this helps.</div><div><br></div><div>Also check /var/log/nova/nova-*.log</div><div><br></div><div>So long,</div><div>Christian Parpart.</div></div>