swift/doc/source/install/controller-install-ubuntu.rst
Tim Burke 0a993437d1 Update install-guide URLs to point to stable/queens
Change-Id: I7b2dd19f18cbfac3bc3ea763cd3333e3fb68f1cd
2018-02-08 10:57:49 -08:00

1.8 KiB

Install and configure the controller node for Ubuntu

This section describes how to install and configure the proxy service that handles requests for the account, container, and object services operating on the storage nodes. For simplicity, this guide installs and configures the proxy service on the controller node. However, you can run the proxy service on any node with network connectivity to the storage nodes. Additionally, you can install and configure the proxy service on multiple nodes to increase performance and redundancy. For more information, see the Deployment Guide.

This section applies to Ubuntu 14.04 (LTS).

Install and configure components

Note

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.

  1. Install the packages:

    # apt-get install swift swift-proxy python-swiftclient \
      python-keystoneclient python-keystonemiddleware \
      memcached

    Note

    Complete OpenStack environments already include some of these packages.

    1. Create the /etc/swift directory.

    2. Obtain the proxy service configuration file from the Object Storage source repository:

      # curl -o /etc/swift/proxy-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/proxy-server.conf-sample?h=stable/queens