Site icon mulcas

vShpere 7 - Explain The Importance Of Advanced Storage Configuration

Explain the importance of advanced storage configuration

VMware vSphere 7.x Study Guide for VMware Certified Professional – Data Center Virtualization certification. This article covers Section 1: Architectures and Technologies.  Objective 1.3.2 – Explain the importance of advanced storage configuration (VASA, VAAI, etc.)

This article is part of the VMware vSphere 7.x - VCP-DCV Study Guide. Check out this page first for an introduction, disclaimer, and updates on the guide. The page also includes a collection of articles matching each objective of the official VCP-DCV.

Explain the importance of advanced storage configuration

In this objective, it is required to explain the importance of advanced storage configuration. This mainly includes Storage Providers, a.k.a VASA, and Hardware Acceleration a.k.a. VAAI, for both block and file storage. Also, critical to study is pluggable storage architecture and path management.

1. vSphere APIs for Storage Awareness (VASA)

A storage provider is a software component that is offered by VMware or developed by a third party through vSphere APIs for Storage Awareness (VASA). The storage provider can also be called VASA provider. The storage providers integrate with various storage entities that include external physical storage and storage abstractions, such as vSAN and vVols. Storage providers can also support software solutions, for example, I/O filters.

Note: VASA becomes essential when you work with vVols, vSAN, vSphere APIs for I/O Filtering (VAIO), and storage VM policies. 

1.1 VASA Highlights and Benefits

1.2 Storage Providers Types

Persistence Storage Providers

Storage providers that manage arrays and storage abstractions are called persistence storage providers. Providers that support vVols or vSAN belong to this category. In addition to storage, persistence providers can provide other data services, such as replication.

Data Service Providers

Another category of providers is I/O filter storage providers or data service providers. These providers offer data services that include host-based caching, compression, and encryption.

Both persistence storage and data service providers can belong to one of these categories.

Built-in Storage Providers

Built-in storage providers are offered by VMware. Typically, they do not require registration. For example, the storage providers that support vSAN or I/O filters are build-in and become registered automatically.

Third-Party Storage Providers

When a third party offers a storage provider, you typically must register the provider. An example of such a provider is the vVols provider. You use the vSphere Client to register and manage each storage provider component.

Source VMware

The graphic above illustrates how different types of storage providers facilitate communications between vCenter Server and ESXi and other components of your storage environment. For example, the components might include storage arrays, vVols storage, and I/O filters.

1.3 Storage Provider Requirements and Considerations

To use storage providers, follow these requirements:

2. vSphere APIs for Array Integration (VAAI)

The hardware acceleration (or VAAI) functionality enables the ESXi host to integrate with compliant storage systems. The host can offload certain virtual machine and storage management operations to the storage systems. With the storage hardware assistance, your host performs these operations faster and consumes less CPU, memory, and storage fabric bandwidth.

Note: Block storage devices (Fibre Channel and iSCSI) and NAS devices support the hardware acceleration.

2.1 VAAI Benefits

When the hardware acceleration functionality is supported, the host can get hardware assistance and perform several tasks faster and more efficiently.

The host can get assistance with the following activities:

2.2 VAAI for Block Storage Devices

ESXi hardware acceleration for block storage devices supports the following array operations:

Full Copy

Full copy, also called clone blocks or copy offload. Enables the storage arrays to make full copies of data within the array without having the host read and write the data. This operation reduces the time and network load when cloning virtual machines, provisioning from a template, or migrating with vMotion.

Block Zeroing

Block zeroing, also called write same. Enables storage arrays to zero out a large number of blocks to provide newly allocated storage, free of previously written data. This operation reduces the time and network load when creating virtual machines and formatting virtual disks.

Hardware Assisted Locking

Hardware assisted locking, also called atomic test and set (ATS). Supports discrete virtual machine locking without the use of SCSI reservations. This operation allows disk locking per sector, instead of the entire LUN as with SCSI reservations.

Storage Space Reclamation (UNMAP)

ESXi supports the space reclamation command, also called SCSI unmap command, that originates from a VMFS datastore or a VM guest operating system. 

In addition to hardware acceleration support, ESXi includes support for array thin provisioning.

Array Thin Provisioning

ESXi supports thin provisioning for virtual disks. With the disk-level thin provisioning feature, you can create virtual disks in a thin format. For a thin virtual disk, ESXi provisions the entire space required for the disk’s current and future activities.

The ESXi host integrates with block-based storage and performs these tasks:

2.3 VAAI on NAS Devices

The VAAI NAS framework supports both versions of NFS storage, NFS 3 and NFS 4.1. The VAAI NAS uses a set of storage primitives to offload storage operations from the host to the array. The following list shows the supported NAS operations:

