Fix IP addresses in Install Guide
This fixes a few wrong IP addresses in the Install Guide. Explain also network setup in section_nova-compute.xml. Change-Id: I5f644074266323ee5e10f9587686991266e72442 Closes-Bug: #1307188
This commit is contained in:
parent
2a4f1ae7fa
commit
abe2977a02
@ -75,10 +75,10 @@
|
|||||||
</note>
|
</note>
|
||||||
</step>
|
</step>
|
||||||
<step os="ubuntu;debian;sles;opensuse">
|
<step os="ubuntu;debian;sles;opensuse">
|
||||||
<para>Configure MongoDB to make it listen on the controller public IP
|
<para>Configure MongoDB to make it listen on the controller management IP
|
||||||
address. Edit the <filename>/etc/mongodb.conf</filename> file and modify the
|
address. Edit the <filename>/etc/mongodb.conf</filename> file and modify the
|
||||||
<literal>bind_ip</literal> key:</para>
|
<literal>bind_ip</literal> key:</para>
|
||||||
<programlisting language="ini">bind_ip = 192.168.0.10</programlisting>
|
<programlisting language="ini">bind_ip = 10.0.0.11</programlisting>
|
||||||
</step>
|
</step>
|
||||||
<step os="debian;ubuntu">
|
<step os="debian;ubuntu">
|
||||||
<para>Restart the MongoDB service to apply the configuration change:</para>
|
<para>Restart the MongoDB service to apply the configuration change:</para>
|
||||||
|
@ -15,17 +15,32 @@
|
|||||||
guide uses KVM.</para>
|
guide uses KVM.</para>
|
||||||
<procedure>
|
<procedure>
|
||||||
<step>
|
<step>
|
||||||
<para>Configure the system. Use the instructions in <xref
|
<para>
|
||||||
linkend="ch_basics"/>, but note the following differences
|
Configure the system. Use the instructions in <xref
|
||||||
from the controller node:</para>
|
linkend="ch_basics"/>, but note the following differences from
|
||||||
|
the controller node:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Use different IP addresses when you configure
|
<para>Use different IP addresses when you configure
|
||||||
<filename>eth0</filename>. This guide uses
|
<filename>eth0</filename>. This guide uses
|
||||||
<literal>192.168.0.11</literal> for the internal
|
<literal>10.0.0.31</literal> for the management
|
||||||
network. Do not configure <literal>eth1</literal> with a
|
network of the first compute node.
|
||||||
static IP address. The networking component of OpenStack
|
</para>
|
||||||
assigns and configures an IP address.</para>
|
<para>
|
||||||
|
If you run OpenStack Networking (neutron), configure
|
||||||
|
<literal>eth1</literal> as instance tunnels interface
|
||||||
|
with IP address <literal>10.0.1.31</literal> for the
|
||||||
|
first compute node. For details, see the instructions in
|
||||||
|
<xref linkend="basics-neutron-networking-compute-node"/>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
If you run legacy networking (nova-compute), do not
|
||||||
|
configure <literal>eth1</literal> with a static IP
|
||||||
|
address. The networking component of OpenStack assigns
|
||||||
|
and configures an IP address. For details, see the
|
||||||
|
instructions in <xref
|
||||||
|
linkend="basics-networking-node-compute-node"/>.
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Set the host name to <literal>compute1</literal>. To
|
<para>Set the host name to <literal>compute1</literal>. To
|
||||||
@ -161,10 +176,10 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Configure Compute to provide remote console access to instances.</para>
|
<para>Configure Compute to provide remote console access to instances.</para>
|
||||||
<screen os="fedora;rhel;centos;opensuse;sles"><prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT my_ip 192.168.0.11</userinput>
|
<screen os="fedora;rhel;centos;opensuse;sles"><prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT my_ip 10.0.0.31</userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT vnc_enabled True</userinput>
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT vnc_enabled True</userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT vncserver_listen 0.0.0.0</userinput>
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT vncserver_listen 0.0.0.0</userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT vncserver_proxyclient_address 192.168.0.11</userinput>
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT vncserver_proxyclient_address 10.0.0.31</userinput>
|
||||||
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf \
|
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf \
|
||||||
DEFAULT novncproxy_base_url http://<replaceable>controller</replaceable>:6080/vnc_auto.html</userinput></screen>
|
DEFAULT novncproxy_base_url http://<replaceable>controller</replaceable>:6080/vnc_auto.html</userinput></screen>
|
||||||
<para os="ubuntu;debian">Edit
|
<para os="ubuntu;debian">Edit
|
||||||
@ -174,10 +189,10 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|||||||
section:</para>
|
section:</para>
|
||||||
<programlisting os="ubuntu;debian" language="ini">[DEFAULT]
|
<programlisting os="ubuntu;debian" language="ini">[DEFAULT]
|
||||||
...
|
...
|
||||||
my_ip=192.168.0.11
|
my_ip = 10.0.0.31
|
||||||
vnc_enabled = True
|
vnc_enabled = True
|
||||||
vncserver_listen = 0.0.0.0
|
vncserver_listen = 0.0.0.0
|
||||||
vncserver_proxyclient_address=192.168.0.11
|
vncserver_proxyclient_address = 10.0.0.31
|
||||||
novncproxy_base_url = http://<replaceable>controller</replaceable>:6080/vnc_auto.html</programlisting>
|
novncproxy_base_url = http://<replaceable>controller</replaceable>:6080/vnc_auto.html</programlisting>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
|
Loading…
Reference in New Issue
Block a user