openstack-manuals/doc/install-guide-debconf/source/cinder-controller-install.rst
Andreas Jaeger 2d44b2b36d Prepare for Sphinx 1.5
The new sphinx version introduces some changes that break build:

* Warns if code cannot be parsed for highlighting. Fix the code so
  that it can be parsed, this includes uncommenting "..." lines.
  Note that not every config file is an ini-file.
  Also, the parser seems to have bugs and cannot parse all files.
  Fix mysql ini file and enable the parameter, see
http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_file_per_table
* :option: works only with declared options, replace useage with
  simple ``.

This change only handles a few files, more to come later.

Change-Id: I7c7335e514581622dd562ee355f62d6ae1beaa18
2017-01-11 20:37:55 +01:00

1.6 KiB

Install and configure controller node

This section describes how to install and configure the Block Storage service, code-named cinder, on the controller node. This service requires at least one additional storage node that provides volumes to instances.

Install and configure components

  1. Install the packages:

    # apt-get install cinder-api cinder-scheduler

    Respond to prompts for database management <debconf/debconf-dbconfig-common>, Identity service credentials <debconf/debconf-keystone-authtoken>, service endpoint registration <debconf/debconf-api-endpoints>, and message broker credentials <debconf/debconf-rabbitmq>.

  2. Edit the /etc/cinder/cinder.conf file and complete the following actions:

    • In the [DEFAULT] section, configure the my_ip option to use the management interface IP address of the controller node:

      [DEFAULT]
      # ...
      my_ip = 10.0.0.11

Configure Compute to use Block Storage

  • Edit the /etc/nova/nova.conf file and add the following to it:

    [cinder]
    os_region_name = RegionOne

Finalize installation

  1. Restart the Compute API service:

    # service nova-api restart
  2. Restart the Block Storage services:

    # service cinder-scheduler restart
    # service cinder-api restart