Follow

Infinidat recommends customers should use Host PowerTools for VMware to set up their InfiniBox vVols. It is simpler and ensures best practices compliance.

For customers who can't use HPT-VM, this document explains how to set up vVols using the InfiniBox consoles and vCenter UI.

InfiniBox Storage Setup

The following instructions should be executed in InfiniShell.

Connect to InfiniBox using InfiniShell with an admin user role. 

Configure the VASA provider SSL certificate

The first step is configuring the SSL certificate.

It is important that the system's FQDN be correct, i.e. match the definition in the DNS, and the VASA provider certificate as well. 

Execute the following two commands:

admin@localhost> config.system.set_fqdn fqdn=ibox2833.lab.gdc.il.infinidat.com
Default fqdn set to "ibox2833.lab.gdc.il.infinidat.com"

admin@localhost> config.system.ssl_certificate.clear_vasa_certificate -y
SSL certificate cleared, generated a self-signed certificate.

Replace the FQDN in the above command with the FQDN of your InfiniBox management IP, as it is defined in the DNS.

Allow vSphere hosts/cluster access to the Protocol Endpoint

Map the vSphere hosts so they have access to the Protocol Endpoint, a special SCSI device used for vVols data access. 

Execute the following command:

admin@localhost> cluster.enable_vvols cluster=vSphereCluster
Default_Protocol_Endpoint: Volume "Default_Protocol_Endpoint" mapped to LUN 11 in cluster "vSphereCluster"

Replace the cluster name in the above command with your vSphere cluster entity.

If you did not define a cluster entity and have only vSphere hosts instead, execute the following command:

admin@localhost> host.enable_vvols host=esx-gdc-prod01.lab.gdc.il.infinidat.com
Default_Protocol_Endpoint: Volume "Default_Protocol_Endpoint" mapped to LUN 1 in host "esx-gdc-prod01.lab.gdc.il.infinidat.com"

Replace the host name in the above command with your vSphere host entity, and repeat for all relevant vSphere hosts. 

Create a vVol pool

The vVol pool serves as a Storage Container, which can be mounted as a vVols datastore in vSphere.

Execute the following command:

admin@localhost> pool.create name=vvol3 physical_capacity=30TB type=VVOL
Pool "vvol3" created

Replace the pool name and size in the above command with the parameters you need.

vSphere Setup

The following instructions should be executed in vCenter after connecting as an administrator.

Register the VASA provider

In the navigation tree go to the vCenter root, select the Configure tab, and then select the Storage Providers page:

Click Add to register the InfiniBox VASA provider, and enter the following details:

Note about security: 

VMware Virtual Volumes specifications require authentication by a storage administrator as part of the VASA registration process. The user and password are not stored in vSphere or vCenter, and are used during the registration process only

Storage administrators who are concerned about sharing user credentials with VM administrators can create a temporary user with admin privileges that will be used for the sole purpose of registering the VASA provider. Once the registration is complete, the storage administrator can delete or disable this user, since it is no longer required for VASA operation. 

  • Click OK, You may receive a Security Alert regarding the VASA provider certificate:


This result is expected. Click YES to complete the registration process. 

When the registration process is finished, you should see the new registered VASA provider:

Rescan the storage adapter

You need to rescan the storage adapters to discover the Protocol Endpoint SCSI device. 

From the navigation tree choose the vSphere host, select the Configure tab, and then select the Storage Adapters page:

Click Rescan Storage..., then click OK.

Repeat this step for all relevant vSphere hosts.

Create a new vVols datastore

Create a new datastore using the vVols pool that you created earlier.

In the navigation tree choose Cluster, open the Actions menu, and then select Storage > New Datastore...:

In the wizard, select vVol, and click Next:

Enter a Name for the datastore, select the Backing Storage Container, and then click Next:

Select all the hosts in the cluster, and click Next:

Click Finish:

The datastore is now mounted and available for use:

Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2021-03-07 16:39:17 UTC

Comments