Book Image

OpenStack Cloud Computing Cookbook

By : Cody Bunch
Book Image

OpenStack Cloud Computing Cookbook

By: Cody Bunch

Overview of this book

Table of Contents (19 chapters)
OpenStack Cloud Computing Cookbook Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Stopping and starting OpenStack Object Storage


After OpenStack Object Storage services has been installed across all our nodes, it's time to start our services for storing objects and images in our OpenStack environment.

Getting ready

Ensure that you are logged in to all of the nodes and have the relevant packages installed and configured for running Swift. If you created this environment with vagrant, you can execute the following commands to access all the nodes:

vagrant ssh swift-proxy
vagrant ssh swift-01
vagrant ssh swift-02
vagrant ssh swift-03
vagrant ssh swift-04
vagrant ssh swift-05

How to do it...

Controlling OpenStack Object Storage services is achieved using the tool called swift-init. We can start, stop, and restart the various services on that node using this tool.

On the Object Storage nodes, we can start, stop, and restart all the services with the following commands:

sudo swift-init all start
sudo swift-init all stop
sudo swift-init all restart

On the proxy server node, we can...