码迷,mamicode.com
首页 > 其他好文 > 详细

##1.cinder存储节点

时间:2018-11-30 11:26:02      阅读:245      评论:0      收藏:0      [点我收藏+]

标签:target   tps   tran   abi   nova   end   http   str   efault   

 ###openstack-ocata 单节点安装 部署 目录汇总

 

1. cin-node1上安装cinder
yum install openstack-cinder openstack-utils python-keystone scsi-target-utils targetcli -y

 

2. cin-node1上上配置cinder.conf文件
cp /etc/cinder/cinder.conf /etc/cinder/cinder.conf.bak
>/etc/cinder/cinder.conf

echo ‘
[DEFAULT]
auth_strategy = keystone
my_ip = 192.168.62.100
enabled_backends = ceph
glance_api_servers = http://controller:9292
glance_api_version = 2
enable_v1_api = True
enable_v2_api = True
enable_v3_api = True
storage_availability_zone = nova
default_availability_zone = nova
os_region_name = RegionOne
api_paste_config = /etc/cinder/api-paste.ini
transport_url = rabbit://openstack:RABBIT_PASS@controller

[database]
connection = mysql+pymysql://cinder:CINDER_DBPASS@controller/cinder

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = cinder
password = cinder

[oslo_concurrency]
lock_path = /var/lib/cinder/tmp
‘>>/etc/cinder/cinder.conf

 

3. cin-node1上启动openstack-cinder-volume和target并设置开机启动
systemctl enable openstack-cinder-volume.service target.service
systemctl restart openstack-cinder-volume.service target.service
systemctl status openstack-cinder-volume.service target.service

 

##1.cinder存储节点

标签:target   tps   tran   abi   nova   end   http   str   efault   

原文地址:https://www.cnblogs.com/yypr/p/10042479.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!