Configuring Virtual Volumes

After you ensure that your environment meets the prerequisites for VMware vSphere Virtual Volumes, you must first enable the function by using the management GUI or the command-line interface (CLI). You then configure and register the Spectrum Control Base server as a storage provider in VMware vCenter.

Before you configure Virtual Volumes, the following prerequisites must be met:

Using the management GUI

To enable Virtual Volumes, complete the following tasks on your system before you configure any settings within the Spectrum Control Base server:
  1. In the management GUI, click Settings > System > VVOL.
  2. Select On to enable Virtual Volumes. A utility volume is automatically created to store critical metadata that is required for Virtual Volumes. This utility volume is managed by the Spectrum Control Base server.
  3. Select a storage pool to store the utility volume. If possible, store a mirrored copy of the utility volume in a second storage pool that is in a separate failure domain. For example, use a storage pool that is made from MDisks that are presented from different storage systems or a different I/O group.
  4. Create a user account for the Spectrum Control Base server. Defining the user account for the Spectrum Control Base server automatically configures a new user with the VASA Provider role. Spectrum Control Base server uses these storage credentials and role privileges to access the system and to run the automated tasks that are required for Virtual Volumes. Ensure to record these storage credentials. You need them to configure your Spectrum Control Base server.
    Note: The VASA Provider role is used only by the Spectrum Control Base server. Users must not directly log in to the management GUI or CLI with an account that has the VASA Provider user role and complete system tasks, unless they are directed to by support.
  5. In the management GUI, select Hosts > Hosts.
  6. To create a new host object, select Add Host.
  7. Enter the name of an ESXi host server that will access storage from the system and enter connection information. Select VVOL for the host type. Click Add Host. Repeat this step for each ESXi host server.
  8. If the ESXi host was previously configured, the host type can be changed by selecting the ESXi host. Click Action and select Properties. On the Overview panel, select Edit and change the host type to VVOL.
  9. For information about configuring Spectrum Control Base, see the Spectrum Control Base documentation.

Using the command-line interface

To enable Virtual Volumes by using the command-line interface (CLI), complete these steps:

  1. A utility volume is required to store critical metadata for Virtual Volumes. To create the utility volume on the system, you must have either the administrator or the security administrator user role. If possible, have a mirrored copy of the utility volume that is stored in a second storage pool in a separate failure domain. Use a storage pool that is made from MDisks that are presented from a different storage controller or a different I/O group. For a single storage pool, enter the following command:
    svctask mkmetadatavdisk -mdiskgrp mdiskgrpid
    For multiple storage pools, enter the following command:
    svctask mkmetadatavdisk -mdiskgrp mdiskgrpid_1:mdiskgrpid_2
  2. On the system, create the user group and specify the VASA Provider role. Enter the following command:
    mkusergrp -role VasaProvider -name VasaProvider
  3. On the system, create the user for the VASA Provider role. The user who has the VASA Provider role is given specific permissions that restrict access to only those functions that are related to Virtual Volumes management. Enter the following command:
    mkuser -usergrp VasaProvider -name myVasaProvider -password
        password
  4. To add a host that represents the ESXi host server that accesses the pool for Virtual Volumes, enter the following command:
    mkhost -fcwwpn 210100E08B251EE6:210100F08C262EE7 -type adminlun 
    -iogrp io_grp0:io_grp1:io_grp2:io_grp3 
    The parameter -type adminlun indicates that the host is used for Virtual Volumes.
    To change an existing host that accesses the pool for Virtual Volumes, enter the following command:
    chhost -type adminlun host_id
  5. For more information about configuring Spectrum Control Base, see the IBM Spectrum Control Base documentation.