Openstack&ceph Configuration using RBD cache

Source: Internet
Author: User
Tags auth
Environment DescriptionOpenstack Icehouse Ceph 0.87 Configuration Steps
Configuring Ceph
Add the following to the ceph.conf configuration file
RBD cache = True
RBD cache Writethrough until Flush = True

RBD Cache also has some configuration properties that can be changed as needed
#rbd Cache size 
#rbd cache max Dirty 
#rbd cache target Dirty 


Configure OpenStack
Add the following to the [Default] field in the nova.conf configuration file
Disk_cachemodes= "Network=writeback"

Then start instance view Libvirt.xml file to view the cache mode as writeback
<disk type= "Network" device= "Disk" >
      <driver name= "QEMU" type= "raw" cache= "writeback"/>
      < SOURCE protocol= "RBD" name= "Volumes/volume-2b2db46b-8b22-40f9-bde9-7df7c3c8e9b7" >
        



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.