월간 인기 게시물

게시물 718건
   
Multiple store glance image
글쓴이 : 최고관리자 날짜 : 2016-09-08 (목) 11:12 조회 : 3253
                                
방법1) config 파일에 로컬 파일경로를 설정
filesystem_store-datadirs=""
http://egonzalez.org/multiple-store-locations-for-glance-images/



방법2) --store 옵션적용
root@con-206-22:~# glance --os-image-api-version 2 help image-create |grep "\-\-store"
root@con-206-22:~# glance --os-image-api-version 1 help image-create |grep "\-\-store"
usage: glance image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>]
  --store <STORE>       Store to upload image to.

Configuring Glance Storage Backends

There are a number of configuration options in Glance that control how Glance stores disk images. These configuration options are specified in the glance-api.conf configuration file in the section [glance_store].

  • default_store=STORE

Optional. Default: file

Can only be specified in configuration files.

Sets the storage backend to use by default when storing images in Glance. Available options for this option are (file, swift, rbd, sheepdog, cinder or vsphere). In order to select a default store it must also be listed in the stores list described below.

  • stores=STORES

Optional. Default: file, http

A comma separated list of enabled glance stores. Some available options for this option are (filesystem, http, rbd, swift, sheepdog, cinder, vmware_datastore)


http://serverascode.com/2016/07/08/glance-multiple-backend-stores.html


이름 패스워드
스타일
굴림
10pt
<html> <body>
 
 
 
 
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.