商業儲存對接整理

2021-09-23 20:39:44 字數 1829 閱讀 2842

scaleio

[default]

enabled_backends = ceph,scaleio

[scaleio]

volume_driver = cinder.volume.drivers.emc.scaleio.scaleiodriver

volume_backend_name = scaleio

san_ip = 111.88.50.11

sio_protection_domain_name = default

sio_storage_pool_name = defaultsp

sio_storage_pools = default:defaultsp

san_login = admin

san_password = myp@ssw0rd

注釋(1)安裝emc scaleio client

(2)san_ip 是登入emc scaleio client的位址

(3)sio_protection_domain_name是emc scaleio client標籤frontend->volumes中default

(4)sio_protection_domain_name是emc scaleio client標籤frontend->volumes中的pool name

(5)sio_storage_pools是(3):(4)組合

(6)san_login和san_password是登入emc scaleio client用的資訊

驗證步驟

(1)cinder  type-create emc

(2)cinder type-key emc set volume_backend_name=scaleio

(3)cinder create 1 --name emc --volume-type emc

注意點:建立backup報錯

缺sdc包.安裝,

nova配置(不然nova起不來)

vim /bin/emc/scaleio/drv_cfg.txt

#configuration file for the kernel module.

# one line stating the client guid.

#ini_guid d9b8a46d-4abd-4ec9-abb2-7bd74f6b0ebe

# additional line for mdm (meta-data servers)

mdm 111.88.50.11

ini_guid c0fcfa68-2229-4612-b55a-cca1580d5842

重啟 scli

svc編輯cinder.conf,新增如下

[default]

enabled_backends = ceph,scaleio,ibm_svc

[ibm_svc]

volume_backend_name = ibm_svc

volume_driver = cinder.volume.drivers.ibm.storwize_svc.storwize_svc_fc.storwizesvcfcdriver

san_ip = 111.63.50.51

san_login = superuser

san_password = admin989848

storwize_svc_volpool_name = yb_ds8870_pool_01

storwize_svc_allow_tenant_qos = true

ip:111.63.50.11

user:admin

passwd:passw0rd

pool_id : p4

Glance對接ceph,儲存映象

ceph節點 預設情況下,ceph的塊裝置使用rbd池,可以刪除rbd池,並建立以下池 注意 確保ceph的集群正常執行,然後再建立池。ceph osd pool create images 128 在安裝有glance api的節點上配置ceph作為ceph的客戶端。每個都需要請求ceph.con...

Seafile對接Amazon S3儲存後端

1.安裝python第三方庫boto easy install boto 2.進入seafile配置檔案.conf新增下面內容 commit object backend name s3 bucket my.commit objects key id your key id key your sec...

小程式對接七牛雲儲存

準備工作 b 需要乙個上傳令牌token,乙個檔案上傳對應乙個token,這是必須的。上傳令牌token還有時效性,後端配置1h,足以讓你完成上傳操作就行。這個token由我們自己後端生成,前端調介面獲取token,或者像我這樣,直接把介面丟在 uptokenurl 後面,七牛的會自己去取。也可以由...