pure storage and vmware integration - juku.it · about those new apis • create/resize/snapshot,...

38
© 2013 Pure Storage, Inc. | 1 Pure Storage and VMware Integration Stefano Pirovano System Engineer @StePir75

Upload: others

Post on 04-Apr-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 1

Pure Storage and VMware Integration

Stefano Pirovano System Engineer @StePir75

Page 2: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 2

Pure Storage is Flash for the Enterprise

Consistent performance 100% MLC Flash

Less cost than disk Inline deduplication & compression

Mission-critical reliability 99.999%, non-disruptive operations

Scalable & compatible 10 à 100s of TBs, Purity software

Page 3: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 3

Market-Leading All-Flash Array

#1 All-Flash Array for Databases, VSI, VDI

Gartner Critical Capabilities: Solid State Arrays, August 2014 Gartner Magic Quadrant:

Solid State Arrays, August 2014

DB, VSI, VDI: Where Flash & Dedup’ are disruptive

Page 4: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 4

The Disruption of Simplicity: 5 Differentiators

Industry’s Broadest End-to-End Guarantee

All-Inclusive Software Pricing

No Required Training or Professional Services

Fanatically Proactive Support

A Better Approach to Storage Acquisition & Lifecycles

CloudAssist!

Real-Time Monitoring!

Global Analysis / Analytics!

Proactive Resolution!

Continuous Improvement!

Page 5: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 5

Agenda

•  VMware VAAI

•  Pure Storage vSphere Web Client Plugin

•  Site Recovery Manager

•  vVol Program

Page 6: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 6

vStorage API for Array Integration (VAAI)

•  SCSI-based offloading of common operations to storage array •  Cloning of VMs, zeroing of disk space, metadata locking

•  Four supported primitives: •  Block Zero (WRITE SAME) •  Hardware-assisted Locking (ATS)

•  Full Copy (XCOPY) •  Dead Space Reclamation (UNMAP)

Page 7: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 7

Hardware-Accelerated Zero •  Without API

–  SCSI Write - Many identical small blocks of zeroes moved from host to array for MANY VMware IO operations

–  Pure automatically ignore zeros and never write them to the drives, so no “zero reclaim” penalty

–  New Guest IO to VMDK is “pre-zeroed”

•  With API –  SCSI Write Same - One giant block of zeroes

moved from host to array and repeatedly written –  Thin provisioned array skips zero completely (pre

“zero reclaim”)

•  Use Cases –  Reduced IO when writing to new blocks in the

VMDK for any VM –  Time to create VMs (particularly FT-enabled

VMs)

VMDK

SCSI WRITE (0000…..)SCSI WRITE (data)SCSI WRITE (0000….)SCSI WRITE (data)Repeat MANY times…

SCSI WRITE SAME (0 * times)SCSI WRITE (data)

VMFS-5

Page 8: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 8

Hardware-Accelerated Locking •  Without API

•  Reserves the complete LUN so that it could obtain a lock

•  Required several SCSI commands

•  LUN level locks affect adjacent hosts

•  With API •  Locks occur at a block level

One efficient SCSI command - SCSI Compare

and Swap (CAS)

•  Block level locks have no effect on adjacent hosts.

•  Use Cases •  Bigger clusters with more VMs

•  View, Lab Manager, VMware vCD

•  More & Faster VM Snapshotting

VMFS-5

Page 9: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 9

Hardware-Accelerated Copy •  Without API

–  SCSI Read (Data moved from array to host) –  SCSI Write (Data moved from host to array) –  Repeat –  Huge periods of large VMFS level IO, done via

millions of small block operations

•  With API –  SCSI Extended Copy (Data moved within array) –  Repeat –  Order of magnitude reduction in IO operations –  Order of magnitude reduction in array IOps

•  Use Cases –  Storage vMotion –  VM Creation from Template

SCSI READSCSI READSCSI READ..MANY times…

SCSI EXTENDED COPY

SCSI WRITESCSI WRITESCSI WRITE..MANY times…

“let’s Storage VMotion”“let’s Storage VMotion”

“Give me a VM clone/deploy from template”

VMFS-5 VMFS-5

Page 10: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 10

FlashRecover Accelerated VM Cloning Hardware-Driven VM Cloning via XCOPY

Virtualization

Legacy Disk Array (no XCOPY)

Virtualization

Legacy Disk Array (with XCOPY)

copy

copy

112 Seconds 22 Seconds

* http://virtualgeek.typepad.com/virtual_geek/2012/12/vmax-and-vsphere-vaai-xcopy-update.html

