ceph 接入OpenStack
创建对应的pool: ceph osd pool create volumes 512 ceph osd pool create images 512 ceph osd pool create vms 512 安装各个节点需要的组件: 在Controller节点安装ceph管理接口: sudo apt-get install python-ceph libvirt-bin 在Glance节点安装python-rbd: sudo apt-get install python-rbd 在Cinder-volume节点和Nova-compute节点安装ceph-common: sudo apt-get install ceph-common 复制Ceph配置文件到各个节点 Glance节点、Cinder-volume节点和Nova-compute节点: ssh (your-openstack-server-node) sudo tee /etc/ceph/ceph.conf </etc/ceph/ceph.conf 创建CephX认证授权用户: ceph auth get-or-create client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool