VMworld - sto7650 -Software defined storage @VMmware primer

42
Software Defined Storage at VMware Primer Duncan Epping (@DuncanYB) Lee Dilworth (@LeeDilworth) An introduction in to the world of Software Defined Storage Twitter: #STO7650

Transcript of VMworld - sto7650 -Software defined storage @VMmware primer

Page 1: VMworld - sto7650 -Software defined storage  @VMmware primer

Software Defined Storage at VMware Primer

Duncan Epping (@DuncanYB)

Lee Dilworth (@LeeDilworth)

An introduction in to the world of Software Defined Storage

Twitter: #STO7650

Page 2: VMworld - sto7650 -Software defined storage  @VMmware primer

Agenda

1 Introduction

2 Virtual SAN

3 Virtual Volumes

4 vSphere APIs for I/O Filters

5 Summary

2

Page 3: VMworld - sto7650 -Software defined storage  @VMmware primer

3

The Software Defined Data Center

Compute Networking Storage

Management

• All infrastructure services virtualized: compute, networking, storage

• Underlying hardware abstracted, resources are pooled

• Control of data center automated by software (management, security)

• Virtual Machines are first class citizens of the SDDC

• Today’s session will focus on one aspect of the SDDC - storage

Page 4: VMworld - sto7650 -Software defined storage  @VMmware primer

Hardware evolutionstarted the

infrastructurerevolution

Page 5: VMworld - sto7650 -Software defined storage  @VMmware primer

Hyper-Converged Infrastructure: new IT model

“A lazy admin is the best admin”

5

Page 6: VMworld - sto7650 -Software defined storage  @VMmware primer

6

Simplicity: Operational / Management

Page 7: VMworld - sto7650 -Software defined storage  @VMmware primer

7

The Hypervisor is the Strategic High Ground

SAN/NASx86 - HCI Object Storage

VMware vSphere

Cloud Storage

Page 8: VMworld - sto7650 -Software defined storage  @VMmware primer

8

Storage Policy-Based Management – App centric automation

• Intelligent placement

• Fine control of services at VM level

• Automation at scale through policy

• Need new services for VM?• Change current policy on-the-fly

• Attach new policy on-the-fly

Virtual Machine Storage policyReserve Capacity 10 GB

Availability 2 Failures to tolerate

Limit IOPS 200 IOPS

Snapshot Every Hour

Replication SynchronousDeduplication Enabled

Local / SAN / NAS Devices

Storage Policy-Based Management

vSphere

Virtual SAN Virtual Volumes VAIO I/O Filters

Page 9: VMworld - sto7650 -Software defined storage  @VMmware primer

9

IntroducingVirtual SAN

Page 10: VMworld - sto7650 -Software defined storage  @VMmware primer

10

Virtual SAN, what is it?

Hyper-Converged Infrastructure

Distributed, Scale-out Architecture

Integrated with vSphere platform

Ready for today’s vSphere use cases

Software-Defined Storage

vSphere & Virtual SAN

Page 11: VMworld - sto7650 -Software defined storage  @VMmware primer

11

But what does that really mean?

VSAN network

Generic x86 hardware

VMware vSphere & Virtual SAN Integrated with your Hypervisor

Leveraging local storage resources

Exposing a single shared datastoreVirtual SAN

Page 12: VMworld - sto7650 -Software defined storage  @VMmware primer

VSAN is the Most Widely Adopted HCI Product

In my experience VMware solutions are rock solid…we’re ready to nearly double our Virtual SAN deployment.

“”

It really did work as advertised…the fact that I have been able to set it and forget it is huge!

“”

5000Customers choose VMware HCS

12

Page 13: VMworld - sto7650 -Software defined storage  @VMmware primer

13

VSAN is the Most Widely Adopted HCI Product

Page 14: VMworld - sto7650 -Software defined storage  @VMmware primer

14

Virtual SAN Use Cases

VMware vSphere + Virtual SAN

End User Computing Test/Dev

ROBOStagingManagementDMZ

BusinessCritical Apps DR / DA

Page 15: VMworld - sto7650 -Software defined storage  @VMmware primer

15

Tiered Hybrid vs All-FlashAll-Flash

100K IOPS per Host+

sub-millisecond latency

Caching

Writes cached first,Reads from capacity tier

Capacity TierFlash Devices

Reads go directly to capacity tier

SSD PCIe Ultra DIMM

DataPersistence

Hybrid

40K IOPS per Host

Read and Write Cache

Capacity TierSAS / NL-SAS / SATA

SSD PCIe Ultra DIMM

Virtual SAN

Page 16: VMworld - sto7650 -Software defined storage  @VMmware primer

16

Really Simple Setup

Deduplication and

Compression Enable?

Fault Domains, 2 node or stretched cluster?

Page 17: VMworld - sto7650 -Software defined storage  @VMmware primer

Provisioning a VM? Define a policy first…Virtual SAN currently surfaces multiple storage capabilities to vCenter Server

17

What If APIs

New Capabilities in VSAN 6.2

Page 18: VMworld - sto7650 -Software defined storage  @VMmware primer

Enterprise Availability in a few clicks

18

Today

vSphere & Virtual SAN

Overview

• Set “failures to tolerate” for high availability

• Virtual SAN provides rack awareness– Allowing for full rack failures through smart

placement mechanism

• Or ”simply” add a second site and stretch your Virtual SAN across– Of course within the defined boundaries

• And if that isn’t sufficient, you can always replicate to a 3rd site!– With or without the use of Site Recovery

Manager

Rack 1 Rack 2 Rack 3 Rack 4

witness

5ms RTT, 10GbE

vSphere & Virtual SAN

vmdk

vmdk

witness

vSphere & VSAN

Site Recovery Manager

vmdk

Page 19: VMworld - sto7650 -Software defined storage  @VMmware primer

19

Deduplication and Compression for Space Efficiency• Nearline deduplication and compression per disk group level.

– Enabled on a cluster level– Deduplicated when de-staging from cache tier to capacity tier– Fixed block length deduplication (4KB Blocks)

• Compression after deduplication– If block is compressed <= 2KB– Otherwise full 4KB block is stored

Beta

esxi-01 esxi-02 esxi-03

vmdk vmdk

vSphere & Virtual SAN

vmdk

All Flash

Page 20: VMworld - sto7650 -Software defined storage  @VMmware primer

20

RAID-5/6 (Inline Erasure Coding)• When Number of Failures to Tolerate = 1 and Failure Tolerance Method = Capacity RAID-5

– 3+1 (4 host minimum)– 1.33x overhead for RAID-5 instead of 2x compared to FTT=1 with RAID-1

• When Number of Failures to Tolerate = 2 and Failure Tolerance Method = Capacity RAID-6– 4+2 (6 host minimum)– 1.5x overhead for for RAID-6 instead of 3x compared to FTT=2 with RAID-1

RAID-5

ESXi Host

parity

data

data

data

ESXi Host

data

parity

data

data

ESXi Host

data

data

parity

data

ESXi Host

data

data

data

parity

All Flash

Page 21: VMworld - sto7650 -Software defined storage  @VMmware primer

21

Single interface for all Day 2 operations

Page 22: VMworld - sto7650 -Software defined storage  @VMmware primer

22

VMware Virtual SAN: Generic Object Storage Platform

VMware vSphere

Virtual SAN

VMFS Block File Rest

Page 23: VMworld - sto7650 -Software defined storage  @VMmware primer

23

IntroducingVirtual Volumes

Page 24: VMworld - sto7650 -Software defined storage  @VMmware primer

24

But what about traditional storage?

Goals• Make VMs a first class citizen on traditional storage

• Provide customers the option to use per-VM data operations on storage systems

• Build framework to offload ANY per-VM data operations to the storage system

• Minimal disruption to existing processes or infrastructure

I would like per VM data services for that as well…

VS

