8ddea61d21
I updated the installation guide for Juno as follows: 1) Unifed RHEL/CentOS/Fedora steps to use systemd through networking chapter. Will work on other chapters in a future patch. 2) Split openSUSE steps to use systemd. 3) Removed database configuration from nova on compute nodes (yay!). 4) Added workaround for RDO changing the neutron default "auth_strategy=keystone" back to "auth_strategy=noauth". 5) Re-add workaround for broken RDO neutron init scripts. See bug #1375746 for more information. 6) Applied other changes for RHEL/CentOS 7. 7) Improved nova-network content. 8) Other minor fixes. Change-Id: I0a130580764f61544f5abebdde21b677a4d0ece9 Implements: blueprint installation-guide-improvements Closes-Bug: #1287874 Closes-Bug: #1373367
76 lines
4.0 KiB
XML
76 lines
4.0 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>.</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"><prompt>#</prompt> <userinput>systemctl enable openstack-nova-network.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl enable openstack-nova-metadata-api.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl start openstack-nova-network.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl start openstack-nova-metadata-api.service</userinput></screen>
|
|
<para os="sles">On SLES:</para>
|
|
<screen os="sles"><prompt>#</prompt> <userinput>service openstack-nova-network start</userinput>
|
|
<prompt>#</prompt> <userinput>service openstack-nova-api-metadata start</userinput>
|
|
<prompt>#</prompt> <userinput>chkconfig openstack-nova-network on</userinput>
|
|
<prompt>#</prompt> <userinput>chkconfig openstack-nova-api-metadata on</userinput></screen>
|
|
<para os="opensuse">On openSUSE:</para>
|
|
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl enable openstack-nova-network.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl enable openstack-nova-metadata-api.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl start openstack-nova-network.service</userinput>
|
|
<prompt>#</prompt> <userinput>systemctl start openstack-nova-metadata-api.service</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|