Issue link: https://read.uberflip.com/i/1334488
Chapter 4 99 Stopping and starting OpenStack Storage Now that we have configured our OpenStack Storage installation, it's time to start our services, so that they're running on our openstack2 virtual machine, ready for us to use for storing objects and images in our OpenStack environment. Getting ready To begin with, log in to our openstack2 server. How to do it... Controlling OpenStack Storage services is achieved using SysV Init scripts, utilizing the service command. Since the OpenStack Storage services may have started following installation of the packages, we will restart the needed services to ensure the services have the correct configuration and are running as expected. sudo service swift-account restart sudo service swift-object restart sudo service swift-container restart sudo service swift-proxy restart How it works... The OpenStack Storage services are simply started, stopped, and restarted, using the following syntax: service swift-account { start | stop | restart } service swift-object { start | stop | restart } service swift-container { start | stop | restart } service swift-proxy { start | stop | restart } Testing OpenStack Storage We are now ready to test our installation of OpenStack Storage, and we can achieve this in a couple of ways—by using curl and using the swift command-line utility. www.it-ebooks.info

