Creating a VMFS datastore
Use the IBM Storage® Virtualize Plugin for vSphere to automate the creation of vSphere Virtual Machine File System (VMFS) datastores.
Before you begin
Identify the vSphere cluster for which you want to create the new VMFS datastore(s).
About this task
This workflow will initially evaluate storage connectivity to ensure all hosts in the selected vSphere cluster have sufficient access to the storage system. If any hosts in the selected vSphere cluster are deemed not to be correctly defined on the storage system, or if conditions exist that prevent the host status being reported as online by the underlying storage system, an alert will be displayed. If hosts are not defined in a host cluster on the storage system, then an advisory message will be displayed. Where possible, consider using host clusters to simplify management and storage provisioning for clustered host environments.
- The name specified in the workflow will be used both when creating the volumes on the storage system and for the VMFS datastore(s).
- The specified capacity will define the size of the volume created in the storage system. Note that a small area of the volume is allocated to the VMFS partition and so the available capacity for the VMFS datastore may differ from the underlying volume's capacity.
To ensure that each ESXi host in the selected vSphere cluster has been correctly configured on the selected storage system and that all members of the selected vSphere cluster can demonstrate uniform storage connectivity, the host storage adapter WWPN details are evaluated and compared with host definitions on the storage system. This is to support environments where the name of the host as defined on the storage system does not match the name as displayed within vSphere client.
In configurations where Object-Based Access Control (OBAC) is in use, the owner of each host is also compared to the user account for the chosen storage system. If there are discrepancies between the owner names of the two, an ownership error is raised and a link to the storage system is shown to resolve.
Assuming all hosts are reporting online, there is an optional step to assign the datastore to a volume group. Volume groups and any assigned snapshot or replication policies must be predefined on the storage system. This workflow does not allow for the creation of volume groups or creation/assignment of policies to existing ones.
The workflow will create the requested number of volumes of the required size on a selected storage system, in a selected pool.
The appropriate host/hostcluster volume mappings will be created for all members of the vSphere cluster, and if a volume group is selected, the newly created volume will be placed into the volume group.
By default, all volumes will be created as Thin Provisioned/Space Efficient volumes on the storage system, if this is not the preferred behavior consider assigning a Provisioning Policy to the storage pool on the storage system. This Provisioning Policy will define how volumes are created by default and will override the default behavior.
Finally, a VMFS datastore will be created from each volume, and the storage adapters for each vSphere cluster member will be rescanned to correctly mount the new datastore(s).