The yum command has been replaced by the dnf command in recent releases of Fedora-based distributions. Use the native command instead of the alias kept for compatibility. Change-Id: I06fe3105b57a3f9c4ef790892c644f1efaaeece2
1.6 KiB
1.6 KiB
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.
Install and configure components
Install the packages:
# dnf install openstack-manila python3-manilaclientEdit the
/etc/manila/manila.conffile and complete the following actions:In the
[database]section, configure database access:[database] ... connection = mysql+pymysql://manila:MANILA_DBPASS@controller/manilaReplace
MANILA_DBPASSwith the password you chose for the Shared File Systems database.
Populate the Shared File Systems database:
# su -s /bin/sh -c "manila-manage db sync" manilaNote
Ignore any deprecation messages in this output.
Finalize installation
Start the Shared File Systems services and configure them to start when the system boots:
# systemctl enable openstack-manila-api.service openstack-manila-scheduler.service # systemctl start openstack-manila-api.service openstack-manila-scheduler.service