To start or stop all Ceph daemons by their types, perform the following set of commands:
Starting daemons by type:
- To start the Ceph monitor daemons on localhost, execute the systemd manager with the start command followed by the daemon type:
# systemctl start ceph-mon.target
- To start the Ceph monitor daemon on a remote host, execute the same command with the -H option and the specified hostname. To start mon.1 from ceph-node1 issue:
root@ceph-node1 # systemctl -H ceph-node2 start ceph-mon.target
- Similarly, you can start daemons of other types, that is osds, mds, and ceph-radosgw by issuing:
# systemctl start ceph-osd.target# systemctl start ceph-mds.target# systemctl start ceph-radosgw.target ...