Virtualization

Pure Storage Accelerated VM Cloning

10 seconds

Metadata

Stored Twice Stored Twice Stored Once

Snap

Example: Comparing Pure Storage vs. xxxxxx cloning 1,000 40GB VMs*

Page 11: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 11

Hardware-Accelerated Copy

100 GB Zeroedthick Virtual Disk (50 GB of data)

Page 12: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 12

Hardware-Accelerated Copy

Page 13: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 13

Hardware-Accelerated BlockDelete •  Without API

•  Changes to vmdk is not propagated to backend LUN (how would I know!)

•  If data is constantly rewritten, LUN would grow till it fills up

•  With API •  Deleting blocks gets translated to block deletes on LUN

•  Better LUN space management

•  Use Cases •  Great for us as we can mark the deleted blocks and delete immediately – Less

confused VI admin

•  No backend LUN bloat

Page 14: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 14

Flash Makes Virtual Administration Faster

Provision 50GB VM From Template

(XCOPYBenefits)

Dis

k

3 min

10 sec

Boot 100 VDI desktops (ATS benefits)

Dis

k

15 min

<1 min

Recompose 100 VMs

Dis

k

45 min

4 min

SvMotion 50GB VM (XCOPYBenefits)

Dis

k

4 min

10 sec

Page 15: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 15

Complete Management within vSphere

vCenter Web Client Plugin Complete management of FlashArray from within vCenter.

Automated Datastore Creation Just specify size and done. No LUNs, no RAID, no WWNs, no rescanning.

Complete Capacity Visibility See through deduplication, compression, and thin provisioning to understand real capacity.

Complete Performance Visibility Correlate IOPS, latency, and bandwidth on a per-datastore basis.

VMware Ready and VAAI Certified Highest performance possible, jointly supported by Pure Storage and VMware.

Page 16: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 16

Pure Storage vSphere Web Client Plugin

Page 17: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 17

Datastore à Array Visibility

Page 18: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 18

Automated Datastore Creation

Page 19: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 19

Automated Datastore Resizing

Page 20: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 20

VMware Site Recovery Manager

•  Disaster Recovery automation product for VMware environments

•  Leverages array-based replication to migrate or recovery virtual machines from one datacenter to another

•  Interacts with vendor-supplied Storage Replication Adapters (SRAs) to migrate storage

•  No licensing costs for Pure Storage replication or SRA use

Page 21: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 21

FlashRecover Replication The Benefits of Asynchronous + Snapshot Replication Combined

Flexible replication with low RPO • Differentials-based, bi-directional • Replicates every minute (configurable) • Retains library of PIT remote snaps for recovery

Simple setup in minutes • Automation with Protection Policies

(consistency groups and variable retention) • No pre-planning or professional services!

Data reduction-optimized • Always thin, deduped, compressed • Delta changes only after baseline • Data reduction accelerated Clone replicas

Instant recovery for Zero RTO •  Instantly export any PIT replica •  Instantly roll backward or forward

Advanced Multi-Site Replication •  1:Many, Many:1 or Many:Many

… 1000s

Page 22: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 22

FlashRecover Protection Policies Policy-based Automation of Local and Remote Retention Schedules

• Delivers data protection consistency across multiple volumes or multiple hosts

• Group multiple objects within a Protection Group

• Objects can belong to multiple Protection Groups

• Configurable frequency schedule and retention period for local snapshots and replication

• Policy automatically creates and expires snapshots and remote replicas

Protection Groups Variable Retention Automation

Volume(s) Host(s) Host Group(s) Volume Retain all replicas

Day 0 Day 1 Day 2…

Retain all replicas

Day 0 Day 1

Source Target

Page 23: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 23

Recovery with FlashArray

Snapshot A1

Snapshot A2

Snapshot A3

Remote Snapshot A1

Volume A Volume B

Remote Snapshot A2

Remote Snapshot A3

Protected Environment Recovery Environment

Page 24: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 24

vVols and VASA

•  What are vVols and VASA?

•  What problems are they solving?

•  What opportunities do they create for Pure?

•  What risks do they present?

•  What are we planning to deliver?

Page 25: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 25

Old world

•  Create a volume

•  Export to a bunch of ESXi hosts

•  Create a VMFS filesystem and attach it to vCenter as a datastore

•  Create VMs or migrate them onto the datastore

Page 26: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 26

Problems

•  VMFS is slower than raw device

•  Duplication of functionality – both storage array and ESXi implement thin provisioning, fast cloning, and snapshots

•  Storage array does it on a volume level

