Getting Started with the DataCore VASA Provider

In this topic:

About VASA Provider

Getting started

Creating disk pools for storage containers

Creating virtual disk templates to define storage container capabilities

Creating a datastore on a storage container

Creating VM storage policies

Creating virtual machines

Creating snapshots

Migrating and cloning virtual machines

About DataCore VASA Provider

The DataCore SANsymphony Software-defined Storage Platform has been integrated with the virtualization world of VMware vSphere™ datacenter platform and vCenter™ management by providing a DataCore VASA Provider (a set of application programming interfaces that integrates storage arrays with vSphere vCenter and allows the capabilities to be known) that has a vSphere Aware Storage application programming interface (API) for DataCore SANsymphony software. The DataCore VASA Provider allows administrators to configure DataCore SANsymphony storage resources as storage containers for virtual machines and enables storage policy-based management (SPBM) of virtual machines—all from the VMware vSphere Web Client.

Custom storage policies, based on storage performance characteristics, are created and defined in VMware vSphere Web Client to help Virtual Infrastructure (VI) administrators overcome storage provisioning challenges. The DataCore VASA Provider enables SPBM by advertising the capabilities of the datastores to the vCenter. The administrator selects the desired storage policy and can then choose from a list of compatible storage containers when a virtual machine is deployed. In turn, a DataCore SANsymphony VVOL virtual disk is automatically created from compatible pools making the virtual machine hard disk policy compliant, thus extending virtual machine-level management to the storage layer.

Terminology

Storage Container (SC)

A storage container is used to create VVOL datastores (also known as virtual volumes or VVOLs) that are connected to a storage provider.

Storage containers are defined and resourced from DataCore SANsymphony disk pools.

See Creating a Datastore on a Storage Container for more information.

Virtual volume (VVOL)

A VVOL datastore allocated from a storage container that will be ultimately used to create a virtual machine. Virtual volumes that are allocated from the same storage container will have the capabilities of that storage container. Virtual disk templates define the capabilities of the VVOL datastore.

Virtual volumes are represented in DataCore SANsymphony software as VVOL virtual disks.

Protocol Endpoint (PE)

Protocol endpoints identify the location of the VVOL virtual disks and are used to establish paths for virtual machines. They make available virtual volumes to ESXi hosts and route traffic from ESXi hosts to the appropriate DataCore SANsymphony virtual disk.

Protocol endpoints are represented as Protocol Endpoint virtual disks in DataCore SANsymphony. See Creating Disk Pools for Storage Containers for more information.

Bind

Binding is the process by which a virtual volume becomes available to ESXi hosts when the virtual machine is powered on.

This process is equivalent to serving the virtual disks representing a virtual volume to the ESXi host. The virtual volume is "bound" to their protocol endpoint and only when bound are visible to the ESXi host.

The DataCore VASA Provider creates all the necessary path connections for the protocol endpoint. See Creating Virtual Machines for more information.

Unbind

Unbinding is the process by which a virtual volume becomes unavailable to ESXi hosts when the virtual machine is powered off.

