'데이터 엔지니어'로 성장하기

정리하는 걸 좋아하고, 남이 읽으면 더 좋아함

Storage/Ceph 14

kubernetes)rook-ceph mgr 2 설정_안됨

rook-ceph mgr을 1에서 2로 변경해봄 mgr pod가 running인데 갑자기 object storage가 멈춘적이 있어서 그럼 custer.yaml의 mgr을 1 -> 2로 바꾸고 재실행해봄 잘 실행되는데 ceph dashboard가 안됨. curl로 하면 어쩔때는 나오고 어쩔때는 안됨 일단 mgr의 에러로그는 아래와 같음 debug 2022-03-14T04:57:14.890+0000 7f4561489700 0 [dashboard ERROR exception] Internal Server Error Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 46, in da..

Storage/Ceph 2022.03.14

Kubernetes) ceph dashboard login error

rook-ceph k8s에 올려서 dashboard 보려고하는데 안됨 1. connection reset by peer -> ssl 설정 해제 vi cluster.yaml dashboard: enabled: true # serve the dashboard under a subpath (useful when you are accessing the dashboard via a reverse proxy) #urlPrefix: /ceph-dashboard # serve the dashboard at the given port. port: 8443 # serve the dashboard using SSL #ssl: true ssl: false $ k apply -f cluster.yaml 2. url 접근은 지만..

Storage/Ceph 2022.03.14

Kubernetes)rook-Ceph 세팅 관련_sc,cephfs

버전 rook-1.7.5 k8s 1.22 주요 프로세스 - ceph-mon: Cluster monitor로 active / failed node 확인하는 역할을 수행하며 ceph storage cluster map의 master copy를 유지 - ceph-mds: Metadata server로 inode와 디렉토리들의 메타데이터(filesystem의 디렉토리 및 파일이름, RADOS cluster에 저장된 object로의 매핑정보) 를 저장 - ceph-osd: Object storage devices. 실제 파일 내용을 저장하고 OSD의 상태를 확인해서 monitor에 알려주는 역할도 수행 - ceph-rgw: RESTful gateways. Object storage layer를 외부에 노출시키기 ..

Storage/Ceph 2022.02.21

ceph) MinioClient 설치

나도 클라우드 사용하고 싶음 ㅜㅜmc가 object storage 조회, 관리하는 가장 편한 방법 같아서 설치했음크기도 별로 안되고, 파일만 다운받으면되서 엄청 편함 - 링크https://docs.min.io/docs/minio-client-quickstart-guide$ sudo yum install wget -y; $ sudo wget https://dl.min.io/client/mc/release/linux-amd64/mc; $ sudo cp mc /usr/local/bin; $ sudo chmod +x /usr/local/bin/mc;$ mc --help$ mc alias set ceph http://10.***.35.32:30071 access-key secret-key$ ..

Storage/Ceph 2022.02.21