SCVMM 2012 SP1 Storage Tasks

This chapter contains the following sections:

Add Hyper-V File Share to Cluster

Summary
Add a file share toa cluster.
Description
This task adds a file share to a cluster. Only managed file shares can be added to a cluster. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the cluster to perform the action hyperv​Cluster​Identity Y
Select File Share Select the file share to add hyperv​File​Share​Identity Y
Select Run As Account Select the Run As Account to perform the operation hyperv​Run​As​Account​Identity
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity

Add Hyper-V File Share to Host

Summary
Add a file share to a host.
Description
This task adds a file share to a host. Only managed file shares can be added to a host. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Select the host to perform the action hyperv​Host Y
Select File Share Select the file share to add hyperv​File​Share​Identity Y
Select Run As Account Select the Run As Account to perform the operation hyperv​Run​As​Account​Identity
Outputs
Output Description Type
OUTPUT_​HOST_​IDENTITY Host Identity hyperv​Host
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity

Add Hyper-V Storage Logical Unit to Cluster

Summary
Add a LUN to a cluster.
Description
This task adds a storage logical unit (LUN) to a cluster. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the cluster to perform the action hyperv​Cluster​Identity Y
Select Lun Select the lun to be added hyperv​Storage​LUNIdentity Y
Partition Style Create MBR or GPT Partition hyperv​Partition​Type Y
File System Select File System hyperv​File​System​Type Y
Volume Label Enter Volume Label gen_​text_​input Y
Quick Format Quick Format gen_​text_​input
Force Format Force Format gen_​text_​input
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity
OUTPUT_​HOST_​VOLUME_​IDENTITY Host Volume Identity gen_​text_​input

Add Hyper-V Storage Logical Unit to Host

Summary
Add a LUN to a host.
Description
This task adds a storage logical unit (LUN) to a host. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Select the host to perform the action hyperv​Host Y
Select Lun Select the lun to be added hyperv​Storage​LUNIdentity Y
Partition Style Create MBR or GPT Partition hyperv​Partition​Type Y
File System Select File System hyperv​File​System​Type Y
Volume Label Enter Volume Label gen_​text_​input Y
Quick Format Quick Format gen_​text_​input
Force Format Force Format gen_​text_​input
Outputs
Output Description Type
OUTPUT_​HOST_​IDENTITY Host Identity hyperv​Host
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity

Add Hyper-V Storage Provider

Summary
Add a storage provider.
Description
This task adds a storage provider from the SCVMM. The following storage provider types are supported:
  • SMB 3.0 File Share
  • SMI-S CIMXML
  • SMI-S WMI
This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Hyper​V Cloud Select name of the Hyper​V Cloud in this system hyperv​Account​Identity Y
Select Storage Provider Type Select the Storage Provider Protocol gen_​text_​input Y
Storage Provider Name Specify the name of the Storage Provider gen_​text_​input Y
Storage Provider Description Specify the description of the Storage Provider gen_​text_​input
Provider Ip Address or FQDN Specify the FQDN or IP Address of the Storage Provider gen_​text_​input Y
TCP/IP Port Specify the FQDN or IP Address of the Storage Provider gen_​text_​input
Storage Provider in untrusted Active Directory Domain Specify whether the Storage Provider in untrusted Active Directory Domain gen_​text_​input
Select Run As Account Select the Run As Account to perform the operation hyperv​Run​As​Account​Identity Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​PROVIDER_​IDENTITY Storage Provider ID hyperv​Storage​Provider​Identity
OUTPUT_​STORAGE_​PROVIDER_​NAME Storage Provider Name gen_​text_​input

Add Hyper-V Storage to Host Group

Summary
Add storage pools and LUNs to a host group.
Description
This task adds storage pools and storage logical units (LUNs) to a host group. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Group Select the host group hyperv​Host​Group​Identity Y
Outputs
Output Description Type
OUTPUT_​HOST_​GROUP_​IDENTITY Host Group Identity hyperv​Host​Group​Identity
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity
OUTPUT_​STORAGE_​POOL_​IDENTITY Storage Pool Identity hyperv​Storage​Pool​Identity

Convert Hyper-V Cluster to CSV

Summary
Convert available storage to a cluster shared volume.
Description
This task converts available storage to a cluster shared volume. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the cluster to perform the action hyperv​Cluster​Identity Y
Select Volume Select the volume to be added to the cluster gen_​text_​input Y
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​CLUSTER_​NAME Cluster Name gen_​text_​input
OUTPUT_​HOST_​VOLUME_​NAME Host Volume Name gen_​text_​input
OUTPUT_​HOST_​VOLUME_​IDENTITY Host Volume Identity gen_​text_​input
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity

Convert Hyper-V Volume to Available Storage

Summary
Convert cluster shared volume to available storage volume.
Description
This task convert a cluster shared volume to an available storage volume. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the cluster to perform the action hyperv​Cluster​Identity Y
Select Volume Select the volume to be added to the cluster gen_​text_​input Y
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​CLUSTER_​NAME Cluster Name gen_​text_​input
OUTPUT_​HOST_​VOLUME_​NAME Host Volume Name gen_​text_​input
OUTPUT_​HOST_​VOLUME_​IDENTITY Host Volume Identity gen_​text_​input
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity

Create Hyper-V File Share

Summary
Create an SMB 3.0 File Share.
Description
This task creates an SMB 3.0 file share on a file server. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select File Server Select file server hyperv​File​Server​Identity Y
Name Enter name of the File Share gen_​text_​input Y
Description Enter description of the File Share gen_​text_​input
Local path Enter Local Path to be as File Share gen_​text_​input Y
Continuously available Select Continuously Available gen_​text_​input
Outputs
Output Description Type
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​STORAGE_​FILE_​SHARE_​NAME File Share Name gen_​text_​input
OUTPUT_​STORAGE_​FILE_​SERVER_​NAME File Server Name gen_​text_​input
OUTPUT_​STORAGE_​FILE_​SERVER_​ID File Server Identity hyperv​File​Server​Identity

Create Hyper-V ISCSI Session to Storage Array

Summary
Create an iSCSI session to an array.
Description
This task creates an ISCSI session from a host to a cluster. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Array Select the Storage Array hyperv​Storage​Array​Identity Y
Select Host Select the Host hyperv​Host Y
Outputs
Output Description Type
OUTPUT_​HOST_​IDENTITY Host Identity hyperv​Host
OUTPUT_​STORAGE_​ARRAY_​IDENTITY Storage Array Identity hyperv​Storage​Array​Identity

Create Hyper-V Storage Classification

Create Hyper-V Storage Logical Unit

Summary
Create a storage logical unit (LUN).
Description
This task creates a storage logical unit (LUN) on a storage pool. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Pool Select Storage Pool hyperv​Storage​Pool​Identity Y
Name Enter name of the LUN gen_​text_​input Y
Description Enter description of the LUN gen_​text_​input
Size(GB) Enter size in GB gen_​text_​input Y
Provisioning Type Create thin or fixed storage logical unit with capacity committed on demand hyperv​Lun​Provisioning​Type Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​LUN_​NAME LUN Name gen_​text_​input
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity
OUTPUT_​STORAGE_​POOL_​IDENTITY Storage Pool Identity hyperv​Storage​Pool​Identity
OUTPUT_​STORAGE_​ARRAY_​IDENTITY Storage Array Identity hyperv​Storage​Array​Identity

Delete Hyper-V Storage Classification

Summary
Delete a storage classification.
Description
This task deletes a storage classification. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Classification Select name of the Hyper​V Storage Classification in this system hyperv​Storage​Classification​Identity Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​CLASSIFICATION_​NAME Storage Classification Name gen_​text_​input
OUTPUT_​STORAGE_​CLASSIFICATION_​ID Storage Classification Identity hyperv​Storage​Classification​Identity

Delete Hyper-V Storage Logical Unit

Summary
Delete a LUN from a storage pool.
Description
This task deletes a LUN from a storage pool. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select LUN Select LUN hyperv​Storage​LUNIdentity Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​LUN_​NAME LUN Name gen_​text_​input
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity

Manage Hyper-V File Share

Summary
Manage an SMB 3.0 file share.
Description
This task manages an SMB 3.0 file share from a file server. File shares can be marked as managed or unmanaged. Only Managed shares can be used by the SCVMM for placement. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select File Share Select File Share hyperv​File​Share​Identity Y
File share managed by Virtual Machine Manager Check/Uncheck to manage File share by Virtual Machine Manager gen_​text_​input
Outputs
Output Description Type
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​STORAGE_​FILE_​SHARE_​NAME File Share Name gen_​text_​input
OUTPUT_​STORAGE_​FILE_​SERVER_​NAME File Server Name gen_​text_​input
OUTPUT_​STORAGE_​FILE_​SERVER_​ID File Server Identity hyperv​File​Server​Identity

Modify Hyper-V Storage Logical Unit

Summary
Modify a LUN.
Description
This task modifies the properties of a storage logical unit (LUN). This task is supported for following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Logical Unit Select Storage Logical Unit to be modified hyperv​Storage​LUNIdentity Y
Storage Logical Unit Name Specify the name of the Storage Logical Unit gen_​text_​input Y
Storage Logical Unit Description Specify the description of the Storage Logical Unit gen_​text_​input
Outputs
Output Description Type
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity

Modify Hyper-V Storage Pool

Summary
Modify a storage pool.
Description
This task modify the properties of a storage pool. This task is supported for following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Pool Select Storage Pool to be modified hyperv​Storage​Pool​Identity Y
Storage Pool Name Specify the name of the Storage Pool gen_​text_​input Y
Storage Pool Description Specify the description of the Storage Pool gen_​text_​input
Select Storage Classification Choose the classification to which the Storage Pool must be assigned hyperv​Storage​Classification​Identity Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​POOL_​IDENTITY Storage Pool Identity hyperv​Storage​Pool​Identity
OUTPUT_​STORAGE_​CLASSIFICATION_​ID Storage Classification Identity hyperv​Storage​Classification​Identity

