Running Ceph as a service
In the last recipe, we learned about Ceph service management using sysvinit
; in this recipe, we will understand managing Ceph as a service, that is, using the Linux service
command. Starting from the Ceph Argonaut release, we can manage Ceph daemons using the Linux service
command with the following syntax:
service ceph [options] [command] [daemons]
Starting and stopping all daemons
To start or stop all Ceph daemons, perform the following set of commands.
How to do it…
Let's see how to start and stop all Ceph 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 theceph.conf
file. Once you start Ceph with the ...
Get Ceph Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.