This process is equivalent to unserving the virtual disk.

  • Before you begin, read the DataCore VASA Provider Help that contains requirements, setup, and installation instructions and other important information.
  • During installation of this feature, the DataCore VASA Provider is registered with the designated vCenter. A user account with the VVol Managers role is required to install the DataCore VASA Provider and perform all actions in VMware vSphere Web Client that involve the DataCore VASA Provider, see Registering Users and Assigning Roles for more information.
  • This topic contains information pertaining to the DataCore VASA Provider used with the VMware vSphere Web Client and the interactions between vSphere and DataCore SANsymphony, but does not provide instructions for performing vSphere operations. See VMware documentation for information and instructions on performing operations in vSphere, such as creating datastores, storage policies, and virtual machines.
  • Virtual disks that represent VVOLs and Protocol Endpoints are identified by subtypes in DataCore SANsymphony. The subtypes are identified in the Type column in Virtual Disk Lists in the DataCore Management Console. The subtype, if applicable, will follow the virtual disk type, for example Single Protocol Endpoint, Mirrored VVOL.
  • Virtual disks in DataCore SANsymphony that are associated with virtual machines in VMware vSphere cannot be deleted, renamed, or altered (by commands such as Replace, Move, Split and Unserve, Convert to Mirrored, Convert to Dual, or resizing the virtual disk) in DataCore SANsymphony.
  • Paths cannot be changed on a protocol endpoint when a VVOL virtual disk is bound to it.
  • Continuous Data Protection (CDP) and Sequential Storage (Random Write Accelerator) are not supported with VVOLs. Replication is not supported and is not recognized at the VMware level.
  • VVOL virtual disks may be replicated in DataCore SANsymphony provided that the user performing the action is an owner of the VVOL virtual disk.
  • All snapshot operations should be performed in the VMware vSphere Web Client. See Creating Snapshots of Virtual Machines for more information.
  • Cloning and migration of virtual machines should be performed in the VMware vSphere Web Client. See Migrating and Cloning Virtual Machines for more information.
  • If the DataCore VASA Provider is unavailable for any reason, no configuration changes can be performed with regards to protocol endpoints or VVOL virtual disks. If a virtual machine is powered off, it cannot be powered on when the DataCore VASA Provider is unavailable. For these reasons, a best practice is to have the DataCore VASA Provider configured for high availability.

Getting Started

Step Procedure

1

The Storage Provider tab in the vSphere Web Client displays information about the DataCore VASA Provider that is used to provision and manage DataCore SANsymphony storage resources.

To access the Storage Provider tab:

  • In the VMware vSphere Client or Web Client, from the Home tab, click Hosts and Clusters.
  • In the Navigator, select the vCenter.
  • In the Configure tab, click Storage Providers.

DataCore SANsymphony Provider should be listed as a Storage Provider. The status should be Online. The server group should be in Active mode.

2

In DataCore SANsymphony, create disk pools to use as storage containers. See Creating Disk Pools for Storage Containers.

3

In DataCore SANsymphony, create virtual disk templates that use the disk pools as storage resources. Templates define the capabilities of the datastores and advertise those capabilities to the vCenter. See Creating Virtual Disk Templates.

4

In the vSphere Web Client, create VVOL datastores on storage containers. Datastores are used to create virtual machines. See Creating a Datastore on a Storage Container.

5

In the vSphere Web Client, use the properties defined in the virtual disk templates to create virtual machine storage policies that match the capabilities of the storage containers (datastores). See Creating VM Storage Policies

6

In the vSphere Web Client, create virtual machines with compatible virtual machine storage policies from a compatible storage container. See Creating Virtual Machines.

Creating Disk Pools for Storage Containers

DataCore SANsymphony disk pools are used as storage resources for storage containers. VVOL datastores are created from storage containers.

To create disk pools:

  • See Creating Disk Pools for instructions. Follow the instructions in the wizard to create the required disk pools. Existing disk pools may also be used.
  • Templates define the pools to use when creating VVOL datastores, One disk pool is required to create a datastore without high availability (single VVOL virtual disk), one shared pool is required to create a shared datastore (dual VVOL virtual disk), and two disk pools on different servers are required to create a highly available datastore (mirrored VVOL virtual disk).
  • Multiple VVOL datastores can be created from the same storage resource (pool).

After disk pools are created, create virtual disk templates in order to advertise the capabilities of the datastore to the vCenter.

Interactions in DataCore SANsymphony

  • New disk pools are added to the server group configuration under the associated DataCore Server and a Disk Pool Details page is created for each disk pool.

Creating Virtual Disk Templates

Virtual disk templates are used by the DataCore VASA Provider to define the capabilities of storage containers which will be used to create VVOL datastores. During the creation of a VVOL datastore in the vSphere Client, all DataCore SANsymphony virtual disks templates with a prefixed “vVol" tag are listed to assist the administrator in selecting a compatible datastore for the virtual machine. Templates allow for greater control over how virtual machines are provisioned.

Templates replace pool naming conventions used in earlier versions and are now required for the DataCore VASA Provider.

Create virtual disk templates in DataCore SANsymphony that specify the disk pools that were created as storage containers. Templates can also specify other properties of the VVOL virtual disks that are created as a result of the datastores. Supported features enabled on the virtual disk template will be enabled on the associated virtual disks when the virtual machine is created.

