10
CoprHD and OpenStack Northbound and Southbound

CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

Embed Size (px)

Citation preview

Page 1: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

CoprHD and OpenStackNorthbound and Southbound

Page 2: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

• OpenStack overview

• CoprHD in OpenStack: cinder Northbound

• CoprHD with southbound cinder

Agenda

Page 3: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

Cloud Stack

OpenStack

Nova

Cinder

Hypervisor (KVM/Xen/ESX/…)

VM VM VM

IP Switching

fabric

File Storage

Block Storage

FC Switching

fabricNeutron

Keystone

Manila

OpenStack services

AD/LDAP

Horizon (UI)

Object Storage Swift

ConfigurableFrameworkAPIPython implementation

Drivers

Drivers

Drivers

Drivers

Page 4: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

CoprHD in OpenStack (Northbound)

Nova Cinder

Horizon SwiftKeystone

Neutron

CoprHD

CoprHD Cinder driver

EMCVMAXVNX…

OpenStack

IBM XIV

HDSEMC

VPLEX…

Cinder driver featuresCreate/Delete/Expand volume

Attach/Detach volume

Create/Delete Snapshot

Create volume from volume/snapshot

FC, iSCSI, ScaleIO protocols

Consistency Groups

Not supportedQoS

Replication

Driver is not part of upstream (released on github)

Page 5: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

Cinder driver Deployment

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

cinder.confAllowed_backends=coprhd-fc,coprhd-iscsi

[coprhd-fc]

….

[coprhd-iscsi]

….

How does it work?• 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

These volume types are visible in the Horizon UI

Page 6: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

• 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

Page 7: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

CoprHD with cinder Southbound

Keystone

CoprHD

HP 3Par

OpenStack

IBMSVC

NetApp…

OverviewCoprHD emulates nova – acts as a client to cinder

Uses OpenStack Block Storage API

Limited OpenStack installation (Keystone + Cinder)

AdvantagesAbility to support many arrays

Cinder

LimitationsCannot control port allocation (for export)

Volume wwn is not available

Array serial number not available

Cinder drivers

OpenStack REST API

Page 8: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

Controllerservice

API service

Native drivers

Cinder driver

VMAX VNX Isilon NetApp

IBM SVC

Cinder driver

Northbound REST API (CoprHD)

Cinder REST API

Cinder service

Cinder Southbound -- detail

Page 9: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

• 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

Projects for community

Page 10: CoprHD and OpenStack Northbound and Southbound. OpenStack overview CoprHD in OpenStack: cinder Northbound CoprHD with southbound cinder Agenda

Q & A