O'Reilly logo

OpenStack Cloud Computing Cookbook by Kevin Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring OpenStack Storage Service

Configuring our OpenStack Storage environment is quick and simple, as it involves just adding in a uniquely generated random alpha numeric string to the /etc/swift/swift.conf file. This random string will be included in all nodes as we scale out our environment, so keep it safe.

Getting ready

To begin with, log in to our openstack2 server.

How to do it...

Configuring the main OpenStack Storage configuration file for our sandbox environment is simply done with the following steps:

  1. First, we generate our random string, as follows:
    < /dev/urandom tr -dc A-Za-z0-9_ | head -c16; echo
    
  2. We then create the /etc/swift/swift.conf, file adding in the following contents, including our generated random string:
    [swift-hash]# ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required