2.5.2.2. Red Hat Ceph Storage 클러스터 재부팅
systemctl 명령을 사용하여 Red Hat Ceph Storage 클러스터를 재부팅합니다.
프로세스
systemd 대상을 활성화하여 모든 데몬을 실행합니다.
구문
systemctl enable CLUSTER_FSID.target예
[root@host01 ~]# systemctl enable ceph-0b007564-ec48-11ee-b736-525400fd02f8.target Created symlink /etc/systemd/system/multi-user.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target/etc/systemd/system/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target. Created symlink /etc/systemd/system/ceph.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target /etc/systemd/system/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target. systemd 대상을 시작합니다.
구문
systemctl start CLUSTER_FSID.target예
[root@host01 ~]# systemctl start ceph-0b007564-ec48-11ee-b736-525400fd02f8.target모든 노드가 표시될 때까지 기다립니다.
Cephadm 쉘에 로그인합니다.
구문
cephadm shell모든 서비스가 작동 중이며 노드 간에 연결 문제가 없는지 확인합니다.
구문
ceph orch lsnoout플래그를 설정 해제합니다. 클라이언트 인증 키가 있는 노드에서 다음 명령을 실행합니다(예: Ceph Monitor 또는 OpenStack 컨트롤러 노드).구문
ceph osd unset noout참고일시 중지 플래그가 설정된 경우 pause 플래그를 설정 해제합니다.
예
[ceph: root@host01 /]# ceph osd unset nooutCeph File System(CephFS)을 사용하는 경우 joinable 플래그를 true로 설정하여 CephFS 클러스터를 백업합니다.
구문
ceph fs set FS_NAME joinable true예
[ceph: root@host01 /]# ceph fs set cephfs joinable true
검증
클러스터가 정상 상태인지 확인합니다(Health_OK 및 모든 PGs active+clean). 클라이언트 인증 키(예: Ceph Monitor 또는 OpenStack 컨트롤러 노드)가 있는 노드에서 ceph -s status 명령을 실행하여 클러스터가 정상인지 확인합니다.