Datrium Zero to Hero: Deploying the Datrium VAAI Host Extension

VMware vSphere Storage APIs Array Integration (VAAI), also referred to as hardware acceleration or hardware offload APIs, are a set of APIs to enable communication between VMware vSphere ESXi hosts and storage devices. The APIs define a set of storage primitives that enable the ESXi host to offload certain storage operations to the array, which reduces resource overhead on the ESXi hosts and can significantly improve performance for storage-intensive operations such as storage cloning, zeroing, and so on. The goal of VAAI is to help storage vendors provide hardware assistance to speed up VMware I/O operations that are more efficiently accomplished in the storage hardware.

How to Guide

The Datrium DVX Platform ships with two different VIB (VMware Installation Bundle) packages.

  1. Hyperdriver Software (Hyperdriver is installed by default whenever you add a Compute Node to Datrium DVX)
  2. VAAI Plug-In (Requires manual steps or VUM to automate the install on each Compute Node)

This blog will focus on the how to use VMware Update Manager (VUM) to deploy the Datrium DVX VAAI Extension. To check the status and eligibility of your VAAI Plug-In enable SSH to your ESXi host and run:

The output will likely look something like this (Basically this means the VAAI Plug-In is not installed:

Step 1 – Download Datrium VAAI VIB

The first step is to venture over to Support.Datrium.com and download the latest version of the Datrium VAAI VIB package. In my environment I’m running Datrium DAos 3.1.1.2. This will download a .zip file containing the appropriate files. You’ll not need to extract the .zip file.

Step 2 – Upload the VAAI VIB to the VUM Patch Repository.

  1. Within vCenter Server click Home, Update Manager (Admin View, not Compliance View)
  2. Click Patch Repository
  3. Click Import Patches
  4. Browse to the .zip file downloaded and upload to the VUM Patch Repository.

Step 3 – Create Host Baseline

  1. Staying in Admin View we now need to create a baseline for our VIB
  2. Click Host Baselines and New Baseline
  3. Choose Host Extension and now search for Datrium in the list of host extensions. You’ll likely see a few Cisco 1000v extensions available, we’re only interested in the Datrium NAS VAAI Plug-In

Step 4 – Attach Baseline to Host

Switch the view to Compliance View, not Admin

  1. Click on the Cluster in the left pane and choose Attach Baseline
  2. Click Stage Patches – I personally like to stage all patches prior to deploying, this saves the amount of time a host has to be in Maintenance Mode and be out of the available pool of compute as Staging pre-downloads all of the patches locally to the host making the overall patching process quicker.

Step 5 – Maintenance Mode and Remediate

  1. Place your Compute Nodes (aka ESXi Hosts) in VMware Maintenance Mode
  2. Remediate
  3. Deploying the Datrium VAAI Plug-In does require a reboot so after completion the hosts will automatically reboot.
  4. Check Compliance

Just to make sure things are perfect SSH back into your ESXi host and run the same command from before:

Step 6 – Compare Simple Clone with and without VAAI

Just to compare the speed before and after VAAI:

  1. Before VAAI – Clone = 13 Minutes
  2. After VAAI – Clone = 8 Seconds

Enjoy 🙂

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: