摘要: # cat /etc/nova/nova.conf |grep -n state_path|grep -v '#'314:state_path=/var/lib/nova 阅读全文
posted @ 2015-12-30 18:05 Endoresu 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 在存储节点:# pvcreate /dev/sdb# vgcreate vg100gb /dev/sdb# openstack-config --set /etc/cinder/cinder.conf DEFAULT volume_group vg100gb# chkconfig --list|gr... 阅读全文
posted @ 2015-12-30 15:02 Endoresu 阅读(388) 评论(0) 推荐(0) 编辑
摘要: # vgs -a VG #PV #LV #SN Attr VSize VFree cinder 1 0 0 wz--n- 30.39g 30.39g os 1 2 0 wz--n- 19.00g 4.00m# pvs -S vg_name=os PV VG Fmt Attr PSize PFree ... 阅读全文
posted @ 2015-12-30 11:57 Endoresu 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 在cinder节点,cinder-volume使用的磁盘(/dev/sdb),需要在/etc/lvm/lvm.conf中配置:devices {...filter = [ "a/sdb/", "r/.*/"]如果cinder节点的操作系统也安装在lvm上,则还需要(在cinder节点操作):filt... 阅读全文
posted @ 2015-12-30 11:34 Endoresu 阅读(3141) 评论(0) 推荐(0) 编辑
摘要: source admin-openrc.shkeystone user-create --name=demo --pass=123456keystone tenant-create --name=demo --description="Demo Tenant"keystone user-role-a... 阅读全文
posted @ 2015-12-30 10:14 Endoresu 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: 配置ntp服务器:# vi /etc/ntp.confdriftfile /var/lib/ntp/driftrestrict -4 default kod notrap nomodifyrestrict -6 default kod notrap nomodifyrestrict 127.0.0.... 阅读全文
posted @ 2015-12-30 09:27 Endoresu 阅读(338) 评论(0) 推荐(0) 编辑