Starting and stopping all daemons by type

To start or stop all Ceph daemons by their types, perform the following set of commands:

Starting daemons by type:

  1. 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
  1. 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
  1. 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

Stopping daemons by type:

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

You can't read the all page of ebook, please click here login for view all page.
Reset