Full File Clone

Supports the ability of NAS devices to clone virtual disk files. This operation is similar to the VMFS block cloning, except that NAS devices clone entire files instead of file segments. Tasks that benefit from the full file clone operation include VM cloning, Storage vMotion, and deployment of VMs from templates.

Fast File Clone

This operation, also called array-based or native snapshots, offloads the creation of virtual machine snapshots and linked clones to the array.

Reserve Space

Supports the ability of storage arrays to allocate space for a virtual disk file in the thick format.

Typically, when you create a virtual disk on an NFS datastore, the NAS server determines the allocation policy. 

Extended Statistics

Supports visibility to space use on NAS devices. The operation enables you to query space utilization details for virtual disks on NFS datastores. The details include the size of a virtual disk and the space consumption of the virtual disk. This functionality is useful for thin provisioning.

2.4 VAAI Considerations

The VMFS data mover does not leverage hardware offloads and instead uses software data movement when one of the following occurs:

3. Pluggable Storage Architecture and Path Management

These are key concepts behind the ESXi storage multipathing.

3.1 Pluggable Storage Architecture (PSA)

PSA is an open and modular framework that coordinates various software modules responsible for multipathing operations.

PSA allows storage partners to create and deliver multipathing and load-balancing plug-ins that are optimized for each array. Plug-ins communicate with storage arrays and determine the best path selection strategy to increase I/O performance and reliability from the ESXi host to the storage array.

When coordinating the VMware native modules and any installed third-party MPPs, the PSA performs the following tasks:

Source VMware

As the Pluggable Storage Architecture illustration above shows, multiple third-party MPPs can run in parallel with the VMware NMP or HPP. When installed, the third-party MPPs can replace the behavior of the native modules. The MPPs can take control of the path failover and the load-balancing operations for the specified storage devices.

3.2 VMware Native Multipathing Plug-In (NMP)

By default, ESXi provides an extensible multipathing module called Native Multipathing Plug-In (NMP).

Generally, the VMware NMP supports all storage arrays listed on the VMware storage HCL and provides a default path selection algorithm based on the array type. The NMP associates a set of physical paths with a specific storage device, or LUN.

Typically, the NMP performs the following operations:

For additional multipathing operations, the NMP uses submodules, called SATPs and PSPs. The NMP delegates to the SATP the specific details of handling path failover for the device. The PSP handles path selection for the device.

3.3 Path Selection Plug-Ins and Policies (PSPs)

A submodule of NMP. VMware Path Selection Plug-ins (PSPs) are responsible for selecting a physical path for I/O requests.

The plug-ins are submodules of the VMware NMP. The NMP assigns a default PSP for each logical device based on the device type. You can override the default PSP. For more information, see Change the Path Selection Policy.

Each PSP enables and enforces a corresponding path selection policy.

VMW_PSP_MRU - Most Recently Used

The Most Recently Used (VMware) policy is enforced by VMW_PSP_MRU. 

VMW_PSP_FIXED - Fixed 

This Fixed (VMware) policy is implemented by VMW_PSP_FIXED. 

VMW_PSP_RR - Round Robin

VMW_PSP_RR enables the Round Robin (VMware) policy. 

3.4 VMware Storage Array Type Plug-ins (SATPs)

Storage Array Type Plug-ins (SATPs) are responsible for array-specific operations. The SATPs are also submodules of the VMware NMP.

ESXi offers a SATP for every type of array that VMware supports. ESXi also provides default SATPs that support non-specific active-active, active-passive, ALUA, and local devices.

ESXi includes several generic SATP modules for storage arrays.

VMW_SATP_LOCAL

SATP for local direct-attached devices.

VMW_SATP_LOCAL supports the VMW_PSP_MRU and VMW_PSP_FIXED path selection plug-ins, but does not support VMW_PSP_RR.

VMW_SATP_DEFAULT_AA

Generic SATP for active-active arrays.

VMW_SATP_DEFAULT_AP

Generic SATP for active-passive arrays.

VMW_SATP_ALUA

SATP for ALUA-compliant arrays.

Resources

vSphere Storage

Conclusion

The topic reviewed in this article is part of the VMware vSphere 7.x Exam (2V0-21.20), which leads to the VMware Certified Professional – Data Center Virtualization 2021 certification. 

Section 1 - Architectures and Technologies. 

Objective 1.3.2 – Explain the importance of advanced storage configuration (VASA, VAAI, etc.)

See the full exam preparation guide and all exam sections from VMware.

More topics related to VMware

Exit mobile version