The vDisk properties can be modified after creation using storage policies. See Creating VM Storage Policies.

To create virtual disk templates:

  • See Virtual Disk Templates for more information about templates and instructions to create them.
  • Create templates to describe the capabilities of each pool. More than one template can be created for the same pool.
  • Only virtual disk templates tagged with a specific prefix are eligible. See Creating Virtual Disk Templates for more information.

Interactions in DataCore SANsymphony

  • A Virtual Disk Template details page is created for each template. The template is added to the Templates list.
  • The DataCore VASA Provider creates protocol endpoint virtual disks (PEs) in DataCore SANsymphony for all virtual disk templates.
    • For each template, a pair of protocol endpoints is created: an endpoint for virtual machines and an endpoint for snapshots.
    • Each protocol endpoint is only created once for a specific pool combination, regardless of how many templates use this combination.
    • The name and description of a protocol endpoint starts with "Protocol Endpoint", and includes the virtual disk template name for which this protocol endpoint was created. Several templates can share the same protocol endpoint if they use the same pool combination.
    • Pools and protocol endpoint virtual disks used in templates cannot be removed from the server group configuration.

Creating a Datastore on a Storage Container

From vSphere, create a datastore of type VVOL on a storage container.

Virtual disk templates define the capabilities of a datastore. When a datastore is created, it inherits all storage-based policies from the virtual disk template.

A storage container is the equivalent of a single disk pool (used to create single or dual VVOL virtual disks) or a set of two disk pools (for mirrored VVOL virtual disks).

Virtual volumes created from a particular datastore (storage container) will inherit the capabilities of that storage container. The DataCore VASA Provider uses templates to advertise the capabilities of the datastores to the vCenter, and the vCenter uses this information to determine storage container compatibility when a virtual machine is created.

  • In order to create data stores, DataCore SANsymphony disk pools and templates defining the capabilities of the datastore are required.
  • Select VVOL as the datastore type when creating the datastore in the wizard.
  • In the container selection in the wizard, eligible virtual disk templates created in DataCore SANsymphony will appear in the list of storage containers. Select a virtual disk template that defines a compatible storage container for the datastore.
  • In the event that a storage container becomes noncompliant with the defined storage policy, the existing virtual machines will continue to run in the same storage container with a compliance status of Noncompliant. The virtual machine may be migrated to a compliant storage container.
  • For additional information or instructions on creating storage containers and datastores, refer to VMware documentation.

Interactions in DataCore SANsymphony

After the datastore is created:

  • The ESXi hosts selected to use the datastore are automatically registered in DataCore SANsymphony if they do not already exist.
  • The corresponding protocol endpoint virtual disks in DataCore SANsymphony are served to the selected hosts, either when the datastore is created or after by manually mounting the datastore. (The virtual volume is not available to ESXi hosts until the virtual machine is powered on.)

Creating VM Storage Policies

Storage policies in vSphere are a collection of rules used to specify storage requirements for virtual machines. Storage policy-based management (SPBM) helps administrators choose policy-compliant storage for virtual machines based on application requirements.

Possible rules for virtual machine storage policies:

  • Storage profiles
  • Disk type (Single, Mirrored, or Dual)
    • Dual disks require a qualified shared pool in DataCore SANsymphony that is configured as the storage container pool
  • Select Enable rules for “DataCore.SANsymphonyV2” storage for Datastore specific rules in the Create VM Storage Policy wizard.
  • Ensure that the datastores that satisfy the rules are displayed as compatible datastores in the Storage Compatibility list in the wizard.

For additional information or instructions on creating storage policies, refer to VMware documentation.

Creating Virtual Machines

