VMware vsphere APIs for I/O Filtering (VAIO) November 14, 2017

Similar documents
iscsi Target Usage Guide December 15, 2017

VMware Virtual SAN. Technical Walkthrough. Massimiliano Moschini Brand Specialist VCI - vexpert VMware Inc. All rights reserved.

Virtual Volumes FAQs First Published On: Last Updated On:

What s New in VMware vsphere Flash Read Cache TECHNICAL MARKETING DOCUMENTATION

Understanding Data Locality in VMware vsan First Published On: Last Updated On:

Tech Note: vsphere Replication with vsan First Published On: Last Updated On:

Infinio Accelerator Product Overview White Paper

What s New in VMware Virtual SAN (VSAN) v 0.1c/AUGUST 2013

vsan Remote Office Deployment January 09, 2018

Native vsphere Storage for Remote and Branch Offices

Changes in VCP6.5-DCV exam blueprint vs VCP6

shaping tomorrow with you Eternus VVOL Matthias Bothe Fujitsu Technology Solutions

VMware vsphere 5.5 Advanced Administration

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

vsan Mixed Workloads First Published On: Last Updated On:

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

BraindumpsIT. BraindumpsIT - IT Certification Company provides Braindumps pdf!

vsphere Virtual Volumes

Exam Name: VMware Certified Professional on vsphere 5 (Private Beta)

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Your World is Hybrid:

vsan Management Cluster First Published On: Last Updated On:

EXAM - VCP5-DCV. VMware Certified Professional 5 Data Center Virtualization (VCP5-DCV) Exam. Buy Full Product.

VMware - VMware vsphere: Install, Configure, Manage [V6.7]

Detail the learning environment, remote access labs and course timings

VMware Virtual SAN Backup Using VMware vsphere Data Protection Advanced SEPTEMBER 2014

Understanding Data Locality in VMware Virtual SAN

DumpExam. The best exam dump, valid dumps PDF, accurate exam materials provider

The vsphere 6.0 Advantages Over Hyper- V

Eliminate the Complexity of Multiple Infrastructure Silos

vsphere Storage Update 1 Modified 16 JAN 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Virtual Storage Console, VASA Provider, and Storage Replication Adapter for VMware vsphere

VMware vsphere 5.0 STORAGE-CENTRIC FEATURES AND INTEGRATION WITH EMC VNX PLATFORMS

VMware vsphere 5.5 Professional Bootcamp

Administering VMware Virtual SAN. Modified on October 4, 2017 VMware vsphere 6.0 VMware vsan 6.2

Logical Operations Certified Virtualization Professional (CVP) VMware vsphere 6.0 Level 1 Exam CVP1-110

Using VMware vsphere Replication. vsphere Replication 6.5

VMware vstorage APIs FOR ARRAY INTEGRATION WITH EMC VNX SERIES FOR SAN

Administering VMware vsan. 17 APR 2018 VMware vsphere 6.7 VMware vsan 6.7

VMware vsphere: Fast Track [V6.7] (VWVSFT)

VMware vsphere Customized Corporate Agenda

Soluzioni integrate con vsphere La virtualizzazione abilita il percorso evolutivo di innovazione dell'it

Vmware 3V VMware Certified Advanced Professional Data Center Virtualization Design.

vsan Planning and Deployment Update 1 16 OCT 2018 VMware vsphere 6.7 VMware vsan 6.7

By the end of the class, attendees will have learned the skills, and best practices of virtualization. Attendees

VMware vsphere Clusters in Security Zones

Table of Contents HOL HCI

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

IOmark- VDI. IBM IBM FlashSystem V9000 Test Report: VDI a Test Report Date: 5, December

Microsoft E xchange 2010 on VMware

vsan Security Zone Deployment First Published On: Last Updated On:

SRM Evaluation Guide First Published On: Last Updated On:

VMware vsphere Replication Administration. vsphere Replication 8.1

