EMC Unity - LUN Operations

This chapter contains the following sections:

EMC Unity - Create LUN

Summary
Create a new LUN on an EMC Unity array.
Description
This task creates a new LUN on an EMC Unity storage array. It is also the rollback task for Delete EMC Unity LUN. Host and Snapshot schedule association are optional. LUN can be associated to Host with three possible options, LUN, Snapshot, and LUN & Snapshots. You can provide HLU number for the LUN while creation only when host mapping is selected. If given HLU is already used on any of the selected Host, LUN creation will fail. For Access Type option, LUN and Snapshot, two HLU are required in comma separated value(eg 0,1). HLU should be between 0 and 16381. If hlu is not given, System will allocate next available HLU for the LUN. Input Format:
  • EMC Unity Account Name: podName@AccountName. For example: Vblock@Unity_Hybrid
  • EMC Unity Storage Pool: PodName@accountName@storagePoolName@storagePoolId. For example: Vblock@Unity_Hybrid@Pool1@pool_7
  • Name: Valid LUN Name - The following special characters are not allowed: " % & ' * + . / \ : ; < = > ? ^ @ | ,
  • Size: Size of the LUN. For example: 2
  • Capacity Units: The unit for the Size of the LUN. For example: 2GB,MB or TB
  • Description: Valid Description
  • Default Node: Select the Storage Processor
  • Thin: Check box- Indicates whether to enable thin provisioning for LUN
  • Snapshot Schedule: Select the schedule you to associate to LUN-Snapshot schedule settings for the LUN
  • Snapshot Schedule Paused: Check box- Indicates whether the Snapshot Schedule is paused or not
  • Access Hosts: podName@AccountName@hostName@hostID. For example: Vblock@Unity_Hybrid@TestHost@Host_1
  • Access Type: Possible values are LUN, Snapshot, LUN and Snapshot. Required only when Access Hosts input is selected
  • HLU: HLU number of LUN. Required only when Access Hosts input is selected
Inputs
Input Description Mappable To Type Mandatory
EMC Unity Account Name Select Account name EMCUnity​Account​Identity Y
Storage Pool Choose an EMC Unity storage pool for the LUN EMCUnity​Storage​Pool​Identity Y
Name Enter a name for the LUN.​ The following 19 special characters are not allowed: ", %, &, ', *, +, .​, /, \, :, ;, <, =, >, ?, ^, @, | and ," gen_​text_​input
Size Enter the size of the LUN gen_​text_​input Y
Capacity Units Choose a system capacity unit EMCUnity​Size​Unit Y
Description Enter a description for the LUN gen_​text_​input
Default Node Choose Storage Processor that owns the LUN EMCUnity​Storage​Processor​Identity
Thin Check thin to enable thin provisioning for the LUN Boolean
Snapshot Schedule Choose a snapshot schedule for the LUN.​ A snapshot schedule can be added or changed but cannot be removed from the LUN.​ EMCUnity​Snapshot​Schedule​Identity
Snapshot Schedule Paused Check to pause the snapshot schedule Boolean
Access Hosts Choose one or more hosts to provide with access to the LUN EMCUnity​Host​Identity
Access Type Choose an access type EMCUnity​Host​Lun​Access​Type
HLU Enter a unique host LUN ID gen_​text_​input
Outputs
Output Description Type
OUTPUT_​EMC_​UNITY_​ACCOUNT_​IDENTITY EMC Unity Account Identity.​ EMCUnity​Account​Identity
OUTPUT_​EMC_​UNITY_​STORAGE_​POOL_​IDENTITY EMC Unity Storage Pool Identity EMCUnity​Storage​Pool​Identity
OUTPUT_​EMC_​UNITY_​LUN_​IDENTITY EMC Unity LUN Identity EMCUnity​Lun​Identity
OUTPUT_​EMC_​UNITY_​HOST_​IDENTITY EMC Unity Host Identity.​ EMCUnity​Host​Identity
OUTPUT_​EMC_​UNITY_​HOST_​LUN_​IDENTITY EMC Unity Host LUN Identity EMCUnity​Host​Lun​Identity
OUTPUT_​LUN_​NAA_​ID LUN NAA ID Lun​Naa​Id
OUTPUT_​EMC_​UNITY_​HOST_​PRODUCTION_​LUN_​ID EMC Unity Host Production LUN HLU gen_​text_​input
OUTPUT_​EMC_​UNITY_​HOST_​SNAPSHOT_​LUN_​ID EMC Unity Host Snapshot LUN HLU gen_​text_​input

EMC Unity - Delete LUN

Summary
Delete a LUN from an EMC Unity array.
Description
This task deletes a LUN from an EMC Unity storage array. Delete EMC Unity LUN is also the rollback task for Create EMC Unity LUN. This task will fail, in case if selected LUN is mapped to Host or part of Consistency group. If any snapshots associated the LUN, select Force Snap Deletion option to delete Snapshot along with LUN. Input Format:
  • EMC Unity LUN: PodName@accountName@storagePoolName@storagePoolId@lunName@lunID. For example: Vblock@Unity_Hybrid@Pool1@pool_7@TestLUN@lun_7
  • Force Snap Deletion: Check box-Indicates whether to delete a LUN's snapshots along with LUN
Inputs
Input Description Mappable To Type Mandatory
EMC Unity LUN Choose an EMC Unity LUN to be deleted EMCUnity​Lun​Identity Y
Force Snap Deletion Check to force snapshot deletion Boolean
Outputs
No Outputs

EMC Unity - Map LUN

Summary
Map a LUN or consistency group to EMC Unity Hosts.
Description
This task maps one or more hosts to selected LUN or Consistency group. Map EMC Unity LUN is the rollback task for Unmap EMC Unity LUN. HLU input is optional. If given HLU is already used on any of the selected Host, this task will fail. For Access Type option, LUN and Snapshot, two HLUs are required in comma separated value(for example: 0,1). HLU should be between 0 and 16381. If HLU is not given, System allocates the next available HLU for the LUN. In case Consistency Group is selected, the system allocates the next available HLU for all the LUNs available in the selectecd Consistency group. HLU can be modified for each LUN-Host mapping using the Modify Host LUN ID task Input Format:
  • Storage Resource: Storage Resource can be either Consistency Group or LUN
  • EMC Unity Host: podName@AccountName@hostName@hostID. For example: Vblock@Unity_Hybrid@TestHost@Host_1
  • Consistency Group: podName@AccountName@consistencyGroupName@ConsistencyGroupID. For example: Vblock@Unity_Hybrid@TestCG@res_26
  • LUN: PodName@accountName@storagePoolName@storagePoolId@lunName@lunID. For example: Vblock@Unity_Hybrid@Pool1@pool_7@TestLUN@lun_7
  • Access Type: Possible values are LUN, Snapshot, LUN and Snapshot.
  • HLU: HLU number of LUN. Required only when for LUN Mapping not with Consistency Group option
Inputs
Input Description Mappable To Type Mandatory
Storage Resource Choose a storage resource type EMCUnity​Storage​Resource​Type Y
EMC Unity LUN Choose an EMC Unity LUN to map with the host EMCUnity​Lun​Identity Y
Consistency Group Choose an EMC Unity consistency group to map with the host EMCUnity​Consistency​Group​Identiry Y
EMC Unity Host Choose an EMC Unity host to map with the LUN EMCUnity​Host​Identity Y
Access Type Choose an access type EMCUnity​Host​Lun​Access​Type
HLU Enter a unique host LUN ID.​ If access type is LUN and Snapshot, provide two HLUs, comma-separated.​ The HLU must not be assigned to a LUN on the selected hosts.​ gen_​text_​input
Outputs
Output Description Type
OUTPUT_​EMC_​UNITY_​LUN_​IDENTITY EMC Unity LUN Identity EMCUnity​Lun​Identity
OUTPUT_​EMC_​UNITY_​CONSISTENCY_​GROUP_​IDENTITY EMC Unity Consistency Group Identity EMCUnity​Consistency​Group​Identiry
OUTPUT_​EMC_​UNITY_​HOST_​IDENTITY EMC Unity Host Identity.​ EMCUnity​Host​Identity
OUTPUT_​EMC_​UNITY_​ACCOUNT_​IDENTITY EMC Unity Account Identity.​ EMCUnity​Account​Identity
OUTPUT_​EMC_​UNITY_​HOST_​LUN_​IDENTITY EMC Unity Host LUN Identity EMCUnity​Host​Lun​Identity
OUTPUT_​LUN_​NAA_​ID LUN NAA ID Lun​Naa​Id
OUTPUT_​EMC_​UNITY_​HOST_​PRODUCTION_​LUN_​ID EMC Unity Host Production LUN HLU gen_​text_​input
OUTPUT_​EMC_​UNITY_​HOST_​SNAPSHOT_​LUN_​ID EMC Unity Host Snapshot LUN HLU gen_​text_​input

EMC Unity - Modify Host LUN ID

Summary
Modify an HLU for existing LUN on an EMC Unity array.
Description
This task modifies selected LUN HLU on an EMC Unity storage array. Please make sure that, new HLU is not is not used in same Host. HLU should be between 0 and 16381. Input Format:
  • EMC Unity Account Name: podName@AccountName. For example: Vblock@Unity_Hybrid
  • Host LUN: PodName@accountName@storagePoolName@storagePoolId@lunName@lunID@HostName@HostID@HLU@HostLUNId. For example: Vblock@Unity_Hybrid@Pool1@pool_7@TestLUN@lun_7@EXSI_H1@Host_6@10@Host_6_lun_7_prod
  • HLU: Enter unique HLU on the host. For example: 0
