Book Image

Learning Ceph

By : Karan Singh
Book Image

Learning Ceph

By: Karan Singh

Overview of this book

<p>Ceph is an open source, software-defined storage solution, which runs on commodity hardware to provide exabyte-level scalability. It is well known to be a highly reliable storage system that has no single point of failure.</p> <p>This book will give you all the skills you need to plan, deploy, and effectively manage your Ceph cluster, guiding you through an overview of Ceph's technology, architecture, and components. With a step-by-step, tutorial-style explanation of the deployment of each Ceph component, the book will take you through Ceph storage provisioning and integration with OpenStack.</p> <p>You will then discover how to deploy and set up your Ceph cluster, discovering the various components and why we need them. This book takes you from a basic level of knowledge in Ceph to an expert understanding of its most advanced features.</p>
Table of Contents (18 chapters)
Learning Ceph
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running Ceph as a service


Depending on your Linux working style, you can choose to manage your Ceph services either by sysvinit or by the Linux service command. Starting from Ceph Argonaut and Bobtail, you can mange Ceph daemons using the Linux service command:

service ceph [options] [command] [daemons]

The Ceph options include:

  • --verbose (-v): Used for verbose logging

  • --allhosts (-a): Executes on all nodes that are mentioned in ceph.conf, otherwise on localhost

  • --conf (-c): Uses and alternates configuration files

The Ceph commands include:

  • status: Shows the status of the daemon

  • start: Starts the daemon

  • stop: Stops the daemon

  • restart: Stops, and then starts the daemon

  • forcestop: Forces the daemon to stop; this is similar to kill -9

The Ceph daemons include:

  • mon

  • osd

  • mds

  • ceph-radosgw

Starting and stopping all daemons

To start your Ceph cluster, execute Ceph with the start command. This command will start all Ceph services that you have deployed for all the hosts mentioned in the ceph.conf file:

...