Get the App
SLTechnology News&Howtos  ›  Servers  › 

OpenStack cinder storage uses NFS

Shulou Source: shulou.com Published: 2022-06-03 04:33:27 09月22日 Update

1. yum -y install nfs-utils rpcbind2. mkdir -p /data/nfs3. vim /etc/exports/data/nfs *(rw,sync,no_root_squash)4. exportfs -r5. showmount -e 127.0.0.16. yum install openstack-cinder targetcli python-keystone -y7. vim /etc/cinder/cinder.conf[DEFAULT]transport_url = rabbit://openstack:openstack@10.201.1.80auth_strategy = keystoneglance_api_servers = http://10.201.1.80:9292enabled_backends = nfs[nfs]nfs_shares_config = /etc/cinder/nfs_sharesvolume_driver = cinder.volume.drivers.nfs.NfsDrivernfs_mount_point_base = $state_path/mntvolume_backend_name = NFS-Storage8. vim /etc/cinder/nfs_shares10.201.1.80:/data/nfs9. chown root:cinder /etc/cinder/nfs_shareschmod 0640 /etc/cinder/ nfs_shares10. systemctl enable openstack-cinder-volume.service target.servicesystemctl start openstack-cinder-volume.service target.service11. cinder type-create NFScinder type-create ISCSI12. cinder type-key NFS set volume_backend_name=NFS-Storagecinder type-key ISCSI set volume_backend_name=ISCSI-Storage

Tags: Storage Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker Linux OPPO Reno vpn