学校门户网站建设,在线生成印章,网站收录查询网,北京网站公司制作文章目录一、MQ的作用二、cinder架构图三、各组件的作用四、cinder对接glusterfs一、MQ的作用
服务内各组件交互通过MQ进行
二、cinder架构图 IET#xff0c;Linux用软件做存储#xff0c;CNA识别过去就是IETTGT#xff0c;物理存储#xff0c;CNA识别过去就是TGT
三、…
文章目录一、MQ的作用二、cinder架构图三、各组件的作用四、cinder对接glusterfs一、MQ的作用
服务内各组件交互通过MQ进行
二、cinder架构图 IETLinux用软件做存储CNA识别过去就是IETTGT物理存储CNA识别过去就是TGT
三、各组件的作用 cinder-api cinder模块对外唯一接口cinder的endpoint接收和处理rest请求。 cinder-scheduler 根据预定的调度过滤策略以及权重计算策略选择出合适的后端来处理任务。 cinder-volume 负责与后端存储进行对接通过各厂商提供的driver将Openstack操作转换为存储操作。 四、cinder对接glusterfs
glusterfs节点操作创建一个卷
mkdir -p /storage/blockgluster volume create testvol 192.168.30.66:/storage/block forcecinder存储节点操作安装驱动,修改cinder.conf
yum install -y glusterfs-fuse.x86_64打开icinder.conf文件
添加glusterfs
enabled_backendslvm,glusterfs文件最后添加然后保存退出
[glusterfs]
volume_drivercinder.volume.drivers.glusterfs.GlusterfsDriver
glusterfs_shares_config/etc/cinder/glusterfs_shares
volume_backend_nametestvol
创建/etc/cinder/glusterfs_shares将卷的名字写入这个文件 创建一个类型 类型与卷绑定
cinder type-key glusterfs set volume_backend_nametestvol重启服务
openstack-service restart cinder查看已经挂载 到底层查看分配一个10G的盘 创建云硬盘cinder管附加云硬盘nova管 计算节点也需要安装glusterfs驱动