VMware vsphere: Install, Configure, Manage plus Optimize and Scale- V 6.5. VMware vsphere 6.5 VMware vcenter 6.5 VMware ESXi 6.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

BraindumpsVCE. Best vce braindumps-exam vce pdf free download

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

IOmark- VM. IBM IBM FlashSystem V9000 Test Report: VM a Test Report Date: 5, December

WHITE PAPER PernixData FVP

VMware vsphere 6.5 Boot Camp

[VMICMV6.5]: VMware vsphere: Install, Configure, Manage [V6.5]

Administering VMware vsan. Modified on October 4, 2017 VMware vsphere 6.5 VMware vsan 6.6.1

VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

Preparing Virtual Machines for Cisco APIC-EM

Preparing Virtual Machines for Cisco APIC-EM

2014 VMware Inc. All rights reserved.

VMware vsphere with ESX 4.1 and vcenter 4.1

Virtual Storage Console, VASA Provider, and Storage Replication Adapter for VMware vsphere

Logical Operations Certified Virtualization Professional (CVP) VMware vsphere 6.0 Level 2 Exam CVP2-110

"Charting the Course... VMware vsphere 6.7 Boot Camp. Course Summary

What's New in vsan 6.2 First Published On: Last Updated On:

VMware vsphere 6.5 Administration Basics Ultimate Bootcamp

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Virtual Storage Console, VASA Provider, and Storage Replication Adapter for VMware vsphere

VMware vsphere Administration Training. Course Content

Cisco HyperFlex Hyperconverged Infrastructure Solution for SAP HANA

VMware vcloud Director Infrastructure Resiliency Case Study

FUJITSU Storage ETERNUS AF series and ETERNUS DX S4/S3 series

VMware vsphere 6.5: Install, Configure, Manage (5 Days)

PASS4TEST 専門 IT 認証試験問題集提供者

Hyper-V Innovations for the SMB. IT Pro Camp, Northwest Florida State College, Niceville, FL, October 5, 2013

Stellar performance for a virtualized world

Setup for Failover Clustering and Microsoft Cluster Service. 17 APR 2018 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

IOmark-VM. VMware VSAN Intel Servers + VMware VSAN Storage SW Test Report: VM-HC a Test Report Date: 16, August

VMWARE VSPHERE: FAST TRACK V6.7 (EDU-VSFT67)

VMware vsphere with ESX 6 and vcenter 6

HCI mit VMware vsan Radikal einfach und vollständig in die SDDC Strategie integriert

2V0-620 Exam Questions Demo VMware. Exam Questions 2V vsphere 6 Foundations Beta Exam

Vmware VCP550PSE. VMware Certified Professional on vsphere 5.

Running VMware vsan Witness Appliance in VMware vcloudair First Published On: April 26, 2017 Last Updated On: April 26, 2017

VMware vsphere VMFS First Published On: Last Updated On:

VMWARE VSAN LICENSING GUIDE - MARCH 2018 VMWARE VSAN 6.6. Licensing Guide

VMWARE VIRTUAL SAN: ENTERPRISE-GRADE STORAGE FOR HYPER- CONVERGED INFRASTRUCTURES CHRISTOS KARAMANOLIS RAWLINSON RIVERA

Table of Contents HOL-PRT-1467

IOmark- VM. HP HP ConvergedSystem 242- HC StoreVirtual Test Report: VM- HC b Test Report Date: 27, April

Overview. Prerequisites. VMware vsphere 6.5 Optimize, Upgrade, Troubleshoot

Site Recovery Manager Installation and Configuration. Site Recovery Manager 5.5

IM B09 Best Practices for Backup and Recovery of VMware - DRAFT v1

PassTest. Bessere Qualität, bessere Dienstleistungen!

NAS for Server Virtualization Dennis Chapman Senior Technical Director NetApp

Transcription:

VMware vsphere APIs for I/O Filtering (VAIO) November 14, 2017 1

