14.2. 서비스당 및 데몬당 이벤트당
cephadm 은 실패한 데몬 배포를 디버깅하는 데 도움이 되도록 서비스 및 데몬당 이벤트를 저장합니다. 이러한 이벤트에는 종종 관련 정보가 포함됩니다.
서비스당
구문
ceph orch ls --service_name SERVICE_NAME --format yaml
예
[ceph: root@host01 /]# ceph orch ls --service_name alertmanager --format yaml service_type: alertmanager service_name: alertmanager placement: hosts: - unknown_host status: ... running: 1 size: 1 events: - 2021-02-01T08:58:02.741162 service:alertmanager [INFO] "service was created" - '2021-02-01T12:09:25.264584 service:alertmanager [ERROR] "Failed to apply: Cannot place <AlertManagerSpec for service_name=alertmanager> on unknown_host: Unknown hosts"'
데몬당
구문
ceph orch ps --service-name SERVICE_NAME --daemon-id DAEMON_ID --format yaml
예
[ceph: root@host01 /]# ceph orch ps --service-name mds --daemon-id cephfs.hostname.ppdhsz --format yaml daemon_type: mds daemon_id: cephfs.hostname.ppdhsz hostname: hostname status_desc: running ... events: - 2021-02-01T08:59:43.845866 daemon:mds.cephfs.hostname.ppdhsz [INFO] "Reconfigured mds.cephfs.hostname.ppdhsz on host 'hostname'"