Checking daemon status

A daemon is a systemd unit that is running and is part of the service.

You can check the following status of the daemons of the storage cluster using the ceph orch ps command:

  • Print a list of all the daemons.

  • Query the status of the target daemon.

Prerequisites

  • A running IBM Storage Ceph cluster.

  • Log into the cephadm shell.

Procedure

  • Print a list of daemons:

    Syntax

      ceph orch ps [--daemon-type DAEMON_TYPE] [--service_name SERVICE_NAME] [--daemon_id DAEMON_ID] [--format FORMAT] [--refresh]

    Example

      [ceph: root@host01 /]# ceph orch ps
  • Check the status of a particular service instance:

    Syntax

      ceph orch ls [--daemon-type _DAEMON_TYPE_] [--daemon_id _DAEMON_ID_] [--refresh]

    Example

      [ceph: root@host01 /]# ceph orch ps --daemon_type osd --daemon_id 0