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

Managing the OpenStack Object Storage cluster with swift-init


Services in our OpenStack Object Storage environment can be managed using the swift-init tool. This tool allows us to control all the daemons in OpenStack Object Storage in a convenient way. For information on installing and configuring the Swift services or daemons, see Chapter 5, Swift – OpenStack Object Storage.

Getting ready

Login to any OpenStack Object Storage node. If using the vagrant environment, these can be accessed by using the following commands:

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...

The swift-init tool can be used to control any of the running daemons in our OpenStack Object Storage cluster rather than calling individual init scripts, which makes it a convenient tool.

To control OpenStack Object Storage proxy, use the following command:

swift-init proxy-server { command }

To control OpenStack Object Storage object...