天天看點

openstack 管理三十九 - cinder 連接配接多個 ceph 存儲方法環境說明目标cinder server 配置

環境說明

目前 openstack 使用正常

由于後端 ceph 存儲容量已經超過 60%

不希望直接進行擴容, 因為會存在大量的資料遷移問題

新建立另外一個 ceph 叢集, 并計劃用于 openstack 成為一個新的 ceph 後端

舊的 ceph 叢集稱為 ceph-A, 使用中的 pool 為 volumes

新的 ceph 叢集稱為 ceph-B, 使用中的 pool 為 develop-ceph

目标

在 openstack 中, 同時連接配接到兩個不同的 ceph backend

cinder server 配置

  1. ceph 連接配接配置
  2. cinder 服務配置
  3. 指令行對 cinder 服務進行管理
  4. 驗證

ceph 連接配接配置

1.同時把兩個 ceph 叢集中的配置複制到 cinder 伺服器 /etc/ceph 目錄下, 定義成不同命名

[[email protected] ceph]# tree `pwd`
/etc/ceph
├── ceph.client.admin-develop.keyring      <- ceph-B 叢集中的 admin key
├── ceph.client.admin-volumes.keyring      <- ceph-A 叢集中的 admin key
├── ceph.client.developcinder.keyring      <- ceph-B 叢集中的使用者 developcinder key
├── 
           

繼續閱讀