Checking daemon status

A daemon is a systemd unit that is running and is part of the service. The daemon status can be checked by using the ceph orch ps command.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • A running IBM Storage Ceph cluster.
  • Log into the cephadm shell.

About this task

You can check the following status of the daemons of the storage cluster using the ceph orch ps command. This command checks provides the following information:
  • Print a list of all the daemons.
  • Query the status of the target daemon.

Procedure

  1. Print a list of daemons.
    ceph orch ps [--daemon-type DAEMON_TYPE] [--service_name SERVICE_NAME] [--daemon_id DAEMON_ID] [--format FORMAT] [--refresh]
    For example,
    [ceph: root@host01 /]# ceph orch ps
  2. Verify the status of the service instance.
    ceph orch ls [--daemon-type DAEMON_TYPE] [--daemon_id DAEMON_ID] [--refresh]
    For example,
    [ceph: root@host01 /]# ceph orch ps --daemon_type osd --daemon_id 0