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]
.
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 will stop all Ceph services that you have deployed for all the hosts mentioned in theceph.conf
file. The-a
option is to execute on all nodes:# /etc/init.d/ceph -a stop