Running Ceph with SYSVINIT
SYSVINIT is a traditional yet recommended method of managing Ceph daemons on Red-Hat-based systems as well as for some older Debian/Ubuntu-based distributions. The general syntax for managing Ceph daemons using sysvinit
is /etc/init.d/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:# /etc/init.d/ceph -a start
- To stop your Ceph cluster, execute Ceph using the
stop
command. This command ...
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.