Default configuration files vary by distribution. You might need
to add these sections and options rather than modifying existing
sections and options. Also, an ellipsis (...) in the configuration
snippets indicates potential default configuration options that you
should retain.
Install the packages:
# apt-get install manila-share python-pymysql
Edit the /etc/manila/manila.conf file and complete the following
actions:
In the [database] section, configure database access:
Replace MANILA_PASS with the password you chose for the manila
user in the Identity service.
In the [DEFAULT] section, configure the my_ip option:
[DEFAULT]...my_ip=MANAGEMENT_INTERFACE_IP_ADDRESS
Replace MANAGEMENT_INTERFACE_IP_ADDRESS with the IP address
of the management network interface on your share node,
typically 10.0.0.41 for the first node in the
example architecture.
In the [oslo_concurrency] section, configure the lock path:
Configure share server management support options¶
The share node can support two modes, with and without the handling of
share servers. The mode depends on driver support.
Option 1 deploys the service without driver support for share management. In
this mode, the service does not do anything related to networking. The operator
must ensure network connectivity between instances and the NFS server. This
option uses LVM driver that requires LVM and NFS packages as well as an
additional disk for the manila-share LVM volume group.
Option 2 deploys the service with driver support for share management. In this
mode, the service requires Compute (nova), Networking (neutron) and Block
storage (cinder) services for managing share servers. The information used for
creating share servers is configured as share networks. This option uses the
generic driver with the handling of share servers capacity and requires
attaching the selfservice network to a router.
Warning
A bug prevents using both driver options on the same share node.
For more information, see LVM Driver section at the
Configuration Reference.
Choose one of the following options to configure the share driver.
Afterwards, return here and proceed to
Finalize installation.