O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Querying systemd units on a node

To list the Ceph systemd units on a Ceph node, perform the following set of commands.

Let's see how to determine which Ceph services are running on a particular node. This can be helpful to determine the location of which OSD or MON services are running on a certain node:

  1. To list all the Ceph systemd units on a node, execute the systemd manager for the Ceph service/target using the status command. This command will display all active services/targets systemd has loaded:
# systemctl status ceph\*.service ceph\*.target
  1. To list the status on a particular Ceph service, execute the systemd manager for the specified Ceph service using the status command. To check the status of mon.0 issue:
root@ceph-node1 # ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required