Table of Contents 1. Introduction to vsphere APIs for I/O Filtering 1.1.Introduction to vsphere APIs for I/O Filtering 2. VAIO Technical Overview 2.1.VAIO Technical Overview 3. Storage Policy Based Management 3.1.Storage Policy Based Management 4. VAIO Implementations 4.1.VAIO Implementations 4.2.Infinio 5. Summary 5.1.Summary 6. Acknowledgements 6.1.Acknowledgments 7. About the Author 7.1.About the Author 2

1. Introduction to vsphere APIs for I/O Filtering This section provides an introduction on how the VAIO I/O Filters enable VMware, and partners, to intercept and manipulate the I/O which can provide open-ended data services. 3

1.1 Introduction to vsphere APIs for I/O Filtering The vsphere APIs for I/O Filtering (VAIO) were introduced in vsphere 6.0 Update 1. The VAIO framework and program were developed to provide VMware and partners the ability to insert filters for I/O into the data path of virtual machines. These I/O Filters enable VMware, and partners, to intercept and manipulate the I/O. This manipulation can provide open-ended data services, but thus far is limited to four use cases, two of which are currently exclusive to VMware and two which are open for partners. These use cases are: Replication; Caching; Quality of service (VMware only); Encryption (VMware only). Prior to VAIO, partners had to resort to unsupported kernel level methods or inefficient virtual appliances to intercept and manipulate virtual machine I/O streams. This led to a variety of solutions, which were all implemented in different ways, and could potentially result in instability and operational complexity. The VAIO framework and program was specifically designed to address these challenges. Note that the program does entail a vetting and certification process for partners before a solution is officially VAIO certified. This is to ensure stability and provide a consistent user experience. This paper provides a technical overview of VAIO. It highlights how VAIO enables the use of advanced data services without the need for expensive storage systems. The paper concludes with an overview of different filters developed by VMware and/or 3 rd party software vendors. 4

2. VAIO Technical Overview This section explains how I/O Filter is responsible for acknowledging the I/O to the Guest Operating System. 5

2.1 VAIO Technical Overview The vsphere APIs for I/O Filtering enables the interception of I/O requests from Guest Operating Systems (GOS) to virtual disks (VMDK). This is enabled by inserting an I/O Filter in the vsphere I/O stack. This filter driver executes in user space (called User Worlds in ESXi) so that 3 rd party filter code can run natively in ESXi without jeopardizing the stability of the ESXi kernel. At the same time, VAIO allows for filter drivers to intercept I/O operations as they go through the data path of the ESXi kernel without any perceived performance overhead. I/O operations are intercepted as soon as they go through the virtual SCSI emulation layer (vscsi) in the kernel, as shown in Figure 1. As a result, data services can be applied before I/O is processed by the different storage virtualization modules of ESXi s kernel (VMFS, NFS, SCSI, vsan, etc), which allows for generic data services that are agnostic to the storage backend. For the same reason, I/O is intercepted before it traverses the network providing security and integrity of data. Figure 1 - VAIO Framework I/O Path In the example above, a single I/O Filter is shown. The I/O Filter is implemented in the user space/ world to avoid impacting the hypervisor should there be an issue with the I/O Filter. It is also possible to have multiple I/O Filters applied to the same VM or VMDK(s). If multiple I/O Filters are applied to the same VM or VMDK, the order in which it is applied is defined by the filter class order which is defined as part of the VAIO framework. This means, for instance, that a replication filter executes before a cache filter. Once the I/O has moved through all I/O filters, it moves to the next layer. The I/O Filter not only intercepts and manipulates I/O depending on the implemented functionality, but it can also be responsible for acknowledging the I/O to the Guest Operating System. It is a bidirectional information and traffic flow. If an I/O Filter is written to do write caching, this can be implemented in a write-back or write-through modus. Depending on the implementation, the I/O Filter needs to be informed that the write data is committed to a storage device before placing it in cache. When a replication I/O Filter is implemented, the replication can be done either synchronously or asynchronously. Synchronous replication includes the latency to reach the remote storage in the critical path of a write operation both copies of the operation must be persisted before the operation is acknowledged to the Guest OS. Asynchronous replication is used when the additional latency is not acceptable. This means that the acknowledgement from the local storage system enables the VM to continue, while the I/O is (asynchronously) being replicated to a different location. Note that in this case, the successful asynchronous replication of the I/O is still acknowledged to the I/O Filter. The I/O filter will keep track of each I/O request on a per VMDK basis to ensure data consistency and integrity. 6

Besides regular I/O, VAIO is also informed when certain control operations are performed. For instance, when a snapshot is requested by someone (or something), or a change to a VM or VMDK is requested (grow disk, stop VM, start VM, etc.) the I/O Filter is informed about this event so that this change can be taken in to account. Requirements for implementing I/O Filters usually depend on the type of filter being used. There are, however, a couple of common requirements before an I/O Filter can be installed and configured: vsphere 6.0 Update 1 or higher vmotion with attached filters is supported, but requires the I/O Filter to be installed on the target host DRS is supported, but requires the I/O Filter to be installed on all hosts in the cluster Note that with vsphere 6.0 U1 it was required to have DRS enabled, as of vsphere 6.0 U2 this is no longer the case. Permissions to install a VIB (vsphere Installation Bundle) Later in this document we will look at how to install and configure an I/O Filter. Now that we know more about the internals of I/O Filters, how are these applied? 7

3. Storage Policy Based Management This section explains ways on how to apply an I/O Filter to a VMDK or a VM using a VM Storage Policy. 8

3.1 Storage Policy Based Management I/O Filters are applied to VMs and/or VMDKs through policy. The framework which is used for this is the Storage Policy Based Management framework, also known as SPBM. In order to apply an I/O Filter to a VMDK or a VM, a VM Storage Policy will first need to be created. In order to create one, you must have the appropriate permissions. For those who are familiar with Storage Policy Based Management and the creation of a VM Storage Policy, the creation of a policy with an I/O Filter is slightly different. When an I/O Filter is installed, typically the I/O Filter will include an example for a policy, very similar to how this is done for VMware vsan and VVols. This policy typically will contain a pre-selected common rule which is where the data services are described. These common rules are defined through Storage Policy Components. By default, various Storage Policy Components are pre-created from vsphere s built-in filters, and more are added as I/O Filters are installed. A vsphere 6.5 system without any external I/O Filters installed will come with Storage I/O Control and VM Encryption storage policy components as shown in Figure 2. Figure 2 - Storage Policy Component These storage policy components can then be used in VM Storage Policies. Notice that vsphere will create only these storage policy components, instead of creating full VM Storage Policies with a ruleset, similar to what is done with VMware vsan and VVols. In the current release of vsphere, a VM or VMDK can only have a single policy assigned and applied. By using these Storage Policy Components, I/O Filter capabilities can be included in any VM Storage Policies. In other words, by using Storage Policy Components we can enable, for example, filter-based capabilities such as VM Encryption on a VVol based VM, which otherwise would not be possible were the filters represented as full policies rather than policy components. Of course, it is also possible to create a VM Storage Policy which only contains a Storage Policy Component; this would be useful for VMs stored on traditional storage where Storage Policy Based Management is tag-based and tends not to be as prevalent. Figure 3 shows a VM Storage Policy with multiple Storage Policy Components included. 9

Figure 3 - VM Storage Policy with Components After the creation of one (or more) VM Storage Policies, this policy can simply be applied to a VM or virtual disk. When the policy is applied, the I/O Filter will be active for that particular VM or VMDK. 10

4. VAIO Implementations In this section, we show an example of an I/O Filter, how it is installed, configured and applied to VMs or VMDKs. 11

