4.11. 클라이언트 애플리케이션 활성화
Red Hat Ceph Storage는 무단 유형의 클라이언트가 풀에 데이터를 쓰지 못하도록 추가 보호를 제공합니다. 즉, 시스템 관리자는 Ceph 블록 장치, Ceph Object Gateway, Ceph Filesystem 또는 사용자 지정 애플리케이션에서 I/O 작업을 수신할 수 있도록 명시적으로 활성화해야 합니다.
클라이언트에서 I/O 작업을 수행하여 풀에서 I/O 작업을 수행할 수 있습니다.
구문
ceph osd pool application enable POOL_NAME APP {--yes-i-really-mean-it}
ceph osd pool application enable POOL_NAME APP {--yes-i-really-mean-it}
여기서 APP
는 다음과 같습니다.
-
Ceph 파일 시스템용 CephFS.
-
Ceph 블록 장치용 RBD입니다.
-
Ceph Object Gateway의 경우
rgw
.
참고
사용자 지정 애플리케이션에 대해 다른 APP
값을 지정합니다.
중요
활성화되지 않은 풀은 HEALTH_WARN
상태를 생성합니다. 이 시나리오에서 ceph 상태 세부 정보 -f json-pretty
의 출력은 다음과 같은 출력을 제공합니다.
{ "checks": { "POOL_APP_NOT_ENABLED": { "severity": "HEALTH_WARN", "summary": { "message": "application not enabled on 1 pool(s)" }, "detail": [ { "message": "application not enabled on pool '_POOL_NAME_'" }, { "message": "use 'ceph osd pool application enable _POOL_NAME_ _APP_', where _APP_ is 'cephfs', 'rbd', 'rgw', or freeform for custom applications." } ] } }, "status": "HEALTH_WARN", "overall_status": "HEALTH_WARN", "detail": [ "'ceph health' JSON format has changed in luminous. If you see this your monitoring system is scraping the wrong fields. Disable this with 'mon health preluminous compat warning = false'" ] }
{
"checks": {
"POOL_APP_NOT_ENABLED": {
"severity": "HEALTH_WARN",
"summary": {
"message": "application not enabled on 1 pool(s)"
},
"detail": [
{
"message": "application not enabled on pool '_POOL_NAME_'"
},
{
"message": "use 'ceph osd pool application enable _POOL_NAME_ _APP_', where _APP_ is 'cephfs', 'rbd', 'rgw', or freeform for custom applications."
}
]
}
},
"status": "HEALTH_WARN",
"overall_status": "HEALTH_WARN",
"detail": [
"'ceph health' JSON format has changed in luminous. If you see this your monitoring system is scraping the wrong fields. Disable this with 'mon health preluminous compat warning = false'"
]
}
참고
rbd 풀 init POOL_NAME을 사용하여 Ceph 블록 장치의 풀
을 초기화합니다.