Red Hat Training
A Red Hat training course is available for Red Hat Ceph Storage
부록 C. Ceph 명령줄 인터페이스 설치
Ceph CLI(명령줄 인터페이스)를 사용하면 관리자가 Ceph 관리 명령을 실행할 수 있습니다. CLI는 ceph-common 패키지에서 제공하며 다음 유틸리티를 포함합니다.
-
Ceph -
ceph-authtool -
ceph-dencoder -
rados
사전 요구 사항
-
실행 중인 Ceph 스토리지 클러스터(특히
활성 + 정리상태)입니다.
절차
클라이언트 노드에서 Red Hat Ceph Storage 3 툴 리포지토리를 활성화합니다.
[root@gateway ~]# subscription-manager repos --enable=rhel-7-server-rhceph-3-tools-els-rpms
클라이언트 노드에서
ceph-common패키지를 설치합니다.# yum install ceph-common
초기 모니터 노드에서 Ceph 구성 파일(이 경우
ceph.conf) 및 관리 인증 키를 클라이언트 노드에 복사합니다.구문
# scp /etc/ceph/<cluster_name>.conf <user_name>@<client_host_name>:/etc/ceph/ # scp /etc/ceph/<cluster_name>.client.admin.keyring <user_name>@<client_host_name:/etc/ceph/
예제
# scp /etc/ceph/ceph.conf root@node1:/etc/ceph/ # scp /etc/ceph/ceph.client.admin.keyring root@node1:/etc/ceph/
<client_host_name>을 클라이언트 노드의 호스트 이름으로 바꿉니다.