Generic Storage Tasks

This chapter contains the following sections:

Associate NFS Export as Datastore

Summary
Create an NFS Datastore from an NFS share on VMware hosts.
Description
This task creates an NFS datastore on VMware hosts. Host selection can be performed by selecting VMware clusters or hosts. If a VMware cluster is selected, datastores are created on all hosts mapped to the cluster. Task execution is based on success criteria that you select. NFS Export access is assumed to have been provided already for the hosts, otherwise and error message is be displayed.
Inputs
Input Description Mappable To Type Mandatory
Select Storage Account Select Storage account File​Storage​Account​Identity Y
Datastore Name Enter a new datstore name.​ gen_​text_​input
Create Data​Store On Select option to create Datastore on Cluster Level/Host Level Data​Store​Creation​Option Y
VMware Cluster(s) Select a cluster to create datastore.​ vmware​Cluster​Identity Y
VMware Host(s) Select a hosts to create datastore.​ vmware​Host​Node​Identity Y
NFS Export Select Storage NFS Export to create datastore Storage​NFSExport​Identity Y
Access Mode Select Access Mode Datastore Access Mode Y
VDC Name Select v​DC to assign storage policy.​ v​DC
Success Criteria Select an option from list to pass the task Mount​Datastore​Success​Criteria Y
Outputs
Output Description Type
OUTPUT_​DATASTORE_​NAME Datastore Name data​Store​Name
OUTPUT_​VMWARE_​ACCOUNT_​NAME VMware Account Name.​ vmware​Account​Name
OUTPUT_​VMWARE_​DATASTORE_​IDENTITY VMware Datastore Identity vmware​Datastore​Identity
OUTPUT_​VMWARE_​DATASTORE_​INFO_​IDENTITY VMware Datastore Info identity gen_​text_​input
OUTPUT_​VMWARE_​HOST_​NODE_​IDENTITY VMware Host Node Identity vmware​Host​Node​Identity
OUTPUT_​VMWARE_​MULTI_​HOST_​IDENTITY VMware Multi Host Identity vmware​Host​Multi​Select
OUTPUT_​VMWARE_​CLUSTER_​IDENTITY VMware Cluster Identity vmware​Cluster​Identity
OUTPUT_​VMWARE_​MULTI_​CLUSTER_​IDENTITY VMware Multi Cluster Identity vmware​Multi​Cluster​Identity
OUTPUT_​VMWARE_​DATASTORE_​ACCOUNT_​IDENITTY VMware Datastore Account Identity vmware​Datastore​Account​Identity
OUTPUT_​VMWARE_​MULTI_​DATASTORE_​IDENTITY VMware Multi Datastore Identity vmware​Multi​Datastore​Identity
OUTPUT_​VM_​PROVISIONING_​DATASTORE_​IDENTITY VM Provisioning Datastore Identity vmware​Datastore​Identity

Associate Storage LUN as Datastore

Summary
Create a VMFS Datastore from a storage LUN on VMware hosts.
Description
This task creates a VMFS datastore on VMware hosts. Host selection can be performed by selecting VMware clusters or hosts. If a VMware cluster is selected, datastores are created on all hosts mapped to the cluster. The LUN path is scanned on both FC and iSCSI host initiators. Task execution is based on success criteria that you select. SAN Zoning and LUN mapping are assumed to have already occurred, otherwise an error message is displayed.
Inputs
Input Description Mappable To Type Mandatory
Select Storage Account Select Storage account Block​Storage​Account​Identity Y
Datastore Name Enter a new datstore name.​ gen_​text_​input
Create Data​Store On Select option to create Datastore on Cluster Level/Host Level Data​Store​Creation​Option Y
VMware Cluster(s) Select a cluster to create datastore.​ vmware​Cluster​Identity Y
VMware Host(s) Select a hosts to create datastore.​ vmware​Host​Node​Identity Y
Initiator Type Select the type.​ vmware​Prototcol​List
Storage LUN Select Storage LUN to create datastore Storage​LUNIdentity Y
VDC Name Select v​DC to assign storage policy.​ v​DC_​with_​default
Success Criteria Select an option from list to pass the task Mount​Datastore​Success​Criteria Y
Outputs
Output Description Type
OUTPUT_​DATASTORE_​NAME Datastore Name data​Store​Name
OUTPUT_​VMWARE_​ACCOUNT_​NAME VMware Account Name.​ vmware​Account​Name
OUTPUT_​VMWARE_​DATASTORE_​IDENTITY VMware Datastore Identity vmware​Datastore​Identity
OUTPUT_​VMWARE_​DATASTORE_​INFO_​IDENTITY VMware Datastore Info identity gen_​text_​input
OUTPUT_​VMWARE_​HOST_​NODE_​IDENTITY VMware Host Node Identity vmware​Host​Node​Identity
OUTPUT_​VMWARE_​MULTI_​HOST_​IDENTITY VMware Multi Host Identity vmware​Host​Multi​Select
OUTPUT_​VMWARE_​CLUSTER_​IDENTITY VMware Cluster Identity vmware​Cluster​Identity
OUTPUT_​VMWARE_​MULTI_​CLUSTER_​IDENTITY VMware Multi Cluster Identity vmware​Multi​Cluster​Identity
OUTPUT_​VMWARE_​DATASTORE_​ACCOUNT_​IDENITTY VMware Datastore Account Identity vmware​Datastore​Account​Identity
OUTPUT_​VMWARE_​MULTI_​DATASTORE_​IDENTITY VMware Multi Datastore Identity vmware​Multi​Datastore​Identity
OUTPUT_​VM_​PROVISIONING_​DATASTORE_​IDENTITY VM Provisioning Datastore Identity vmware​Datastore​Identity

Execute Storage Device CLI

Summary
Execute CLI commands on an SSH-based storage connector.
Description
This task executes CLI commands on a storage device.
Inputs
Input Description Mappable To Type Mandatory
Select Storage System Select Storage device System storage​Account​Identity Y
CLI Commands Allows single CLI command to execute for each task gen_​text_​input Y
Expected Output Expected Output gen_​text_​input
Undo CLI Commands Undo CLI commands to execute on the device gen_​text_​input
Outputs
Output Description Type
OUTPUT_​SSH_​COMMAND Result from Executed CLI Command gen_​text_​input

Get Block Storage LUN Information

Summary
Get the size and NAA ID of a LUN mapped to a host.
Description
This task fetches the network address authority (NAA) ID and size of the LUN mapped to one or more hosts.
Inputs
Input Description Mappable To Type Mandatory
Select Storage Account Select Storage account Block​Storage​Account​Identity Y
Storage LUN Select Storage LUN to fetch information Storage​LUNIdentity Y
Outputs
Output Description Type
OUTPUT_​BLOCK_​STORAGE_​ACCOUNT_​IDENTITY Block Storage Account Identity Block​Storage​Account​Identity
OUTPUT_​BLOCK_​STORAGE_​LUN_​IDENTITY Storage LUN Identity Storage​LUNIdentity
OUTPUT_​LUN_​NAA_​ID LUN NAA ID Lun​Naa​Id
OUTPUT_​LUN_​WWN LUN WWN gen_​text_​input
OUTPUT_​LUN_​SIZE_​IN_​GB LUN Size in GB gen_​text_​input

Get Storage FC Port Information

Summary
Fetch WWPN and WWN information for FC ports.
Description
This task retrieves world-wide port name (WWPN) and world-wide name (WWN) information for fibre channel (FC) ports. The task provides a maximum of eight WWPNs and WWNs through single output variables. If more than eight ports are selected, WWPN and WWN information is output as lists of comma-separated values. If there is no WWN information available for a selected FC Port, the respective output is returned empty.
Inputs
Input Description Mappable To Type Mandatory
Storage FC Port Select FC Port to fetch information GENERIC_​FC_​ADAPTER_​LIST Y
Outputs
Output Description Type
OUTPUT_​FC_​PORT_​WWPN_​1 FC Port WWPN 1 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​2 FC Port WWPN 2 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​3 FC Port WWPN 3 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​4 FC Port WWPN 4 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​5 FC Port WWPN 5 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​6 FC Port WWPN 6 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​7 FC Port WWPN 7 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​8 FC Port WWPN 8 gen_​text_​input
OUTPUT_​FC_​PORT_​WWPN_​LIST FC Port WWPN List gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​1 FC Port WWN 1 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​2 FC Port WWN 2 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​3 FC Port WWN 3 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​4 FC Port WWN 4 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​5 FC Port WWN 5 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​6 FC Port WWN 6 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​7 FC Port WWN 7 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​8 FC Port WWN 8 gen_​text_​input
OUTPUT_​FC_​PORT_​WWN_​LIST FC Port WWN List gen_​text_​input

Storage Device Object Inventory

Summary
Run an inventory object on SSH-based storage connectors.
Description
This task executes an inventory for a storage device.
Inputs
Input Description Mappable To Type Mandatory
Select Storage System Select Storage device System storage​Account​Identity Y
Select Inventory Select Inventory Storage​Inventory​Object​Type Y
Outputs
No Outputs