HostMultipathInfoLogicalUnit

HostMultipathInfoLogicalUnit
HostMultipathInfoLogicalUnit

The HostMultipathInfoLogicalUnit data object represents a storage entity that provides disk blocks to a host.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": "string",
    "id": "string",
    "lun": {
        "_typeName": "string",
        "deviceName": "string",
        "deviceType": "string",
        "key": "string",
        "uuid": "string",
        "descriptor": [
            {
                "_typeName": "string",
                "quality": "string",
                "id": "string"
            }
        ],
        "canonicalName": "string",
        "displayName": "string",
        "lunType": "string",
        "vendor": "string",
        "model": "string",
        "revision": "string",
        "scsiLevel": 0,
        "serialNumber": "string",
        "durableName": {
            "_typeName": "string",
            "namespace": "string",
            "namespaceId": 0,
            "data": [
                0
            ]
        },
        "alternateName": [
            {
                "_typeName": "string",
                "namespace": "string",
                "namespaceId": 0,
                "data": [
                    0
                ]
            }
        ],
        "standardInquiry": [
            0
        ],
        "queueDepth": 0,
        "operationalState": [
            "string"
        ],
        "capabilities": {
            "_typeName": "string",
            "updateDisplayNameSupported": false
        },
        "vStorageSupport": "string",
        "protocolEndpoint": false,
        "perenniallyReserved": false,
        "clusteredVmdkSupported": false,
        "applicationProtocol": "string",
        "dispersedNs": false,
        "deviceReservation": "string"
    },
    "path": [
        {
            "_typeName": "string",
            "key": "string",
            "name": "string",
            "pathState": "string",
            "state": "string",
            "isWorkingPath": false,
            "adapter": {
                "_typeName": "string",
                "key": "string",
                "device": "string",
                "bus": 0,
                "status": "string",
                "model": "string",
                "driver": "string",
                "pci": "string",
                "storageProtocol": "string"
            },
            "lun": "HostMultipathInfoLogicalUnit Object",
            "transport": {
                "_typeName": "string"
            }
        }
    ],
    "policy": {
        "_typeName": "string",
        "policy": "string"
    },
    "storageArrayTypePolicy": {
        "_typeName": "string",
        "policy": "string"
    }
}
string
key
Required

Linkable identifier.

string
id
Required

Identifier of LogicalUnit.

Use this id to configure LogicalUnit multipathing policy using SetMultipathLunPolicy.

lun
Required

The ScsiLun data object describes a SCSI logical unit.

A SCSI logical unit is a host device that an ESX Server or virtual machine can use for I/O operations.

An ESX Server creates SCSI logical unit objects to represent devices in the host configuration. (See the definition of ScsiLunTypeEnum for a list of the supported device types.) The vSphere API uses one of two object types to represent a SCSI logical unit, depending on the device type.

  • Disks containing file system volumes or parts of volumes for hosts or raw disks for virtual machines. To represent disks, the ESX Server creates a HostScsiDisk object, which inherits properties from the ScsiLun base class.
  • Other SCSI devices, for example SCSI passthrough devices for virtual machines. To represent one of these devices, the ESX Server creates a ScsiLun object.

When the Server creates a HostScsiDisk or ScsiLun object, it specifies a valid device name and type:

  • deviceName - A string representing the name of the device that is meaningful to the host. The following are some examples of device names.
            /dev/cdrom
            /vmkdev/vmhba0:0:1:0
            PhysicalDrive0
  • deviceType - A string describing the type of device. The following are some examples of device types.
            scsi-cdrom
            scsi-tape
            scsi-disk
            scsi-processor
            scsi-unknown
path
Required

Array of paths available to access this LogicalUnit.

policy
Required

The HostMultipathInfoLogicalUnitPolicy data object describes a path selection policy for a device.

This policy determines how paths should be utilized when accessing a device.

storageArrayTypePolicy
Optional

The HostMultipathInfoLogicalUnitStorageArrayTypePolicy data object describes a storage array type policy for for a device.

This policy determines how device I/O and management is performed.