1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
.. _networking:
Configure networking
~~~~~~~~~~~~~~~~~~~~
Before you start deploying the Object Storage service in your OpenStack
environment, configure networking for two additional storage nodes.
First node
----------
Configure network interfaces
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Configure the management interface:
* IP address: ``10.0.0.51``
* Network mask: ``255.255.255.0`` (or ``/24``)
* Default gateway: ``10.0.0.1``
Configure name resolution
^^^^^^^^^^^^^^^^^^^^^^^^^
#. Set the hostname of the node to ``object1``.
#. .. include:: edit_hosts_file.txt
#. Reboot the system to activate the changes.
Second node
-----------
Configure network interfaces
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Configure the management interface:
* IP address: ``10.0.0.52``
* Network mask: ``255.255.255.0`` (or ``/24``)
* Default gateway: ``10.0.0.1``
Configure name resolution
^^^^^^^^^^^^^^^^^^^^^^^^^
#. Set the hostname of the node to ``object2``.
#. .. include:: edit_hosts_file.txt
#. Reboot the system to activate the changes.
.. 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.
|