4.1 VAIO Implementations Thus far we have described I/O Filters in a fairly abstract manner. In this section, we will show an example of an I/O Filter and how it is installed, configured and applied to VMs or VMDKs. Before buying or installing a VAIO I/O Filter VMware recommends to verify in the VMware Compatibility Guide if the I/O Filter is supported for the planned vsphere version and the storage platform. Note that in some cases I/O Filters are only certified for specific types of storage (NFS, VMFS, vsan or VVol based) as shown in Figure 4. https://www.vmware.com/resources/compatibility/search.php? devicecategory=vaio Figure 4 - VMware Compatibility Guide and Storage Types 4.2 Infinio The I/O Filter we will look at is a caching solution. This I/O Filter is by Infinio, who in their first versions mainly focused on acceleration of NFS based storage. Depending on the version of their accelerator implemented, different types of storage are supported. When we wrote the first version of this document version 3.2.0 only supported VMFS and vsan. However, Infinio has recently completed the certification of 3.3.0 against ESX 6.5 U1 and it does support VMFS5, vsan and VVols as shown in Figure 5. Figure 5 - VCG for Infinio Accelerator 12

The Infinio installation uses a Microsoft Windows executable that provides an installation wizard. The installation wizard will ask for vcenter Server credentials, chosen host and datastore for deployment and network details. Once all information has been provided, a virtual appliance is installed and configured that provides the management console. The management console is then used to assign resources to the caching tier. Before you can create a caching layer, a flash resource will first need to be claimed for Virtual Flash usage which is shown in Figure 6. Figure 6 - Claim flash resources for Virtual Flash During the configuration memory capacity and flash capacity can be assigned to the caching tier. Note that you could also assign only memory for caching. In our case we have selected both memory (0.5GB) and flash (743GB) for accelerating the workloads as shown in Figure 7. 13

Figure 7 - Assigning cache capacity In order to accelerate the workloads, a policy will need to be defined and assigned. The first step will be validating the I/O Filter has been configured. This can be done in the I/O Filters section under Configure / Storage on a host as shown in Figure 8. Note that this was done by the installation wizard and no manual work was required from the user / administrator. Figure 8 - I/O Filter configuration Next a VM Storage Policy will be defined. During the creation of the VM Storage Policy a Common Rule will need to be selected. Select the Infinio Provider and next select the Write Policy. Lastly, the policy will need to be applied to a VM, and then the workload acceleration will automatically occur. In the Infinio management console you are able to see for instance what the cache hit ratio is for your VMs, or the Top 10 VMs with the most cache hits as shown in Figure 9. 14

Figure 9 - Top 10 VMs 15

5. Summary This section summarizes how storage vendors can speed up VMware I/O operations that are more efficiently accomplished in storage hardware. 16

5.1 Summary Using VMware s Storage Policy Based Management framework, virtual data services (I/O Filters) can be applied on a per-virtual disk or per-virtual machine level of precision. Ultimately this enables customers to provide a flexible Software Defined Data Center where availability, security and performance can be enhanced independently of the storage system. Using VMware s Storage Policy Based Management framework, virtual data services (I/O Filters) can be applied on a per-virtual disk or per-virtual machine level of precision. Ultimately this enables customers to provide a flexible Software Defined Data Center where availability, security and performance can be enhanced independently of the storage system. 17

6. Acknowledgements This section acknowledges the contributors who have helped the author. 18

6.1 Acknowledgments Thank you to Cormac Hogan, Ken Werneburg and Christos Karamanolis for reviewing (and contributing to) the contents of this paper. Thank you to Cormac Hogan, Ken Werneburg and Christos Karamanolis for reviewing (and contributing to) the contents of this paper. 19

7. About the Author This section covers the details about the author of this guide. 20

7.1 About the Author Duncan Epping is a chief technologist in the office of the CTO at VMware in the Storage and Availability business unit. He was among the first VMware certified design experts (VCDX 007). He is the co-author of several books, including the VMware vsphere Clustering Deepdive series and Essential Virtual SAN. He is the owner and main author of leading virtualization blog yellowbricks.com. Follow Duncan s blogs at http://www.yellow-bricks.com. Follow Duncan on Twitter: @DuncanYB. 21