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 IBM Spectrum® Connect 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 IBM Spectrum Connect server:
Using the command-line interface
To enable Virtual Volumes by using the command-line interface (CLI), complete these steps:
- A utility volume is required to store critical metadata for Virtual Volumes.
To create a utility volume for a single storage pool, enter the following
command:
To create a utility volume for multiple storage pools, enter the following command:svctask mkmetadatavdisk -mdiskgrp mdiskgrpid
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.svctask mkmetadatavdisk -mdiskgrp mdiskgrpid_1:mdiskgrpid_2 - On the system, create the user group and specify the VASA Provider role. Enter
the following
command:
mkusergrp -role VasaProvider -name VasaProvider - 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' - To add a host that represents the ESXi host server that accesses the pool for
Virtual Volumes, enter the following
command:
The parameter -type adminlun indicates that the host is used for Virtual Volumes.mkhost -fcwwpn 210100E08B251EE6:210100F08C262EE7 -type adminlun -iogrp io_grp0:io_grp1:io_grp2:io_grp3To change an existing host that accesses the pool for Virtual Volumes, enter the following command:chhost -type adminlun host_id