从品牌网站建设到网络营销策划,从策略到执行的一站式服务
1. yum -y install nfs-utils rpcbind
2. mkdir -p /data/nfs
3. vim /etc/exports
/data/nfs *(rw,sync,no_root_squash)
4. exportfs -r
5. showmount -e 127.0.0.1
6. yum install openstack-cinder targetcli python-keystone -y
7. vim /etc/cinder/cinder.conf
[DEFAULT]
transport_url = rabbit://openstack:openstack@10.201.1.80
auth_strategy = keystone
glance_api_servers = http://10.201.1.80:9292
enabled_backends = nfs
[nfs]
nfs_shares_config = /etc/cinder/nfs_shares
volume_driver = cinder.volume.drivers.nfs.NfsDriver
nfs_mount_point_base = $state_path/mnt
volume_backend_name = NFS-Storage
8. vim /etc/cinder/nfs_shares
10.201.1.80:/data/nfs
9. chown root:cinder /etc/cinder/nfs_shares
chmod 0640 /etc/cinder/ nfs_shares
10. systemctl enable openstack-cinder-volume.service target.service
systemctl start openstack-cinder-volume.service target.service
11. cinder type-create NFS
cinder type-create ISCSI
12. cinder type-key NFS set volume_backend_name=NFS-Storage
cinder type-key ISCSI set volume_backend_name=ISCSI-Storage
成都网站建设公司地址:成都市青羊区太升南路288号锦天国际A座10层 建设咨询028-86922220
成都快上网科技有限公司-四川网站建设设计公司 | 蜀ICP备19037934号 Copyright 2020,ALL Rights Reserved cdkjz.cn | 成都网站建设 | © Copyright 2020版权所有.
专家团队为您提供成都网站建设,成都网站设计,成都品牌网站设计,成都营销型网站制作等服务,成都建网站就找快上网! | 成都网站建设哪家好? | 网站建设地图