Preface Ceph. is a widely used distributed-storage solution. The performance of Ceph varies greatly in different configuration environments. Many clusters in production environments are deployed on hard disks. For various types of workloads, performance requirements are also different. We built a Ceph cluster based on the Open-CAS caching framework. We made some adjustments to the. Ceph is a distributed object, block, and file storage platform. C 4,421 9,391 0 643 Updated 36 minutes ago. Configuring the Ceph client (optional)¶ Ceph is a massively scalable, open source, distributed storage system. These links provide details on how to use Ceph with OpenStack.
Ceph is a massively scalable, open source, distributed storage system.
These links provide details on how to use Ceph with OpenStack:
Ceph - The De Facto Storage Backend for OpenStack(Hong Kong Summittalk)
Note
Configuring Ceph storage servers is outside the scope of this documentation.
Authentication¶
We recommend the cephx
authentication method in the Cephconfig reference. OpenStack-Ansible enables cephx
by default forthe Ceph client. You can choose to override this setting by using thecephx
Ansible variable:
Deploy Ceph on a trusted network if disabling cephx
.
Configuration file overrides¶
OpenStack-Ansible provides the ceph_conf_file
variable. This allowsyou to specify configuration file options to override the defaultCeph configuration:
The use of the ceph_conf_file
variable is optional. By default,OpenStack-Ansible obtains a copy of ceph.conf
from one of your Cephmonitors. This transfer of ceph.conf
requires the OpenStack-Ansibledeployment host public key to be deployed to all of the Ceph monitors. Moredetails are available here: Deploying SSH Keys.
The following minimal example configuration sets nova and glanceto use ceph pools: ephemeral-vms
and images
respectively.The example uses cephx
authentication, and requires existing glance
andcinder
accounts for images
and ephemeral-vms
pools.
For a complete example how to provide the necessary configuration for a Cephbackend without necessary access to Ceph monitors via SSH please seeCeph keyring from file example.
Extra client configuration files¶
Deployers can specify extra Ceph configuration files to supportmultiple Ceph cluster backends via the ceph_extra_confs
variable.
These config file sources must be present on the deployment host.
Alternatively, deployers can specify more options in ceph_extra_confs
to deploy keyrings, ceph.conf files, and configure libvirt secrets.
Ceph Windows Client
The primary aim of this feature is to deploy multiple ceph clusters ascinder backends and enable nova/libvirt to mount block volumes from thosebackends. These settings do not override the normal deployment ofceph client and associated setup tasks.
Deploying multiple ceph clusters as cinder backends requires the followingadjustments to each backend in cinder_backends
The dictionary keys rbd_ceph_conf
, rbd_user
, and rbd_secret_uuid
must be unique for each ceph cluster to used as a cinder_backend.
Monitors¶
The Ceph Monitor maintains a master copy of the cluster map.OpenStack-Ansible provides the ceph_mons
variable and expects a list ofIP addresses for the Ceph Monitor servers in the deployment:
Configure os_gnocchi with ceph_client¶
Ceph Client Versions
If the os_gnocchi role is going to utilize the ceph_client role, the followingconfigurations need to be added to the user variable file: