Starting and stopping a specific daemon

To start or stop a specific Ceph daemon, perform the following set of commands:

Starting a specific daemon by instance:

To start a specific daemon on a local host, execute the systemd manager with the start command followed by the {daemon_type}@{id/hostname}, for example:

  1. Start the mon.0 daemon:
root@ceph-node1 # systemctl start ceph-mon@ceph-node1
  1. Similarly, you can start other daemons and their instances:
root@ceph-node1 # systemctl start ceph-osd@1
root@ceph-node1 # systemctl -H ceph-node2 start ceph-mon@ceph-node2
root@rgw-node1 # systemctl stop ceph-radosgw@rgw-node1

Stopping a specific daemon by instance:

To stop a specific daemon on the local host, execute the systemd manager with the stop command followed by the {daemon_type}@{id/hostname}, for example:

  1. Stop the mon.0 daemon:
 root@ceph-node1 # systemctl stop ceph-mon@ceph-node1
  1. Similarly, you can stop other daemons and their instances:
root@ceph-node1 # systemctl stop ceph-osd@1
root@ceph-node1 # systemctl -H ceph-node2 stop ceph-mon@ceph-node2</kbd>
root@rgw-node1 # systemctl start ceph-radosgw@rgw-node1
..................Content has been hidden....................

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