•  ESXi does it on a virtual disk level •  Storage array functions apply to all VMs in the LUN – often want to target a

single VM

•  Have a big pool of storage that you want to share among many ESXi servers

•  Have to carve it up into multiple LUNs because of clustering limits in VMFS

•  Get the division wrong, it can be hard to fix

§  Can’t shrink a VMFS volume

§  Expanding may fail under load

Page 27: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 27

Solution - vVols

•  Give each virtual disk of a VM its own volume •  E.g. 2000 VMs with 2 virtual disks each = 4000 volumes

•  Expose a standard API (through VASA) for •  Create/resize/delete a volume •  Snapshot volume

•  Clone volume •  List volumes

•  Connect/disconnect volume to host

Page 28: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 28

Important details

•  What about small config files (e.g. .vmx)? •  They live in a per-VM config volume (2-8GB) •  Happens to be formatted VMFS

•  Each snapshot or clone of a vvol is a separate vvol

Page 29: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 29

Old vs. new world

FlashArray

VMFS volume

FlashArray

Page 30: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 30

vVols - Problems solved

•  Snapshot/clone of virtual disk ó snapshot/clone of volume

•  No VMFS translation overhead for a VM’s virtual disks

•  No shared VMFS metadata that needs co-ordinated updates == fewer clustering limits

•  No VMFS filesystem size to limit the size of the VMs (double-edged sword)

•  Fewer XCOPYs / UNMAPs – instead we see snapshot/delete volume

Page 31: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 31

vVols - opportunities

•  Per virtual-disk or VM services •  Space and perf reporting •  Replication / data protection / tiering

•  Simpler user experience

Page 32: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 32

Storage containers

•  Motivation •  Many storage arrays have different pools (RAID-6 pool vs RAID-10

pool)

•  Want to target vvol creation to the right pool

•  Solution •  Each pool can expose a storage container to VMware •  Storage containers are mapped to datastores

•  When creating/cloning a virtual disk, admin can choose a target datastore

•  ESXi targets the create/clone operation to corresponding storage container

Page 33: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 33

Storage containers & Pure

•  We’ve got one pool so we only need to expose one storage container

•  But: •  Could allow users via our GUI to create additional storage containers

for organization (finance vs. engineering) •  When replication vvols from a remote array, might want to put them in

a separate storage container for easy clean-up in case replication arrangement ends

•  Might need a storage container per vCenter - unclear whether 2 vCenters can safely share a storage container

•  Might be useful when we have quotas

Page 34: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 34

About those new APIs

•  Create/resize/snapshot, etc.

•  Didn’t extend SCSI or NFS to add these features

•  Added the APIs to VMware APIs for Storage Awareness (VASA)

•  VASA is accessed over HTTPS/TCP/IP/Ethernet through the management port

•  If management port is down, you can’t create or start VMs! •  Today, if IP is down, a FibreChannel array will still happily serve data.

Page 35: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 35

VASA – grab bag of features

•  vVol APIs

•  Describe the storage array to vCenter •  How many controllers? How many ports on each controller? What logical units are

exposed? What is the service level of logical unit (e.g. gold, bronze)? Supported protocols?

•  Like an SNMP or CIM object model

•  Tell VMware about what storage pools are backing the LUNs it sees •  Don’t automatically do storage vmotion across these two LUNs because they are in the

same pool

•  Policy APIs

•  Alert / event API for raising alerts/events with vSphere

Page 36: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 36

Policies

•  Problem •  VMware administrator is creating a VM – which datastore should he use?

•  Today: sends e-mail to storage admin – what are the SLAs associated with the various datastores?

•  How does VMware administrator find out if the SLA isn’t being met/has changed?

•  Solution – VASA policies •  Schema – vendor can programmatically describe the knobs supported (e.g there’s a

replication Interval knob and it’s a time duration)

•  Profile on vVol – requested knob settings (e.g. this vVol needs a replication Interval of 5 minutes)

•  Profile on storage container – knobs supported by storage container (replication Interval 5 min to many minutes)

•  Compliance – vCenter periodically queries the storage and asks whether it has been able to satisfy the policies

Page 37: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

© 2013 Pure Storage, Inc. | 37

Policies – new world

•  Admin creates virtual disk •  Specifies the policy they want to apply •  VMware shows compatible datastores

•  Admin chooses one •  Admin can get alert if datastore is unable to meet policy

Page 38: Pure Storage and VMware Integration - Juku.it · About those new APIs • Create/resize/snapshot, etc. • Didn’t extend SCSI or NFS to add these features • Added the APIs to

Thanks!