欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

openstackswift做glance后端存儲-創(chuàng)新互聯(lián)

在controller里操作

10年積累的成都網(wǎng)站建設、成都網(wǎng)站設計經(jīng)驗,可以快速應對客戶對網(wǎng)站的新想法和需求。提供各種問題對應的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡服務。我雖然不認識你,你也不認識我。但先網(wǎng)站設計后付款的網(wǎng)站建設流程,更有城固免費網(wǎng)站建設讓你可以放心的選擇與我們合作。

vim /etc/glance/glance-api.conf

[glance_store]

default_store = swift         默認為file 改為swift

stores = file, http                默認不用動

swift_store_auth_version = 2        默認版本為2

stores=glance.store.swift.Store,glance.store.filesystem.Store     此項一定要加上,不然無法上傳

swift_store_auth_address = http://controller:5000/v2.0    controller的keystone認證

swift_store_user = service:swift    使用swift用戶

swift_store_key = swift        密碼

swift_store_container = glance        將要被創(chuàng)建的容器

swift_store_create_container_on_put = True        上傳開

swift_store_large_object_size = 5120        大5G限制,但與glance結(jié)合后限制無效

swift_store_large_object_chunk_size = 200        大200個容器

swift_enable_snet = False

systemctl restart openstack-glance-api

編輯變量,用租戶賬號密碼

vim /root/opensr

export OS_USERNAME=BPM
export OS_PASSWORD=pwd4bpm
export OS_TENANT_NAME=BPM
export OS_AUTH_URL=http://controller:5000/v2.0
export OS_REGION_NAME=RegionOne
export OS_VOLUME_API_VERSION=2

export OS_IMAGE_API_VERSION=1

source /root/opensr

export 驗證環(huán)境變量

測試。

比如/home下有個做好的img或qcwo2鏡像

glance p_w_picpath-create --name "Windows-7-Ultimate-2014.11.19" --file Windows-7-Ultimate-2014.11.19.img --disk-format qcow2 --container-format bare --is-public True --progress

[=============================>] 100%
+------------------+--------------------------------------+
| Property        | Value                               |
+------------------+--------------------------------------+
| checksum        | 777c159ca66db6dc2ae56c683607651d    |
| container_format | bare                                |
| created_at      | 2015-10-20T06:29:30.899474          |
| deleted         | False                               |
| deleted_at      | None                                |
| disk_format     | qcow2                               |
| id              | 82676cbe-414f-4c7a-a45b-c4c70aecfde3 |
| is_public       | True                                |
| min_disk        | 0                                   |
| min_ram         | 0                                   |
| name            | Windows-7-Ultimate-2014.11.19       |
| owner           | d5ed6aee0eae4609a3baa3c4d08e0e64    |
| protected       | False                               |
| size            | 32212254720                         |
| status          | active                              |
| updated_at      | 2015-10-20T06:36:54.885922          |
| virtual_size    | None                                |
+------------------+--------------------------------------+

glance p_w_picpath-list 查看鏡像

接下來啟虛機,做快照。測試。

另外有需要云服務器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。

本文題目:openstackswift做glance后端存儲-創(chuàng)新互聯(lián)
鏈接地址:http://chinadenli.net/article4/dgdooe.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供云服務器、定制開發(fā)、軟件開發(fā)、網(wǎng)站策劃、動態(tài)網(wǎng)站網(wǎng)站內(nèi)鏈

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

h5響應式網(wǎng)站建設