Openstack对接EMC商业存储scaleio

↘锁芯ラ 提交于 2020-02-24 06:43:59
1 控制节点修改cinder.conf:
[DEFAULT]
enabled_backends = scaleio
[scaleio]
volume_driver = cinder.volume.drivers.emc.scaleio.ScaleIODriver
volume_backend_name = scaleio
san_ip = 111.88.50.11
sio_protection_domain_name = default
sio_storage_pool_name = defaultSP
sio_storage_pools = default:defaultSP
san_login = admin
san_password = myP@ssw0rd
重启服务openstack-cinder-api openstack-cinder-volume,即可cinder create/ snapshot /extend volume
 
2、控制节点安装EMC-ScaleIO-sdc-2.0-14004.106.el7.x86_64.rpm,使能cinder backup 功能:
EMC-ScaleIO-sdc-2.0-14004.106.el7.x86_64.rpm 这个包在节点 上是装不上的,经过系统组陈亮修改并重新build之后,才能安装成功。
然后修改/bin/emc/scaleio/drv_cfg.txt mdm的ip。
systemctl restart scini 即可完成sdc 在mdm的注册。
 
3、计算节点配置需要安装EMC-ScaleIO-sdc-2.0-14004.106.el7.x86_64.rpm,使能nova volume-attach 功能:
方法同第2步

 

自己的总结

scaleio
[DEFAULT]
enabled_backends = ceph,scaleio

[scaleio]
volume_driver = cinder.volume.drivers.emc.scaleio.ScaleIODriver
volume_backend_name = scaleio
san_ip = 111.88.50.11
sio_protection_domain_name = default
sio_storage_pool_name = defaultSP
sio_storage_pools = default:defaultSP
san_login = admin
san_password = myP@ssw0rd


注释
(1)安装emc scaleio client
(2)san_ip 是登录emc scaleio client的地址
(3)sio_protection_domain_name是emc scaleio client标签Frontend->volumes中default
(4)sio_protection_domain_name是emc scaleio client标签Frontend->volumes中的pool name
(5)sio_storage_pools是(3):(4)组合
(6)san_login和san_password是登录emc scaleio client用的信息

验证步骤

(1)cinder  type-create emc
(2)cinder type-key emc set volume_backend_name=scaleio
(3)cinder create 1 --name emc --volume-type emc


注意点:创建backup报错
缺sdc包.安装,
 
nova配置(不然nova起不来)

vim /bin/emc/scaleio/drv_cfg.txt

#Configuration file for the kernel module.


# One line stating the client GUID.
#ini_guid d9b8a46d-4abd-4ec9-abb2-7bd74f6b0ebe


# Additional line for MDM (Meta-data servers)
mdm 111.88.50.11


ini_guid c0fcfa68-2229-4612-b55a-cca1580d5842


重启 scli

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!