[install] share edit /etc/hosts file instructions
Change-Id: Ica17124ef2a24bed35118fc4070c3f31dd826c8d Implements: blueprint installguide-liberty
This commit is contained in:
parent
cd19c606f1
commit
4c2ba9a86a
@ -23,7 +23,7 @@ the storage node contains one network interface on the
|
||||
needs an empty block storage device of suitable size for your
|
||||
environment. For more information, see :ref:`environment`.
|
||||
|
||||
1. Configure the management interface:
|
||||
#. Configure the management interface:
|
||||
|
||||
* IP address: ``10.0.0.41``
|
||||
|
||||
@ -31,18 +31,11 @@ environment. For more information, see :ref:`environment`.
|
||||
|
||||
* 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
|
||||
controller node to the storage node and add the following to it::
|
||||
#. .. include:: shared/edit_hosts_file.txt
|
||||
|
||||
# block1
|
||||
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
|
||||
#. Install and configure :term:`NTP` using the instructions in
|
||||
:ref:`environment-ntp`.
|
||||
|
||||
.. only:: obs
|
||||
|
@ -66,34 +66,4 @@ Configure name resolution
|
||||
|
||||
#. Set the hostname of the node to ``compute1``.
|
||||
|
||||
#. Edit the :file:`/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 :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.
|
||||
# .. include:: shared/edit_hosts_file.txt
|
||||
|
@ -62,34 +62,4 @@ Configure name resolution
|
||||
|
||||
#. Set the hostname of the node to ``controller``.
|
||||
|
||||
#. Edit the :file:`/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 :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.
|
||||
# .. include:: shared/edit_hosts_file.txt
|
||||
|
@ -23,32 +23,7 @@ Configure name resolution
|
||||
|
||||
#. Set the hostname of the node to ``object1``.
|
||||
|
||||
#. 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.**
|
||||
#. .. include:: shared/edit_hosts_file.txt
|
||||
|
||||
#. Reboot the system to activate the changes.
|
||||
|
||||
@ -71,31 +46,6 @@ Configure name resolution
|
||||
|
||||
#. Set the hostname of the node to ``object2``.
|
||||
|
||||
#. 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.**
|
||||
#. .. include:: shared/edit_hosts_file.txt
|
||||
|
||||
#. Reboot the system to activate the changes.
|
||||
|
31
doc/install-guide/source/shared/edit_hosts_file.txt
Normal file
31
doc/install-guide/source/shared/edit_hosts_file.txt
Normal 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.
|
Loading…
Reference in New Issue
Block a user