![隨筆-unitOpenStack塊存儲(chǔ)服務(wù)概述_第1頁](http://file4.renrendoc.com/view/5b72819ffde22a43fabed89bf30f0392/5b72819ffde22a43fabed89bf30f03921.gif)
![隨筆-unitOpenStack塊存儲(chǔ)服務(wù)概述_第2頁](http://file4.renrendoc.com/view/5b72819ffde22a43fabed89bf30f0392/5b72819ffde22a43fabed89bf30f03922.gif)
![隨筆-unitOpenStack塊存儲(chǔ)服務(wù)概述_第3頁](http://file4.renrendoc.com/view/5b72819ffde22a43fabed89bf30f0392/5b72819ffde22a43fabed89bf30f03923.gif)
![隨筆-unitOpenStack塊存儲(chǔ)服務(wù)概述_第4頁](http://file4.renrendoc.com/view/5b72819ffde22a43fabed89bf30f0392/5b72819ffde22a43fabed89bf30f03924.gif)
![隨筆-unitOpenStack塊存儲(chǔ)服務(wù)概述_第5頁](http://file4.renrendoc.com/view/5b72819ffde22a43fabed89bf30f0392/5b72819ffde22a43fabed89bf30f03925.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、UNIT6UNIT6BlockOpenStackOpenStack服務(wù)為云主機(jī)提供OpenStackOpenStack服務(wù)為云主機(jī)提供設(shè)備。支持不同后端The Block Storage API和scheduler服務(wù)運(yùn)行在controllerThe volume service運(yùn)行在一個(gè)或多節(jié)點(diǎn)節(jié)點(diǎn)可以通過本地磁盤、SAN/NAS等后端設(shè)備為云主機(jī)提。卷OpenStackOpenStackcinder-schedulerMessagin安裝并配置安裝并配置controller節(jié)配置先決條安裝并配置完成安控制組 -uroot-GRANTALLPRIVILEGESONcinder.*TOcind
2、erlocalhostIDENTIFIEDGRANTALLPRIVILEGESONcinder.*TOcinder%IDENTIFIEDBY cinder用戶到service租戶和admin#keystoneuser-role-add-usercinder-tenantservice-role#keystoneuser-create-namecinder-pass#sourceadmin-#rvice-create-name#rvice-create-namecinder-typevolume-descriptionBlockrvice-create-namecinderv2-typevolu
3、mev2-descriptionBlock#keystone-create-service-id -publicurl#keystone-create-service-id -publicurl HYPERLINK http:/c/ rvice-list|awk/volume/$2) ernalurl HYPERLINK http:/c/ -adminurl HYPERLINK http:/c/ -region #keystone-create-service-id -publicurl HYPERLINK http:/c/ #keystone-create-service-id -publi
4、curl HYPERLINK http:/c/ rvice-list|awk/volume2/$2) ernalurl HYPERLINK http:/c/ -adminurl HYPERLINK http:/c/ -region安裝并配置控制組包#yum安裝并配置控制組包#yuminstallopenstack-ython-:rpc_backend=rabbit rabbit_host = crabbit_password=connection :auth_strategy=auth_uri = HYPERLINK http:/c/ http:/cidentity_uri = HYPERLI
5、NK http:/c/ http:/cadmin_tenant_name = service admin_user = cinder admin_password=CINDER_PASS#su-s/bin/sh-ccinder-managedbsynce =my_ip=#systemctl#systemctlenableopenstack-cinder-api.serviceopenstack-cinder-scheduler.service # systemctl start openstack-cinder-api.service openstack-cinder-scheduler.se
6、rvice安裝并配置安裝并配置block1配置先決條安裝并配置完成安卷組配置先決條配置先決條,并添加對(duì)應(yīng)的包(根據(jù)自身情況#yuminstallIPaddress:Networkmask:(or/24) Default gateway: #vgcreatecinder-volumes#pvcreate#systemctlenablelvm2-lvmetad.service # systemctl start lvm2-lvmetad.service編輯編輯filter=a/sda,a/sdb/,filter=a/sdb/,filter=a/sdb/,安裝并配置卷組包#yuminstallope
7、nstack-安裝并配置卷組包#yuminstallopenstack-:connection:rpc_backend=rabbit rabbit_host = crabbit_password=:auth_strategy=auth_uri = HYPERLINK http:/c/ http:/cidentity_uri = HYPERLINK http:/c/ http:/cadmin_tenant_name = service admin_user = cinder admin_password=CINDER_PASSmy_ip=glance_host=my_ip=glance_host
8、=服務(wù)使用lioadmiSCSIiscsi_helper=e =#systemctl#systemctlenableopenstack-cinder-#systemctlstartopenstack-cinder-驗(yàn)證(在controller節(jié)點(diǎn)完驗(yàn)證(在controller節(jié)點(diǎn)完成下列操作#sourcedemo-# cinder service-#sourceadmin-配置cinder服務(wù)配置cinder服務(wù)使用配置block2節(jié)在block1和block2上安裝測(cè)試配置所有安裝cinder服務(wù)的節(jié)點(diǎn)支持驗(yàn)安裝并配置block2節(jié)安裝并配置block2節(jié),并添加對(duì)應(yīng)的IPaddress:N
9、etworkmask:(or/24) Default gateway: 在block1和block2上安裝在block1和block2上安裝#echo/dev/sdc1/export/sdc1xfsdefaults00 #mkdir-p#mount/dev/sdc1/export/sdc1 # mkdir -p /export/sdc1/brick#mkfs.xfs-isize=512#fdisk包#systemctl enable #包#systemctl enable #eeeer #glustervolumecreatetestvolrep2transport#gluster#glust
10、ervolume#glustervolumestart 包包#umount# mount -t glusterfs# df -Th#yuminstall-yglusterfs-配置所有配置所有安裝cinder服務(wù)的節(jié)包括c#systemctlrestartopenstack-cinder- 驗(yàn)證(在controller節(jié)驗(yàn)證(在controller節(jié)點(diǎn)執(zhí)行下列命令# cinder service-#sourceadmin-# cinder type-key lvm1 set volume_backend_name=LVM_iSCSI #cindertype-key lvm2setvolume_backend_name=LVM_iSCSI2#cinder type-key glusterfs1set#cindertype-create lvm1 #cindertype-create #cindertype-create # cindertype-#cindercreate-display-name glustertest
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 數(shù)字化營銷在零售行業(yè)中的應(yīng)用
- 2025年全球及中國虛擬購物平臺(tái)行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 2025-2030全球長焊頸法蘭行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025-2030全球碳纖維管狀編織物行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025-2030全球集成存儲(chǔ)解決方案行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 思想道德修養(yǎng)與法律基礎(chǔ)
- 羅湖區(qū)政府投資項(xiàng)目代建合同范本
- 水電專業(yè)承包合同
- 政府采購項(xiàng)目的采購合同
- 大型高炮廣告牌制作合同
- 人教版五年級(jí)上冊(cè)數(shù)學(xué)簡便計(jì)算大全600題及答案
- 2016-2023年湖南高速鐵路職業(yè)技術(shù)學(xué)院高職單招(英語/數(shù)學(xué)/語文)筆試歷年考點(diǎn)試題甄選合集含答案解析
- 政治單招考試重點(diǎn)知識(shí)點(diǎn)
- 專題01 中華傳統(tǒng)文化-中考英語時(shí)文閱讀專項(xiàng)訓(xùn)練
- 北京四合院介紹課件
- 頁眉和頁腳基本知識(shí)課件
- 《國有企業(yè)采購操作規(guī)范》【2023修訂版】
- 土法吊裝施工方案
- BLM戰(zhàn)略規(guī)劃培訓(xùn)與實(shí)戰(zhàn)
- GB/T 16475-2023變形鋁及鋁合金產(chǎn)品狀態(tài)代號(hào)
- 鎖骨遠(yuǎn)端骨折伴肩鎖關(guān)節(jié)脫位的治療
評(píng)論
0/150
提交評(píng)論