openstack-manuals/doc/install-guide-debconf/source/cinder-controller-install.rst

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