When creating a virtual machine, the administrator selects a storage policy and the wizard displays a list of compatible datastores to select as storage. This ensures that storage can be selected based on storage policy and the virtual volume is created from a storage container with matching capabilities. As a result, DataCore SANsymphony creates a VVOL virtual disk from pools with compatible capabilities and then binds these virtual disks to the virtual machine.

  • To create a compliant virtual machine, select the appropriate storage policy in the wizard and select a datastore from the compatible storage list to create the virtual machine.
  • In the event that a storage container becomes noncompliant with the defined storage policy, the existing virtual machines will continue to run in the same storage container with a compliance status of Noncompliant. The virtual machine may be migrated to a compliant storage container.
  • VVOL virtual disks created by the VASA provider use system managed mirroring by default.

Interactions in DataCore SANsymphony

When a virtual machine is created:

  • Typically there are three associated virtual disks created in DataCore SANsymphony: one for configuration data, one for the virtual machine hard disk (vmdk file), and one for swap data (vswp file). These virtual disks are named with GUIDs, and the name of the virtual machine appears in the description. For any additional hard drive, an additional virtual disk is created.

    Do not delete any virtual disks associated with a virtual volume in VMware.

    • The vmdk and configuration file for the virtual volume will appear in the configuration during the virtual machine creation.
    • The swap file will appear in the configuration when the virtual machine is powered on and disappears from the configuration when the virtual machine is powered off.
    • When the virtual machine is turned on, the virtual volume is bound to the protocol endpoint, and the virtual machine hard disk (vmdk) is made available to hosts. The virtual machine hard disk is displayed in the Hosts panel under the ESXi hosts and under the associated protocol endpoint. Since the virtual disks are not served to the hosts, there will be no serve information or front-end paths displayed in the DataCore Management Console. Only mirror paths are displayed. Hosts only see protocol endpoints, which directs and connects the virtual machine to the corresponding virtual volume. I/O goes directly to the virtual volume.
  • Supported features enabled on the virtual disk template will be enabled on the virtual disks when the virtual machine is created.
  • Mirrored or dual VVOL virtual disks, by default, use a special type of virtual disk for mirroring. Mirrored disks are visible in the server group configuration and appear as a single 4 KB virtual disk on each server that has a storage source in mirrored or dual VVOL virtual disks. The base name for a mirrored disk is "Mirror Trunk" and a number is appended to make the name unique in the server group. Mirrored virtual disks are named Mirror Trunk 1, Mirror Trunk 2 and so on. They have a virtual disk type of Single Trunk.

For additional information or instructions on creating virtual machines, refer to VMware documentation.

Creating Snapshots of Virtual Machines

  • Snapshot operations should be performed in the VMware vSphere Web Client. Snapshots of VVOL virtual disks cannot be created directly from DataCore SANsymphony software.
  • Snapshot virtual disks will be created and maintained in DataCore SANsymphony as a result of snapshot operations performed in the vSphere Web Client. They will be placed in the pool and node specified by the Preferred Snapshot Pool of the virtual disk template. If no preferred snapshot pool is selected in the template, the DataCore VASA Provider will use the pool that is specified first in the virtual disk template.
  • In DataCore SANsymphony, snapshots will be named by appending the creation timestamp with the vVol name, and the virtual machine name will appear in the description. Snapshots of VVOL virtual disks will appear in the console and have the subtype VVOL.
  • Do not perform any snapshot operations on existing snapshots of VVOL virtual disks or manipulate the snapshots in any way from DataCore SANsymphony software.
  • If a mapstore pool is not assigned in SANsymphony, the VASA provider will automatically set it to be the pool where the first snapshot of a virtual volume is created.

Migrating and Cloning Virtual Machines

  • Cloning and migration of virtual machines should be performed in the VMware vSphere Web Client, not in DataCore SANsymphony software.
  • Migrations can be performed to change the virtual machine storage, change the host, or both. For example, the storage may be changed if it becomes incompatible over time, or to change the policy of a virtual machine from a single VVOL virtual disk (not highly available) to a mirrored VVOL virtual disk (highly available).
  • When a virtual machine does not differ much from the snapshot, cloning is faster than doing block level copies of the virtual machine.
  • During migration or cloning, it is possible that many snapshots, DataCore disks, and pass-through virtual disks may be created in DataCore SANsymphony software to facilitate the process. These entities may or may not be automatically removed after the operation is completed.

    These entities are owned by the DataCore VASA Provider and ESXi and therefore should not be manipulated in any way.