使用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
ceph rgw啟動過程中元資料的建立及初始化
本來不想再寫ceph相關的文章了,最近在做ceph元資料優化研究及架構,整體思路是 將rados作為資料儲存引擎,構建分布式元資料集群來管理元資料,如 將rgw或者fs相關的元資料從ceph的元資料池中抽取出來,轉存到分布式元資料集群中,以此達到提公升單集群處理能力的目的 要達到這個目的,有兩個基礎...
Oracle建立時預設建立的使用者以及密碼
在建立oracle資料庫時,如下兩個使用者被自動建立,1.sys,預設密碼為change on install,當建立乙個資料庫時,sys使用者將被預設建立並授予dba角色,所有資料庫資料字典中的基本表和檢視都儲存在名為sys的方案中,這些基本表和檢視對於oracle資料庫的操作時非常重要的。為了維...
ftp預設目錄,建立多層目錄
function ftp mksubdirs ftpcon,ftpbasedir,ftpath usage path of storage ftp data data newftpdir ftp data data 2018 username ftpserver 52.xx.xx.xx login ...