Chinaunix首页 | 论坛 | 博客
  • 博客访问: 270770
  • 博文数量: 78
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 852
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-06 11:01
个人简介

不做第二个别人,永远做第一个自己。

文章分类

全部博文(78)

文章存档

2014年(60)

2013年(18)

分类: 云计算

2014-04-10 11:06:41

# Install Cinder
[root@cloud01 ~]# openstack-db –init –service cinder –password password 
Please enter the password for the ‘root’ MySQL user:                 # MySQL root password
Verified connectivity to MySQL.
Creating ‘cinder’ database.
Updating ‘cinder’ database password in /etc/cinder/cinder.conf
Initializing the cinder database, please wait…
Complete!
 
[root@cloud01 ~]# vim /etc/cinder/cinder.conf 
# line 10: add
rootwrap_config = /etc/cinder/rootwrap.conf
auth_strategy = keystone
# line 12: chnage like follows
[keystone_authtoken]
admin_tenant_name =service
admin_user =cinder
admin_password =servicepassword


auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-signing-cinder 

[root@cloud01 ~]# sed -i ’1iinclude /etc/cinder/volumes/*’ /etc/tgt/targets.conf 
[root@cloud01 ~]# /etc/rc.d/init.d/tgtd start 
Starting SCSI target daemon:                               [  OK  ]
[root@cloud01 ~]# chkconfig tgtd on 
 
[root@cloud01 ~]# for service in api scheduler volume; do
> /etc/rc.d/init.d/openstack-cinder-$service start
> chkconfig openstack-cinder-$service on
> done 
Starting openstack-cinder-api:                             [  OK  ]
Starting openstack-cinder-scheduler:                       [  OK  ]
Starting openstack-cinder-volume:                          [  OK  ]
阅读(829) | 评论(0) | 转发(0) |
0

上一篇:创建volumes

下一篇:VIRT-MANAGER 启动问题

给主人留下些什么吧!~~