3f4d4d6bd4
With current OS versions, we can merge the descriptions. Partially implements bp installguide-kilo Change-Id: I884c122477e84655ed2d88f8b178f528fbcad72f
66 lines
3.2 KiB
XML
66 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="nova-networking-compute-node">
|
|
<title>Configure compute node</title>
|
|
<para>This section covers deployment of a simple
|
|
<glossterm>flat network</glossterm> that provides IP addresses to your
|
|
instances via <glossterm>DHCP</glossterm>. If your environment includes
|
|
multiple compute nodes, the <glossterm>multi-host</glossterm> feature
|
|
provides redundancy by spreading network functions across compute
|
|
nodes.</para>
|
|
<procedure>
|
|
<title>To install legacy networking components</title>
|
|
<step>
|
|
<screen os="ubuntu"><prompt>#</prompt> <userinput>apt-get install nova-network nova-api-metadata</userinput></screen>
|
|
<screen os="debian"><prompt>#</prompt> <userinput>apt-get install nova-network nova-api</userinput></screen>
|
|
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-nova-network openstack-nova-api</userinput></screen>
|
|
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>zypper install openstack-nova-network openstack-nova-api</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
<procedure>
|
|
<title>To configure legacy networking</title>
|
|
<step>
|
|
<para>Edit the <filename>/etc/nova/nova.conf</filename> file and
|
|
complete the following actions:</para>
|
|
<substeps>
|
|
<step>
|
|
<para>In the <literal>[DEFAULT]</literal> section, configure
|
|
the network parameters:</para>
|
|
<programlisting language="ini">[DEFAULT]
|
|
...
|
|
network_api_class = nova.network.api.API
|
|
security_group_api = nova
|
|
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
|
|
network_manager = nova.network.manager.FlatDHCPManager
|
|
network_size = 254
|
|
allow_same_net_traffic = False
|
|
multi_host = True
|
|
send_arp_for_ha = True
|
|
share_dhcp_address = True
|
|
force_dhcp_release = True
|
|
flat_network_bridge = br100
|
|
flat_interface = <replaceable>INTERFACE_NAME</replaceable>
|
|
public_interface = <replaceable>INTERFACE_NAME</replaceable></programlisting>
|
|
<para>Replace <replaceable>INTERFACE_NAME</replaceable> with the
|
|
actual interface name for the external network. For example,
|
|
<emphasis>eth1</emphasis> or <emphasis>ens224</emphasis>. You can
|
|
also leave these two parameters undefined if you are serving multiple
|
|
networks with individual bridges for each.</para>
|
|
</step>
|
|
</substeps>
|
|
</step>
|
|
<step>
|
|
<para os="ubuntu;debian">Restart the services:</para>
|
|
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service nova-network restart</userinput>
|
|
<prompt>#</prompt> <userinput>service nova-api-metadata restart</userinput></screen>
|
|
<para os="rhel;centos;fedora;sles;opensuse">Start the services and
|
|
configure them to start when the system boots:</para>
|
|
<screen os="rhel;centos;fedora;sles;opensuse"><prompt>#</prompt> <userinput>systemctl enable openstack-nova-network.service openstack-nova-metadata-api.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl start openstack-nova-network.service openstack-nova-metadata-api.service</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|