CoprHD and OpenStack Northbound and Southbound
Agenda OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder
Hypervisor (KVM/Xen/ESX/…) OpenStack OpenStack services Cloud Stack Horizon (UI) VM VM VM Configurable Framework API Python implementation Nova Hypervisor (KVM/Xen/ESX/…) Drivers Neutron IP Switching fabric FC Switching fabric Drivers Cinder Manila File Storage Block Storage Drivers Drivers Keystone AD/LDAP Object Storage Swift
CoprHD in OpenStack (Northbound) Cinder driver features Keystone Horizon Swift Create/Delete/Expand volume Attach/Detach volume Create/Delete Snapshot Create volume from volume/snapshot FC, iSCSI, ScaleIO protocols Consistency Groups Nova Cinder Neutron CoprHD Cinder driver OpenStack Not supported CoprHD QoS Replication Driver is not part of upstream (released on github) EMC VMAX VNX … IBM XIV HDS EMC VPLEX …
Cinder driver Deployment cinder.conf How does it work? Allowed_backends=coprhd-fc,coprhd-iscsi [coprhd-fc] …. [coprhd-iscsi] Driver uses CoprHD CLI CLI makes REST API calls to API service Credentials are stored in cinder.conf in plaintext (cinder issue) Project, Tenant and Varray specified in cinder.conf New backend entry needed for every combination Volume Types cinder type-create Platinum cinder type-key set Platinum ViPR:VPOOL=“VirtualPool1” cinder type-key set Platinum volume_backend_name=coprhd-fc cinder type-create Gold cinder type-key set Gold ViPR:VPOOL=“VirtualPool2” cinder type-key set Gold volume_backend_name=coprhd-iscsi These volume types are visible in the Horizon UI
CoprHD with cinder southbound History Needed a way to expand the support matrix Considered various alternatives Why cinder? Large number of tested drivers Why the API approach? Considered using the python drivers directly Not feasible due to library depedencies
CoprHD with cinder Southbound Overview CoprHD CoprHD emulates nova – acts as a client to cinder Uses OpenStack Block Storage API Limited OpenStack installation (Keystone + Cinder) OpenStack REST API Keystone Cinder Cinder drivers Advantages OpenStack Ability to support many arrays Limitations Cannot control port allocation (for export) Volume wwn is not available Array serial number not available HP 3Par IBM SVC NetApp …
Cinder Southbound -- detail Northbound REST API (CoprHD) Cinder REST API API service Cinder service Controller service Cinder driver Cinder driver Native drivers VMAX VNX Isilon NetApp IBM SVC …
Projects for community Cinder Northbound Add features to CoprHD driver - QoS, Replication Submit cinder driver to OpenStack community Cinder Southbound Consistency Groups VPLEX orchestration (in progress) Manila Manila driver
Q & A