3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.123
HideLUsFromStorageHardwareIDCollection (Removing Host-Sees VLUNs)
CIM API Programming Reference
5.15.0.2 CreateStorageHardwareID (Creating Host and Path)
This method creates a StorageHardwareID (host HBA WWN/iscsiBane) on a host, it creates
the association
TPD_MgmtServicesForStorageHWIDCollection between
TPD_StorageHardwareIDManagementService and the new TPD_StorageHardwareID.
This operation is similar to “
createhost <hostname> <wwn>” or “createhost –iscsi
<hostname> <iscsiName>
”. The host as specified in <hostname> must not have existed. If
the host already exists, use the method
AddHardwareIDsToCollection instead to add host
HBA WWN/iscsiName.
Table 5-64. StorageHardwareIDManagementService Methods and CLI Equivalents
Methods CLI Equivalence Comments
CreateStorageHardwareID createhost
hostname WWN
Only 1 host HBA
WWN/iscsiName
(
StorageID) can be
specified at a time for
CreateStorage
HardwareID
method.
DeleteStorageHardwareID removehost
hostname WWN
Only 1 host HBA
WWN/iscsiName
(
StorageID) can be
deleted at a time for
DeleteStorage
HardwareID
method.
CreateStorageHardwareIDCollection createhost
hostname [WWN …]
AddHardwareIDsToCollection createhost –add
hostname WWN…
StorageHardwareIDCollection.DeleteInstance removehost
hostname
Delete the entire host
and any path to the
host (
Storage
HardwareID
).