dfbe3ea418
The OpenStack install guide team has recommended that projects that are not part of the starter-kit:compute [1] (and a few other projects like Cinder and Horizon) maintain their install guide in-tree. [2] [1] http://governance.openstack.org/reference/tags/starter-kit_compute.html [2] http://git.openstack.org/cgit/openstack/docs-specs/tree/specs/newton/project-specific-installguides.rst Change-Id: I2b49fcfd99b3be40bb1ae7d7b8348abdb5b58b90 Co-Authored-By: Denis Cavalcante <dencaval@gmail.com> Implements: blueprint manila-in-tree-install-guide Partially-implements: blueprint projectspecificinstallguides
58 lines
1.6 KiB
ReStructuredText
58 lines
1.6 KiB
ReStructuredText
.. _manila-controller-rdo:
|
|
|
|
Install and configure controller node on Red Hat Enterprise Linux and CentOS
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This section describes how to install and configure the Shared File Systems
|
|
service, code-named manila, on the controller node that runs Red Hat
|
|
Enterprise Linux or CentOS. This service requires at least one additional
|
|
share node that manages file storage back ends.
|
|
|
|
.. include:: common/controller-node-prerequisites.rst
|
|
|
|
Install and configure components
|
|
--------------------------------
|
|
|
|
#. Install the packages:
|
|
|
|
.. code-block:: console
|
|
|
|
# yum install openstack-manila python-manilaclient
|
|
|
|
#. Edit the ``/etc/manila/manila.conf`` file and complete the
|
|
following actions:
|
|
|
|
* In the ``[database]`` section, configure database access:
|
|
|
|
.. code-block:: ini
|
|
|
|
[database]
|
|
...
|
|
connection = mysql+pymysql://manila:MANILA_DBPASS@controller/manila
|
|
|
|
Replace ``MANILA_DBPASS`` with the password you chose for the Shared
|
|
File Systems database.
|
|
|
|
.. include:: common/controller-node-common-configuration.rst
|
|
|
|
#. Populate the Shared File Systems database:
|
|
|
|
.. code-block:: console
|
|
|
|
# su -s /bin/sh -c "manila-manage db sync" manila
|
|
|
|
.. note::
|
|
|
|
Ignore any deprecation messages in this output.
|
|
|
|
Finalize installation
|
|
---------------------
|
|
|
|
#. Start the Shared File Systems services and configure them to start when
|
|
the system boots:
|
|
|
|
.. code-block:: console
|
|
|
|
# systemctl enable openstack-manila-api.service openstack-manila-scheduler.service
|
|
# systemctl start openstack-manila-api.service openstack-manila-scheduler.service
|