Inputs
Input Description Mappable To Type Mandatory
EMC Unity Account Name Select Account name EMCUnity​Account​Identity Y
Host LUN Choose one or more host LUNs to set the new HLU to.​ Selected LUNs should belong to same host.​ EMCUnity​Host​Lun​Identity Y
HLU Enter a unique HLU for the selected host LUN gen_​text_​input
Outputs
Output Description Type
OUTPUT_​EMC_​UNITY_​ACCOUNT_​IDENTITY EMC Unity Account Identity.​ EMCUnity​Account​Identity
OUTPUT_​EMC_​UNITY_​HOST_​IDENTITY EMC Unity Host Identity.​ EMCUnity​Host​Identity
OUTPUT_​EMC_​UNITY_​HOST_​LUN_​IDENTITY EMC Unity Host LUN Identity EMCUnity​Host​Lun​Identity
OUTPUT_​EMC_​UNITY_​LUN_​IDENTITY EMC Unity LUN Identity EMCUnity​Lun​Identity
OUTPUT_​EMC_​UNITY_​HOST_​LUN_​ID EMC Unity Host LUN Id gen_​text_​input

EMC Unity - Modify LUN

Summary
Modify a LUN on an EMC Unity Array.
Description
This task modifies an existing LUN on an EMC Unity array. Size, description and Snapshot schedule inputs can be modified. You can not reduce the LUN size using this task. Limitation: Snapshot Schedule can be added or changed but cannot be removed from the LUN Input Format:
  • EMC Unity Account Name: podName@AccountName. For example: Vblock@Unity_Hybrid
  • LUN: PodName@accountName@storagePoolName@storagePoolId@lunName@lunID. For example: Vblock@Unity_Hybrid@Pool1@pool_7@TestLUN@lun_7
  • Name: Valid LUN Name - The following special characters are not allowed: " % & ' * + . / \ : ; < = > ? ^ @ | ,
  • Size: Size of the LUN. For example: 2
  • Capacity Units: The unit for the Size of the LUN. For example: 2GB,MB or TB
  • Description: Valid Description
  • Snapshot Schedule: Select the schedule to associate to LUN-Snapshot schedule settings for the LUN
Inputs
Input Description Mappable To Type Mandatory
EMC Unity Account Name Select Account name EMCUnity​Account​Identity Y
LUN Select LUN to modify EMCUnity​Lun​Identity Y
Name Enter the name for the LUN.​ The following special characters are not allowed: ", %, &, ', *, +, .​, /, \, :, ;, <, =, >, ?, ^, @, | and ," gen_​text_​input
Size Enter a size for the LUN gen_​text_​input
Capacity Units Choose a system capacity unit EMCUnity​Size​Unit Y
Description Enter a description of the LUN gen_​text_​input
Snapshot Schedule.​ Snapshot Schedule can be added or changed but cannot be removed from the LUN Choose a snapshot schedule for the LUN.​ A snapshot schedule can be added or changed but cannot be removed from the LUN.​ EMCUnity​Snapshot​Schedule​Identity
Outputs
Output Description Type
OUTPUT_​EMC_​UNITY_​ACCOUNT_​IDENTITY EMC Unity Account Identity.​ EMCUnity​Account​Identity
OUTPUT_​EMC_​UNITY_​LUN_​IDENTITY EMC Unity LUN Identity EMCUnity​Lun​Identity

EMC Unity - Unmap LUN

Summary
Unmap EMC Unity hosts from the selected LUN or consistency group.
Description
This task unmaps one or more hosts from the selected LUN or consistency group. Input Format:
  • Storage Resource: Storage Resource can be either Consistency Group or LUN
  • EMC Unity Host: podName@AccountName@hostName@hostID. For example: Vblock@Unity_Hybrid@TestHost@Host_1
  • Consistency Group: podName@AccountName@consistencyGroupName@ConsistencyGroupID. For example: Vblock@Unity_Hybrid@TestCG@res_26
  • LUN: PodName@accountName@storagePoolName@storagePoolId@lunName@lunID. For example: Vblock@Unity_Hybrid@Pool1@pool_7@TestLUN@lun_7
Inputs
Input Description Mappable To Type Mandatory
Storage Resource Choose a storage resource type EMCUnity​Storage​Resource​Type Y
Consistency Group Select EMC Unity Consistency Group to modify EMCUnity​Consistency​Group​Identiry Y
EMC Unity LUN Choose an EMC Unity LUN to map with the host EMCUnity​Lun​Identity Y
EMC Unity Host Select EMC Unity Host to Unmap EMCUnity​Host​Identity Y
Outputs
Output Description Type
OUTPUT_​EMC_​UNITY_​LUN_​IDENTITY EMC Unity LUN Identity EMCUnity​Lun​Identity
OUTPUT_​EMC_​UNITY_​CONSISTENCY_​GROUP_​IDENTITY EMC Unity Consistency Group Identity EMCUnity​Consistency​Group​Identiry
OUTPUT_​EMC_​UNITY_​HOST_​IDENTITY EMC Unity Host Identity.​ EMCUnity​Host​Identity
OUTPUT_​EMC_​UNITY_​ACCOUNT_​IDENTITY EMC Unity Account Identity.​ EMCUnity​Account​Identity