trove/doc/source/install/install-ubuntu.rst
Doug Hellmann 0859794433 rearrange existing docs to fit the new standard layout
Refer to
https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
for details.

Change-Id: Icd7cca752c8b87eb4543f0307bbf6e7ae07194b5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 08:47:01 -05:00

1.8 KiB

Install and configure for Ubuntu

This section describes how to install and configure the Database service for Ubuntu 14.04 (LTS).

Install and configure components

  1. Install the packages:

    # apt-get update
    
    # apt-get install python-trove python-troveclient \
      python-glanceclient trove-common trove-api trove-taskmanager \
      trove-conductor

Finalize installation

  1. Due to a bug in the Ubuntu packages, edit the service definition files to use the correct configuration settings.

    To do this, navigate to /etc/init and edit the following files as described below:

    trove-taskmanager.conf

    trove-conductor.conf

    (Note that, although they have the same names, these files are in a different location and have different content than the similarly named files you edited earlier in this procedure.)

    In each file, find this line:

    exec start-stop-daemon --start --chdir /var/lib/trove \
       --chuid trove:trove --make-pidfile \
       --pidfile /var/run/trove/trove-conductor.pid \
       --exec /usr/bin/trove-conductor -- \
       --config-file=/etc/trove/trove.conf ${DAEMON_ARGS}

    Note that --config-file incorrectly points to trove.conf.

    In trove-taskmanager.conf, edit config-file to point to /etc/trove/trove-taskmanager.conf.

    In trove-conductor.conf, edit config-file to point to /etc/trove/trove-conductor.conf.

  2. Restart the Database services:

    # service trove-api restart
    # service trove-taskmanager restart
    # service trove-conductor restart