Openstorage Openstack

37
© Copyright Nexenta 2012 OPENSTORAGE WITH OPENSTACK BRAD STONE GM, NEXENTA CHINA 1

description

China OpenStack User Group

Transcript of Openstorage Openstack

Page 1: Openstorage Openstack

© Copyright Nexenta 2012

OPENSTORAGE WITH OPENSTACK

BRAD STONE GM,

NEXENTA CHINA

1

Page 2: Openstorage Openstack

Enterprise Storage

• Storage is 40% of an enterprise IT’s budget

• Market leaders are EMC, IBM and NetApp

Page 3: Openstorage Openstack

Enterprise Storage Continues to Grow

Page 4: Openstorage Openstack

Storage Trends

• Commodity components replacing specialized hardware for data storage

• Storage virtualization – Commoditize by abstracting physical attributes

• Global economic downturn putting pressure on capital and energy costs – Motivation to buy newer, more energy-efficient

hardware

“More data will be stored in the next three years than in the previous 40,000” - Berkeley’s School of Management (2010)

Page 5: Openstorage Openstack

New use cases for data

Machine-generated files

Video surveillance

Page 6: Openstorage Openstack

What is OpenStorage?

a) Storage software is open source

b) No vendor lock-in; components no longer need to all come from the same vendor

c) Open data formats

d) All of the above

e) Some of the above

Page 7: Openstorage Openstack

Top Reasons to use Open Source Software

• Avoid vendor lock-in

• Lower costs

• Competitive advantage

• Improve quality

Page 8: Openstorage Openstack

Brief Biased History of OpenStorage

• 1991: Linux kernel publicly announced • 2004: Google MapReduce paper • 2005: linux-iscsi and open-iscsi projects merge • 2005: OpenSolaris released • 2008: Nexenta ships first commercial product • 2008: Sun FISHworks storage appliance released • 2010: OpenStack Nova released • 2010: OpenStorage Summit features storage

software vendors and commodity hardware • 2013: OpenStorage Summit in China!

Page 9: Openstorage Openstack

NEXENTASTOR: A CASE STUDY FOR OPENSTORAGE

Page 10: Openstorage Openstack

What is NexentaStor?

iSCSI

SAS

FC

AoE

InfiniBand

CIFS

iSCSI NFS

FC

Software-based, unified storage appliance

Leading OpenStorage solution

• Runs on standard hardware

Key features:

• 128-bit architecture

• Unlimited file size & snaps

• Synchronous and asynchronous replication (including replication to OpenStack Swift)

Superior storage for virtualized environments

File and Block Access

Nexenta is a private company with an office in Beijing!

Page 11: Openstorage Openstack

Storage Pooling

11

Discover logical disks Determine RAID requirements

Pool-A Pool-B Create storage pools

Create datasets Assign properties (e.g. de-dup) Share (NFS, CIFS, iSCSI, FC)

NFS iSCSI CIFS NFS

Page 12: Openstorage Openstack

De-duplication

Block-based

• In-line de-duplication

– Verify option

• In-flight de-duplication

– No verify option

Existing data can easily be de-duped via NexentaStor’s auto-tier capability

Flexibility De-duplication options can vary - Per volume - Per dataset - Per replication service

Page 13: Openstorage Openstack

Compression

• Compression done in-line at time of write • Enabled by default

– Leverages typically idle processing power – Can improve overall I/O performance

• Compresses only if at least 12% benefit • Many algorithms supported

– LZJB for loss-less compression – GZIP 0-9 – Extensible

• Compression algorithm can be changed on-the-fly – Affects future writes

Page 14: Openstorage Openstack

Block support

• iSCSI and FibreChannel supported

– SCSI multi-pathing supported for each

• Storage efficiency

– Compression

– Cloning

– De-duplication

– Thin provisioning

• Support for variable block sizes

Page 15: Openstorage Openstack

Technical Advantages Description Limit

Number of data volumes on a system 264

Maximum size of a data volume 278 bytes

Number of file systems in a data volume 264

Maximum size of a file system 264 bytes

Number of devices in a data volume 264

Number of files in a directory 256

Maximum file size 264 bytes

Number of attributes of a file 248

Maximum size of any attribute 264 bytes

Number of snapshots of a file system 264

15

Page 16: Openstorage Openstack

Self-healing

• NexentaStor doesn’t blindly trust the data

• Relies on 256-bit checksums on every block

• Transparently return only the good data to the user

• Use the good data to fix the bad copy

16

X

0100110101

0110110101

Prevents silent data corruption

Self-healing

Data checked before it is returned to user

Good copy used to fix the bad copy of data

Page 17: Openstorage Openstack

Triple-parity RAID • Disk capacities doubling, but disk throughput not increasing at same rate

– Result is longer time to recover from bit errors

– More likely that you can be recovering from two bit errors at once

– Data can then be at risk during recovery period

NexentaStor provides triple-parity RAID Available with NexentaStor since 2009

