156
Script Commands
Remove Virtual Disk LUN Mapping
This command removes the logical unit number (LUN) mapping.
Syntax
remove (allVirtualDisks | virtualDisk
["
virtualDiskName
"] |
virtualDisks ["
virtualDiskName1" ...
"virtualDiskNamen"
] | accessVirtualDisk)
lunMapping (host="
hostName
" | hostGroup=
"
hostGroupName
")
Parameters
NOTE:
You must use the
host
and
hostGroup
parameters when specifying a
nonaccess virtual disk or an access virtual disk. The script engine ignores the
host
or
hostGroup
parameters when you use the
allVirtualDisks
or
virtualDisks
parameters.
Parameter
Description
allVirtualDisks
Removes the LUN mapping from all virtual disks.
virtualDisk or
virtualDisks
Name of the specific virtual disk to remove from the LUN
mapping. You can enter more than one virtual disk name. You
must put quotation marks (" ") and brackets ([ ]) around the
virtual disk name. The virtual disk name and quotation marks
must be inside the brackets.
accessVirtualDisk
Removes the access virtual disk.
NOTICE:
The host agent uses the access virtual disks to
communicate in-band with a storage array. If you remove
an access virtual disk mapping for a storage array from a
host that has an agent running on it, the storage
management software is no longer able to manage the
storage array through the in-band agent.
host
Name of the host to which the virtual disk is mapped. You
must put quotation marks (" ") around the host name.
hostGroup
Name of the host group that contains the host to which the
virtual disk is mapped. You must put quotation marks (" ")
around the host group name.
Summary of Contents for PowerVault MD3000i
Page 12: ...12 Contents ...
Page 42: ...42 About the Script Commands ...
Page 90: ...90 Using the Virtual Disk Copy Feature ...
Page 104: ...104 Maintaining a Storage Array ...
Page 222: ...222 Script Commands ...
Page 228: ...228 Sample Script Files ...
Page 236: ...236 Index ...