OpenStack Cinder对接FC步骤

韩善
2023-12-01

OpenStack Cinder对接FC步骤

vim /etc/cinder/cinder.conf

enabled_backends = dmz-vnx-5400

最后添加
[dmz-vnx-5400]
storage_vnx_authentication_type = global
storage_vnx_pool_name = storage_pool //FC存储的pool名
san_ip = 10.128.6.11 //FC地址
san_login = admin //FC用户名
san_password = password //FC密码
naviseccli_path = /opt/Navisphere/bin/naviseccli
default_timeout = 60
volume_driver = cinder.volume.drivers.emc.emc_cli_fc.EMCCLIFCDriver
destroy_empty_storage_group = False
use_multipath_for_image_xfer = True
host = controller
volume_backend_name = dmz-vnx-5400
initiator_auto_registration = False
(2)重启openstack-cinder-volume服务

systemctl restart openstack-cinder-volume

(3)创建volume类型为dmz-vnx-5400

cinder type-create dmz-vnx-5400

cinder type-list

±-------------------------------------±-------------±-------------------------±----------±--------------+
| ID | Name | Description | Is_Public | Is_Predefined |
±-------------------------------------±-------------±-------------------------±----------±--------------+
| 0be1b300-54dd-4123-a98a-5dbaac8564dd | dmz-vnx-5400 | - | True | False |
| 569318b6-fc3f-4701-ba79-a90b1104243d | Capacity | 采用机械硬盘作为存储介质 | True | True |
±-------------------------------------±-------------±-------------------------±----------±--------------+
(4)创建一个类型为dmz-vnx-5400的硬盘就行测试
如果在FC上能看到即为成功
如果在FC 上看不到则为不成功

 类似资料: