您的位置:首页 > 运维架构

ubuntu12.04 安装openstack注意事项,使用cinder

2013-04-02 10:09 537 查看
1.参考 http://www.chenshake.com/openstack-folsom-install-guide-vlan-mode/#Cinder
可能个人原因,无法使用其上的cinder功能。感觉cinder部分 没有配置完整(cinder服务器端没配置,客户端computer没安装open-iscsi),测试cinder 卷无法 attach到vm

其controller 段使用iscsitarget、iscsitarget-dkms配置iscsi服务端,

改成使用tgt配置

参照:http://docs.openstack.org/trunk/openstack-compute/install/apt/content/osfolubuntu-cinder.html

修改如下

1.安装tgt (改用tgt部署iscsiserver)

tgt 配置

1)/etc/tgt/targets.conf (参照https://bugs.launchpad.net/cinder/+bug/1057904)

include /etc/tgt/conf.d/cinder.conf

include /etc/tgt/conf.d/cinder_tgt.conf

include /etc/tgt/conf.d/nova_tgt.conf

2)/etc/tgt/conf.d/cinder.conf /etc/tgt/conf.d/cinder_tgt.conf /etc/tgt/conf.d/nova_tgt.conf 内容一样

include /var/lib/cinder/volumes/*

2./etc/cinder/

volumes_dir = /var/lib/cinder/volumes/(添加)

iscsi_helper = tgtadm (修改)

verbose = 1 (打开debug模式)

3. /etc/nova/nova.conf (参考 http://www.openstack.org.cn/blog/blog.php?do=showone&type=blog&itemid=117 ,让nova使用Cinder)

cinder_catalog_info=volume:cinder:publicURL (添加)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: