trove/install-guide/source/install-ubuntu.rst
Andreas Jaeger 38271bb95f Minor cleanup for Install Guide
Remove extra lines, those are in introduction. Fix wrong service name.

This is a followup to a comment on
Idf8cb90536fd4b4d9a2d0695ef30f498b1283410 after the merge.

Change-Id: I75d3941248409b613a79ef9966b78ea7ac92e97d
2016-06-21 15:08:49 +02: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