Page 25: VMworld - sto7650 -Software defined storage  @VMmware primer

25

Software-Defined Storage and Availability

vSphere

Storage Capabilities

Snapshot Every Hour

Replication Synchronous

Availability RAID-1

IOPS Limit 150

Local / SAN / NAS Devices

Storage Policy-Based Management

vSphere

Virtual SAN Virtual Volumes VAIO I/O Filters

Page 26: VMworld - sto7650 -Software defined storage  @VMmware primer

vSphere Virtual Volumes

• VVols– Virtual machine objects stored natively on the

array– No Filesystem on-disk formatting required

• There are five types of VVols:– CONFIG – vmx, logs, nvram, log files, etc

– DATA – VMDKs

– MEM – Snapshots

– SWAP – Swap files

– Other – Vendor solution specific

vSphere Web Client View

26

Page 27: VMworld - sto7650 -Software defined storage  @VMmware primer

27

Virtual Volumes Primer

The Basics

• Virtualize SAN and NAS devices

• Virtual disks are natively represented on arrays

• Enables VM granular storage operations using array-based data services

• Policy enables automated consumption at scale

• Supports existing storage I/O protocols • Included with vSphere Standard and up

virtual datastore(s)

protocolendpoint(s)

protocolendpoint(s)

storage container(s)

VASA Provider – Published CapabilitiesSnapshots

Deduplication

Quality of ServiceStorage System

VASAData Path

VMware vSphere

Page 28: VMworld - sto7650 -Software defined storage  @VMmware primer

Storage ContainerStorage Containers• Logical storage constructs for grouping of

virtual volumes.

• Typically defined and setup by storage administrators on the array in order to define:

– Storage capacity allocations

– Define capabilities for a pool

• Logically partition or isolate VMs with diverse storage needs and requirement (or security)

• Minimum one storage container per array

• Maximum depends on the array

28

virtual datastore(s)

protocolendpoint(s)

protocolendpoint(s)

storage container(s)

Storage System

Data Path

VMware vSphere

Page 29: VMworld - sto7650 -Software defined storage  @VMmware primer

VASA Provider (VP)

• Software component developed by Storage Array Vendors

• ESXi and vCenter Server connect to VASA Provider

• Provides storage awareness services

• VASA Provider can be implemented within the array’s management server or firmware– Can be deployed in HA mode,

when vendor has implemented this!

• Responsible for creating Virtual Volumes– Required for powering on VMs!

29

virtual datastore(s)

protocolendpoint(s)

protocolendpoint(s)

storage container(s)

Storage System

VASA/SPBM

Control PathVMware vSphere

VASA

Pro

vide

r

Control Path

Page 30: VMworld - sto7650 -Software defined storage  @VMmware primer

Protocol EndpointProtocol Endpoints• Access points that enables communication

between ESXi hosts and storage array systems.– Part of the physical storage fabric– Created by Storage administrators

Scope of Protocol Endpoints• Compatible with all SAN and NAS Protocols:

- iSCSI- NFS v3 - FC- FCoE

• A Protocol Endpoint can support any one of the protocols at a given time

Why Protocol Endpoints?• Single access point to avoid LUN limits

30

virtual datastore(s)

protocolendpoint(s)

protocolendpoint(s)

storage container(s)

Storage System

Data Path

VMware vSphere

Page 31: VMworld - sto7650 -Software defined storage  @VMmware primer

VM Provisioning Workflow

vSphere Admin1. Create Virtual Machines2. Assign a VM Storage Policy3. Choose a suitable Datastore

Under the Covers

Provisioning operations are translated into VASA API calls in order to create the individual virtual volumes.

Under the Covers

Provisioning operations are offloaded to the array for the creation of virtual volumes on the storage container that match the capabilities defined in the VM Storage Policies

31

virtual datastore(s)

protocolendpoint(s)

protocolendpoint(s)

storage container(s)

Storage System

VASA/SPBMData Path

VMware vSphere

VASA

Pro

vide

r

