Docking Integration of ceph and openstack
Experimental environment
Three-node community version Openstack environment
Controller:172.16.1.100
Computer:172.16.1.131
Cinder:172.16.1.132
The IP address used by the three nodes here is the management address of Openstack.
Ceph2:172.16.1.128
Ceph3:172.16.1.129
Ceph4:172.16.1.130
The Openstack cloud platform and ceph distributed cluster I use here are both manually built test environments.
Using rbd to provide storage for cloud platform
(1) image: save the image file in glance
(2) volume storage: save the volume; of cinder and choose to create a new volume when creating a virtual machine
(3) vms storage: save and create virtual machines without selecting innovative volumes
First install rbd-related software on the cloud platform (all three nodes of the cloud platform are installed) yum install-y python-rbdyum install-y ceph-common# create three POOLceph osd pool create volumes 128ceph osd pool create images 128ceph osd pool create vms 12 initialization POOLrbd pool init volumesrbd pool init imagesrbd pool init vms on the control node of ceph
Import the ceph configuration file to the three nodes of the cloud platform
Execute sudo ssh root@172.16.1.100 tee / etc/ceph/ceph.conf on the control node of the ceph cluster