YUMSERV
article thumbnail
[Ceph] Ceph - ansible 설치
BlockStorage(Ceph) 2021. 7. 4. 10:12

* 환경 : Ubuntu 20.04 * Deploy 서버 1대 * Ceph 서버 3대 * CEPH VERSION : Octopus 0. 초기 설정 (ssh-keygen 설정) $ ssh-keygen $ ssh-copy-id deploy $ ssh-copy-id ceph-1 $ ssh-copy-id ceph-2 $ ssh-copy-id ceph-3 1. Ansible 패키지 설치, ceph-ansible 패키지 다운로드 $ apt update;apt -y install python3-pip $ apt-get install git $ apt-get install ansible $ apt-get install sshpass $ git clone https://github.com/ceph/ceph-ansible..

python-rados 연동
BlockStorage(Ceph) 2021. 4. 16. 08:22

python 으로 ceph 연동 1. 패키지 설치 $ yum install python-rados 2. python ceph 연동 확인 # python Python 2.7.5 (default, Jun 20 2019, 20:27:34) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import rados, sys >>> cluster = rados.Rados(conffile='/etc/ceph/ceph.conf') cluster librados 버전 확인 >>> print "\nlibrados version: " + str(clus..

ceph 1 daemons have recently crashed
BlockStorage(Ceph) 2021. 2. 20. 21:01

$ ceph -s cluster: id: 7025ab16-5810-4382-9318-1bd4a704ef48 health: HEALTH_WARN 1 daemons have recently crashed services: mon: 2 daemons, quorum mgmt,mon (age 3m) mgr: mgmt(active, since 47h) mds: 1 up:standby osd: 9 osds: 9 up (since 5m), 9 in (since 47h) data: pools: 1 pools, 128 pgs objects: 4 objects, 35 B usage: 9.8 GiB used, 80 GiB / 90 GiB avail pgs: 128 active+clean Ceph Crash 상태가 뜨면서 cr..