这个部分描述如何在控制节点上安装和配置块设备存储服务,即 cinder。这个服务需要至少一个额外的存储节点,以向实例提供卷。
安装软件包:
# apt-get install cinder-api cinder-scheduler
回应debconf的提示。
编辑 /etc/cinder/cinder.conf,同时完成如下动作:
在 [DEFAULT 部分,配置``my_ip`` 来使用控制节点的管理接口的IP 地址。
[DEFAULT]
...
my_ip = 10.0.0.11
编辑文件 /etc/nova/nova.conf 并添加如下到其中:
[cinder]
os_region_name = RegionOne
重启计算API 服务:
# service nova-api restart
重启块设备存储服务:
# service cinder-scheduler restart
# service cinder-api restart
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.