본문 바로가기

SWiFT3

Swift deivce add 1. 모든 Object 삭제 dashboard에서 그 전에 생성해둔 glance container를 삭제한다. glance container 참조 2020/07/07 - [Infra/프라이빗 클라우드 인프라] - [ Glance with Swift backend ] [ Glance with Swift backend ] 1. cd /usr/share/diskimage-builder/elements/centos7/post-install.d 2. cat 01-enable-service #!/bin/bash systemctl enable httpd 설치 후에 systemctl enable httpd 명령어를 실행하기 위한 01-enable-servi.. suee-b.tistory.com 2. Swift 서비스 .. 2020. 7. 8.
Object Storage(swift) 서비스 관리 Proxy Node openstack-swift-proxy (proxy 서비스) → 모든 외부의 요청을 받는다 (API) proxy port = 8080 Storage Node openstack-swift-account openstack-swift-container openstack-swift-object → REST API로 모든 요청이 이루어진다. → web service ( rest api는 http 프로토콜로 통신하기 때문에 ) 아주 여러개가 존재. [ 용어 ] Region openstack에 해당하는 scope 물리적인 공간(위치)으로서의 데이터 단위 단일 region → RegionOne Zone 특정 시스템의 host / node / rack 복제본을 안전하게 저장할 단위 zone의 단위는 .. 2020. 7. 8.
[ Glance with Swift backend ] 1. cd /usr/share/diskimage-builder/elements/centos7/post-install.d 2. cat 01-enable-service #!/bin/bash systemctl enable httpd 설치 후에 systemctl enable httpd 명령어를 실행하기 위한 01-enable-service 파일 3. chmod 755 01-enable-service or chmod +x 01-enable-service 실행 파일이기 때문에 실행 권한을 부여한다. 4. export DIB_LOCAL_IMAGE=/root/centos7.qcow2 env | grep DIB 환경 변수 설정 및 확인 5. disk-image-create -a amd64 -t qcow2 -o ~/web.. 2020. 7. 7.