Refresh Hyper-V Storage Provider

Summary
Refresh a storage provider.
Description
This task rescans and refreshes the selected storage provider. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Provider List of Storage Providers HYPERV_​STORAGE_​PROVIDER_​IDENTITY Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​PROVIDER_​IDENTITY Storage Provider ID hyperv​Storage​Provider​Identity
OUTPUT_​STORAGE_​PROVIDER_​NAME Storage Provider Name gen_​text_​input

Remove Hyper-V File Share

Summary
Delete an SMB 3.0 file share.
Description
This task deletes an SMB 3.0 file share from a file server. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select File Share Select File Share hyperv​File​Share​Identity Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​FILE_​SHARE_​NAME File Share Name gen_​text_​input
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​STORAGE_​FILE_​SERVER_​NAME File Server Name gen_​text_​input
OUTPUT_​STORAGE_​FILE_​SERVER_​ID File Server Identity hyperv​File​Server​Identity

Remove Hyper-V File Share from Cluster

Summary
Remove a file share from a cluster.
Description
This task removes a file share from a cluster. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the cluster to perform the action hyperv​Cluster​Identity Y
Select File Share Select the file share to remove hyperv​File​Share​Identity Y
Remove Permissions from Share Specify whether the permissions should be removed from the file share gen_​text_​input
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity

Remove Hyper-V File Share from Host

Summary
Remove afile share froma host.
Description
This task removes a file share from a host. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Select the host to perform the action hyperv​Host Y
Select File Share Select the file share to remove hyperv​File​Share​Identity Y
Remove Permissions from Share Specify whether the permissions should be removed from the file share gen_​text_​input
Outputs
Output Description Type
OUTPUT_​HOST_​IDENTITY Host Identity hyperv​Host
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity

Remove Hyper-V Storage Logical Unit from Cluster

Summary
Remove a LUN from a cluster.
Description
This task removes a storage logical unit (LUN) from a cluster. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the cluster to perform the action hyperv​Cluster​Identity Y
Select Available Storage Select the volume to be removed hyperv​Storage​LUNIdentity Y
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity

Remove Hyper-V Storage Logical Unit from Host

Summary
Remove a storage logical unit from a host.
Description
This task removes a storage logical unit (LUN) from a host. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Select the host to perform the action hyperv​Host Y
Select Host Disk Select the disk to be removed hyperv​Storage​LUNIdentity Y
Outputs
Output Description Type
OUTPUT_​HOST_​IDENTITY Host Identity hyperv​Host
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity

Remove Hyper-V Storage Provider

Summary
Remove a storage provider.
Description
This task removes any storage provider from the SCVMM. Applications and data present on them is undisturbed. This task is only supported for following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Storage Provider Remove Storage Provider HYPERV_​STORAGE_​PROVIDER_​IDENTITY Y
Outputs
Output Description Type
OUTPUT_​STORAGE_​PROVIDER_​IDENTITY Storage Provider ID hyperv​Storage​Provider​Identity
OUTPUT_​STORAGE_​PROVIDER_​NAME Storage Provider Name gen_​text_​input

Remove Hyper-V Storage from Host Group

Summary
Detach storage pools and LUNs from a host group.
Description
This task detaches storage pools and storage logical units (LUNs) from a host group. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Group Select the host group hyperv​Host​Group​Identity Y
Outputs
Output Description Type
OUTPUT_​HOST_​GROUP_​IDENTITY Host Group Identity hyperv​Host​Group​Identity
OUTPUT_​STORAGE_​LUN_​IDENTITY LUN Identity hyperv​Storage​LUNIdentity
OUTPUT_​STORAGE_​POOL_​IDENTITY Storage Pool Identity hyperv​Storage​Pool​Identity

Repair Hyper-V Cluster File Share

Summary
Repaira Hyper-V cluster file Share.
Description
This task repairs a file share connected to a cluster. Only managed file shares can be repaired. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Cluster Select the Cluster to perform the action hyperv​Cluster​Identity Y
Select File Share Select the file share to repair hyperv​File​Share​Identity Y
Outputs
Output Description Type
OUTPUT_​CLUSTER_​IDENTITY Cluster Identity hyperv​Cluster​Identity
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity

Repair Hyper-V Host File Share

Summary
Repair a host file share.
Description
This task repairs a file share connected to a host. Only managed file shares can be repaired. This task is supported for the following versions of SCVMM:
  • SCVMM 2012 R2
Inputs
Input Description Mappable To Type Mandatory
Select Host Select the Host to perform the action hyperv​Host Y
Select File Share Select the file share to repair hyperv​File​Share​Identity Y
Outputs
Output Description Type
OUTPUT_​HOST_​IDENTITY Host Identity hyperv​Host
OUTPUT_​STORAGE_​FILE_​SHARE_​ID File Share Identity hyperv​File​Share​Identity
OUTPUT_​DATASTORE_​IDENTITY Datastore Identity hyper​VDatastore​Identity