Configuring iSCSI Storage

vSphere supports software iSCSI, dependent hardware iSCSI, and independent hardware iSCSI. See
Configuring iSCSI Adapters and Storage
in the
vSphere Storage
documentation for a detailed discussion.
The following
HostStorageSystem
methods are available for iSCSI storage management.
  • Add a dynamic or static target.
    • AddInternetScsiSendTarget
      – Adds send target entries to the host bus adapter discovery list if the
      DiscoveryProperties.sendTargetsDiscoveryEnabled
      flag is set to true.
    • AddInternetScsiStaticTargets
      – Adds static target entries to the host bus adapter discovery list. The 
      DiscoveryProperty.staticTargetDiscoveryEnabled
      flag must be set to true.
  • Configure targets.
    • UpdateInternetScsiAdvancedOptions
      – Updates the advanced options that the iSCSI host bus adapter or the discovery addresses and targets associated with it.
    • UpdateInternetScsiAlias
      – Updates the alias of an iSCSI host bus adapter.
    • UpdateInternetScsiAuthenticationProperties
      – Updates the authentication properties for one or more targets or discovery addresses associated with an iSCSI host bus adapter.
    • UpdateInternetScsiDigestProperties
      – Updates the digest properties for the iSCSI host bus adapter or the discovery addresses and targets associated with it.
    • UpdateInternetScsiDiscoveryProperties
      – Updates the discovery properties for an iSCSI host bus adapter.
    • UpdateInternetScsiIPProperties
      – Updates the IP properties for an iSCSI host bus adapter.
    • UpdateInternetScsiName
      – Updates the name of an iSCSI host bus adapter.
    • UpdateSoftwareInternetScsiEnabled
      – Enables and disables software iSCSI in the VMkernel.
  • Remove a dynamic or static target.
    • RemoveInternetScsiSendTargets
      – Removes send target entries from the host bus adapter discovery list. The 
      DiscoveryProperty.sendTargetsDiscoveryEnabled
      must be set to true. If any of the targets provided as parameters are not found in the existing list, the other targets are removed and an exception is thrown.
    • RemoveInternetScsiStaticTargets
      – Remove static target entries from the host bus adapter discovery list. The 
      DiscoveryProperty.staticTargetDiscoveryEnabled
      must be set to true. If any of the targets provided as parameters are not found in the existing list, the other targets are removed and an exception is thrown.
iSCSI initiators and targets have unique, permanent iSCSI names and addresses. An iSCSI name correctly identifies a specific iSCSI initiator or target, regardless of physical location. Names must be in EUI or IQN format, as specified by the storage vendor’s hardware.