标签: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
标签:target tps tran abi nova end http str efault
原文地址:https://www.cnblogs.com/yypr/p/10042479.html