Page 32: VMworld - sto7650 -Software defined storage  @VMmware primer

32

VVoL replication

Goals

• Replicates Virtual Volumes instead of entire lun / exports / datastores

• Ability to group VVols into Replication Groups

• Array-based replication used to replicate VVoLs / Replication Groups

• Leverages VASA 3 APIs, expose storage replication capabilities, match containers to policies

VSVM VM VM VM

Tech

Preview

Page 33: VMworld - sto7650 -Software defined storage  @VMmware primer

Virtual Volumes – Continued Support from the Storage Ecosystem

33

“[…] storage operations will be fundamentally simplified.”

Laura Guio VP and Business Line Executive, Storage SystemsVMware Alliance Executive

“[…] as a key design partner, we’ve worked very closely with VMware…”

Tim RussellVP of Product Management for Data Center Solutions

“[…] one of the most important storage technology advancements[…]”

Ravi ChalakaVP Solutions Marketing

“This is a huge shift from the LUN-centric model of today” 

Peter WaughMarketing Director of Storage and Servers

“[…] will transform the way you consume storage in your VMware environment.” Craig NunesVP of Storage Marketing

“[…] brings a relevant solution...reducing cost and complexity in virtual environments”

Christopher RatcliffeSenior VP of Marketing, Core Technologies

Page 34: VMworld - sto7650 -Software defined storage  @VMmware primer

34

IntroducingVirtual Data Services

(vSphere APIs for I/O Filters)

Page 35: VMworld - sto7650 -Software defined storage  @VMmware primer

35

vSphere APIs for IO Filtering

• Add new 3rd party software-based data services seamlessly in vSphere

• Virtual (software based) data services controlled by Policy

• Enables secure filtering of a VM’s IO

• Caching and replication initial use cases

• Storage agnostic to different architecture

New

Storage Capabilities

Replication Synchronous

IOPS Limit 150

Local / SAN / NAS Devices

vSphere

Storage Policy-Based Management

vSphere

Virtual SAN Virtual Volumes VAIO I/O Filters

Page 36: VMworld - sto7650 -Software defined storage  @VMmware primer

36

Why vSphere APIs for IO Filtering?• To Enable our Ecosystem

– Empower 3rd parties to add functionality to vSphere– Use cases that VMware cannot address on our own

• To Provide Customer Choice– Customers want more choice for their infrastructure– Enabling scenarios that they cannot get from VMware– Add (Virtual) Data Services to storage systems that may not offer them inbox

Page 37: VMworld - sto7650 -Software defined storage  @VMmware primer

IO Path without vSphere APIs for IO Filtering

37

H2 2015/Q1 2016

Physical Device

Kernel World

vSCSI Backend

File System Layer

File Device Layer

User World

vSCSI Device

Page 38: VMworld - sto7650 -Software defined storage  @VMmware primer

IO Path with vSphere APIs for IO Filtering

38

H2 2015/Q1 2016

Physical Device

Kernel World

vSCSI Backend

File System Layer

File Device Layer

User World

IO Filter(s)

VAIO Framework

vSCSI Device

3rd Party Software

Data Services

Data service executes the filter against the IO – no data copying needed

2

IO return directly to be committed to physical device

3

VAIO framework detects a filter policy before IO committed

1

StoragePolicy Based Management

Page 39: VMworld - sto7650 -Software defined storage  @VMmware primer

39

Strong EcosystemToday’s use cases:

• Caching– Write thru and write back Cache– Distributed Cache Management

• Replication– Synchronous access to VM IO Event Queue – Full IP Sockets Interface for Replication

Tomorrow’s use cases:

• Encryption?– vSphere VMCrypt

• Quality of Service?– Storage IO Control

• and....

Page 40: VMworld - sto7650 -Software defined storage  @VMmware primer

40

Center of the universe

Page 41: VMworld - sto7650 -Software defined storage  @VMmware primer

41

Join the revolution

Page 42: VMworld - sto7650 -Software defined storage  @VMmware primer

42