[install] share edit /etc/hosts file instructions

Change-Id: Ica17124ef2a24bed35118fc4070c3f31dd826c8d
Implements: blueprint installguide-liberty
This commit is contained in:
Christian Berendt 2015-10-08 09:17:52 +02:00 committed by Christian Berendt
parent cd19c606f1
commit 4c2ba9a86a
5 changed files with 39 additions and 125 deletions

View File

@ -23,7 +23,7 @@ the storage node contains one network interface on the
needs an empty block storage device of suitable size for your needs an empty block storage device of suitable size for your
environment. For more information, see :ref:`environment`. environment. For more information, see :ref:`environment`.
1. Configure the management interface: #. Configure the management interface:
* IP address: ``10.0.0.41`` * IP address: ``10.0.0.41``
@ -31,18 +31,11 @@ environment. For more information, see :ref:`environment`.
* Default gateway: ``10.0.0.1`` * Default gateway: ``10.0.0.1``
2. Set the hostname of the node to ``block1``. #. Set the hostname of the node to ``block1``.
3. Copy the contents of the :file:`/etc/hosts` file from the #. .. include:: shared/edit_hosts_file.txt
controller node to the storage node and add the following to it::
# block1 #. Install and configure :term:`NTP` using the instructions in
10.0.0.41 block1
Also add this content to the :file:`/etc/hosts` file
on all other nodes in your environment.
4. Install and configure :term:`NTP` using the instructions in
:ref:`environment-ntp`. :ref:`environment-ntp`.
.. only:: obs .. only:: obs

View File

@ -66,34 +66,4 @@ Configure name resolution
#. Set the hostname of the node to ``compute1``. #. Set the hostname of the node to ``compute1``.
#. Edit the :file:`/etc/hosts` file to contain the following: # .. include:: shared/edit_hosts_file.txt
.. code-block:: ini
# controller
10.0.0.11 controller
# compute1
10.0.0.31 compute1
# block1
10.0.0.41 block1
# object1
10.0.0.51 object1
# object2
10.0.0.52 object2
.. warning::
Some distributions add an extraneous entry in the :file:`/etc/hosts`
file that resolves the actual hostname to another loopback IP
address such as ``127.0.1.1``. You must comment out or remove this
entry to prevent name resolution problems. **Do not remove the
127.0.0.1 entry.**
.. note::
To reduce complexity of this guide, we add host entries for optional
services regardless of whether you choose to deploy them.

View File

@ -62,34 +62,4 @@ Configure name resolution
#. Set the hostname of the node to ``controller``. #. Set the hostname of the node to ``controller``.
#. Edit the :file:`/etc/hosts` file to contain the following: # .. include:: shared/edit_hosts_file.txt
.. code-block:: ini
# controller
10.0.0.11 controller
# compute1
10.0.0.31 compute1
# block1
10.0.0.41 block1
# object1
10.0.0.51 object1
# object2
10.0.0.52 object2
.. warning::
Some distributions add an extraneous entry in the :file:`/etc/hosts`
file that resolves the actual hostname to another loopback IP
address such as ``127.0.1.1``. You must comment out or remove this
entry to prevent name resolution problems. **Do not remove the
127.0.0.1 entry.**
.. note::
To reduce complexity of this guide, we add host entries for optional
services regardless of whether you choose to deploy them.

View File

@ -23,32 +23,7 @@ Configure name resolution
#. Set the hostname of the node to ``object1``. #. Set the hostname of the node to ``object1``.
#. Edit the ``/etc/hosts`` file to contain the following: #. .. include:: shared/edit_hosts_file.txt
.. code-block:: ini
# controller
10.0.0.11 controller
# compute1
10.0.0.31 compute1
# block1
10.0.0.41 block1
# object1
10.0.0.51 object1
# object2
10.0.0.52 object2
.. warning::
Some distributions add an extraneous entry in the ``/etc/hosts``
file that resolves the actual hostname to another loopback IP
address such as ``127.0.1.1``. You must comment out or remove this
entry to prevent name resolution problems. **Do not remove the
127.0.0.1 entry.**
#. Reboot the system to activate the changes. #. Reboot the system to activate the changes.
@ -71,31 +46,6 @@ Configure name resolution
#. Set the hostname of the node to ``object2``. #. Set the hostname of the node to ``object2``.
#. Edit the ``/etc/hosts`` file to contain the following: #. .. include:: shared/edit_hosts_file.txt
.. code-block:: ini
# controller
10.0.0.11 controller
# compute1
10.0.0.31 compute1
# block1
10.0.0.41 block1
# object1
10.0.0.51 object1
# object2
10.0.0.52 object2
.. warning::
Some distributions add an extraneous entry in the ``/etc/hosts``
file that resolves the actual hostname to another loopback IP
address such as ``127.0.1.1``. You must comment out or remove this
entry to prevent name resolution problems. **Do not remove the
127.0.0.1 entry.**
#. Reboot the system to activate the changes. #. Reboot the system to activate the changes.

View File

@ -0,0 +1,31 @@
Edit the ``/etc/hosts`` file to contain the following:
.. code-block:: ini
# controller
10.0.0.11 controller
# compute1
10.0.0.31 compute1
# block1
10.0.0.41 block1
# object1
10.0.0.51 object1
# object2
10.0.0.52 object2
.. warning::
Some distributions add an extraneous entry in the ``/etc/hosts``
file that resolves the actual hostname to another loopback IP
address such as ``127.0.1.1``. You must comment out or remove this
entry to prevent name resolution problems. **Do not remove the
127.0.0.1 entry.**
.. note::
To reduce complexity of this guide, we add host entries for optional
services regardless of whether you choose to deploy them.