zoukankan      html  css  js  c++  java
  • Ceph RGW 创建默认的pool

    使用Ceph-deploy完成RGW服务部署后(最好是在部署RGW服务前建立如下这些pool),使用sudo ceph osd lspools 命令,会发现RGW自动以默认参数创建了N个rgw相关的pool。 然而这些pool的参数按默认是不符合要求。 

    因此需要重建这些pool。 步骤如下:

    1. 删除Pool :

    sudo ceph osd pool delete .rgw.root .rgw.root --yes-i-really-really-mean-it

    sudo ceph osd pool delete default.rgw.control default.rgw.control --yes-i-really-really-mean-it

    sudo ceph osd pool delete default.rgw.data.root default.rgw.data.root --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.gc default.rgw.gc --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.log default.rgw.log --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.users.uid default.rgw.users.uid --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.users.keys default.rgw.users.keys --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.meta default.rgw.meta --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.buckets.index default.rgw.buckets.index --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.buckets.data default.rgw.buckets.data --yes-i-really-really-mean-it
    sudo ceph osd pool delete default.rgw.buckets.non-ec.bak default.rgw.buckets.non-ec.bak --yes-i-really-really-mean-it

    2. 按指定参数创建Pool

    sudo ceph osd pool create .rgw.root 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.control 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.data.root 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.gc 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.log 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.users.uid 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.users.keys 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.meta 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.buckets.index 1024 1024 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.buckets.data 8192 8192 replicated rack_replicated_ruleset
    sudo ceph osd pool create default.rgw.buckets.non-ec 1024 1024 replicated rack_replicated_ruleset

  • 相关阅读:
    访问Ice-Pick Lodge:假设公众筹款网站Kickstarter在成功
    Hadoop2.2.0--Hadoop Federation、Automatic HA、Yarn完全分布式集群结构
    严重:IOException while loading persisted sessions:java.io.EOFException.
    工作注意事项
    Java设计模式偷跑系列(21)建模和实现享受metapatterns
    Java多线程的~~~Lock接口和ReentrantLock使用
    从头学起android<AutoCompleteTextView文章提示文本框.十九.>
    FPGA笔记-阅读.dat文件
    ORA-00932: inconsistent datatypes: expected
    HTML中Select的使用具体解释
  • 原文地址:https://www.cnblogs.com/bodhitree/p/6179219.html
Copyright © 2011-2022 走看看