版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、UNIT6UNIT6BlockOpenStackOpenStack服务为云主机提供OpenStackOpenStack服务为云主机提供设备。支持不同后端The Block Storage API和scheduler服务运行在controllerThe volume service运行在一个或多节点节点可以通过本地磁盘、SAN/NAS等后端设备为云主机提。卷OpenStackOpenStackcinder-schedulerMessagin安装并配置安装并配置controller节配置先决条安装并配置完成安控制组 -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配置先决条安装并配置完成安卷组配置先决条配置先决条,并添加对应的包(根据自身情况#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、=服务使用lioadmiSCSIiscsi_helper=e =#systemctl#systemctlenableopenstack-cinder-#systemctlstartopenstack-cinder-验证(在controller节点完验证(在controller节点完成下列操作#sourcedemo-# cinder service-#sourceadmin-配置cinder服务配置cinder服务使用配置block2节在block1和block2上安装测试配置所有安装cinder服务的节点支持验安装并配置block2节安装并配置block2节,并添加对应的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服务的节包括c#systemctlrestartopenstack-cinder- 验证(在controller节验证(在controller节点执行下列命令# 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等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026中国食品健康食品行业市场供需分析及投资评估规划分析研究报告
- 2026中国新能源电动汽车电池研发产业市场现状供需分析及投资趋势规划分析研究报告
- 2026中国医药研发生产行业市场深度调研及发展趋势与投资前景预测研究报告
- 2026中国食品加工食品行业市场供需分析及投资评估规划分析研究报告
- 2026汽车零部件供应链管理优化与行业竞争力研究
- 2026中国动力总成系统集成化设计对传统供应链的重构影响研究
- 2026全球电子商务平台竞争格局深度监测及移动端用户体验优化与商业化模式创新分析报告
- 2026中国云计算行业市场发展现状分析决策竞争评估规划研究报告
- 2026中国叶黄素酯新零售渠道布局与数字化转型战略
- 2026中国消费升级趋势与新兴品牌发展机会研究报告
- 牧场物语-矿石镇的伙伴们-完全攻略
- DB12T 1347-2024 沥青混合料理论最大相对密度试验规程+浸渍法
- 【市质检】福州市2024-2025学年高三年级第一次质量检测 数学试卷(含答案)
- DL∕T 2032-2019 计量用低压电流互感器
- 医学影像技术可研报告-南阳医学高等专科学校
- 2024年陕西国防工业职业技术学院单招职业技能测试题库附答案
- 葡萄酒wset二级复习题及葡萄酒考试题-初级
- 糖尿病的健康风险评估与个体化治疗策略
- 试模模具和设备确认表
- GB/T 8918-1996钢丝绳
- GB/T 4974-2018空压机、凿岩机械与气动工具优先压力
评论
0/150
提交评论