Openstack Core Service -- Cinder

目录:

  • 架构及组件
  • 服务和进程
  • 配置文件
  • 配置示例

 

Cinder 架构及组件

1、架构

2、组件

  cinder-api -- a WSGI app that authenticates and routes requests throughout the Block Storage service.

  cinder-scheduler -- schedules and routes requests to the appropriate volume service. Depending upon your configuration,

            this may be simple round-robin scheduling to the running volume services, or it can be more sophisticated through the use of the Filter Scheduler.

            The Filter Scheduler is the default and enables filters on things like Capacity, Availability Zone, Volume Types, and Capabilities as well as custom filters.

             -- Cinder Scheduler Filters and Cinder Scheduler Weights.

  cinder-volume -- manages Block Storage devices, specifically the back-end devices themselves.

  cinder-provider -- provides a means to back up a Block Storage volume to OpenStack Object Storage (swift).

 

Cinder 服务和进程

 

Cinder配置文件

 1、配置文件 /etc/cinder/cinder.conf

 2、日志文件 /var/log/cinder/cinder-api | scheduler | volume

 

配置示例

 https://docs.openstack.org/newton/config-reference/block-storage/samples/cinder.conf.html

  LVM: volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver

  Ceph: volume_driver = cinder.volume.drivers.rbd.RBDDriver

增加Cinder API服务的吞吐量

  修改配置文件/etc/cinder/cinder.conf,在[default]中修改 osapi_volume_workers 的值为该机器cpu的核心/线程数,修改后重启cinder-api服务。

 

posted @ 2017-04-24 11:05  Vincen_shen  阅读(194)  评论(0)    收藏  举报