Page 18: Openstorage Openstack

Healthcare

Finance

Education

Technology

Internet

Media

More

A Broad set of Customers and Partners Customers Premier Partners

Page 19: Openstorage Openstack

Cloud Hosting and Telecom

20

in Asia

Cloud services do not require cloud storage

Page 20: Openstorage Openstack

OpenStorage Adoption

2009 2010 2011 2012 2013 2014

Universities

R&D

Hosting, cloud compute, private cloud, virtualization

VDI

Governments

Finance

Page 21: Openstorage Openstack

NEXENTA AND OPENSTACK

Page 22: Openstorage Openstack

Cloud Storage Use Cases

• Storage for cloud applications

• File replication of critical data for disaster recovery

• Off-site backup for power and floorspace benefits in the datacenter

• Geographically dispersed teams that need to write to centralized storage for long-term data access

• Long-term deep data archives

Page 23: Openstorage Openstack

OpenStack Nova

• OpenStack

– Open source cloud computing project

– Started by Rackspace and NASA

– Now more than 150 participating companies

• OpenStack the largest open source cloud community

• OpenStack Nova targets cloud computing

– Includes a storage component

Page 24: Openstorage Openstack

Nova Orchestrates Volume Provisioning

• Provisions LUNs

• Interacts with storage systems

• Assigns volumes to compute nodes

• Ensures LUNs are assigned to at most one VM at a time

Currently only iSCSI is supported by OpenStack Nova (not FibreChannel)

Page 25: Openstorage Openstack

Simplified Nova Architecture

Rabbit MQ

Nova Manage

Nova API

Nova Compute

Nova Network

Nova Schedule

Nova Database

Nova Volume NexentaStor

Nova driver(s)

Volume Controller

/etc/nova/nova.conf

Page 26: Openstorage Openstack

Nova and NexentaStor

Nova Manage

Nova API

Nova Database

Nova Volume NexentaStor

Nova driver(s)

Volume Controller

/etc/nova/nova.conf 2. Lookup in configuration file to determine which driver to use

3. Driver talks to NexentaStor to create volume 4. NexentaStor creates volume

5. Volume Controller updates database with volume details

1. Request to create a volume

6. Request to attach volume to a VM

Virtual machine

NexentaStor cloning can be used to create a new Nova volume from a snapshot

Page 27: Openstorage Openstack

• Implementation complete and available

• Initially tested with OpenStack Diablo release

• Only Netapp and Nexenta have provided Nova storage drivers

• Wiki posted:

– http://wiki.openstack.org/NexentaVolumeDriver

• Next: Test with Cinder

Nexenta Nova Driver – Project Status

28 Nexenta Systems Inc. CONFIDENTIAL

Page 28: Openstorage Openstack

What is Cloud Storage?

• Provide storage as a service

• Treat data as object or chunks

• Improves ability to access unstructured data

• Files divided into objects and stored across multiple systems

• Defacto standard transports

– Amazon S3, Google Storage, OpenStack Swift

Page 29: Openstorage Openstack

Benefits of Object Storage

• Scalable capacity

• Relocation on demand (disaster recovery)

• Access data anywhere

Page 30: Openstorage Openstack

Cloud Storage

• OpenStack Swift contributor

• OpenStack Swift

– Running Swift on NexentaStor

– Technology preview downloadable from Nexenta website

• Contributed Local File System patch to Swift

– Leverage self-healing and advanced RAID of NexentaStor

Page 31: Openstorage Openstack

NexentaStor’s Unified Architecture

HDD SSD FC iSCSI

Block Device Driver

Pooled Storage Layer

Transactional Object Layer

ZFS Volume Emulator ZFS Posix Layer

Dump Swap iSCSI FC Raw CIFS NFS ZFS

Page 32: Openstorage Openstack

Unified Appliance

iSCSI, FibreChannel, SAS, AoE

File

Swift Container Server

Swift Account Server

Swift Object Server

Object Storage

Block

Page 33: Openstorage Openstack

Nexenta’s LFS Swift Patch

• Modifies Swift ring builder logic

• Allows a file system with Nexenta’s self-healing to be counted as two replicas

• Can save network bandwidth when initially storing data

• Can save network bandwidth by creating replacement replicas less often

Page 34: Openstorage Openstack

WHERE IS OPENSTORAGE HEADING?

Page 35: Openstorage Openstack

Next Generation Cloud

• Nexenta is active in the cloud storage community

• Defining the next generation of OpenStorage

– Enabling exabyte deployments!

Page 36: Openstorage Openstack

• OpenStack Nova will be extending its capability to map generic volumes to iSCSI for guest VMs to access, not just the virtualized boot volume

• Interface between this new Volume service and Nexentastor Appliance should be unchanged

OpenStack Nova Extensions

37 Nexenta Systems Inc. CONFIDENTIAL

Page 37: Openstorage Openstack

THANK YOU!!