Getting information about the WWN of an HBA (iSCSI name) of a specific server

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

The following request obtains information about the WWN of an HBA (or iSCSI name) of a specific server.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/simple/v1/objects/servers/object-ID/hbas/object-ID

Request message

Object ID

Combines multiple object IDs that are specified.

  • To specify the WWN of the HBA

    Specify the serverId value and the hbaWwn value, obtained by using the API function for getting information about the WWN of the HBA (iSCSI name), in the following format:

    serverId/hbas/hbaWwn

    Attribute

    Type

    Description

    serverId

    int

    (Required) Server ID

    hbaWwn

    string

    (Required) WWN of the HBA

  • To specify the iSCSI name

    Specify the serverId value and the iscsiName value, obtained by using the API function for getting information about the WWN of the HBA (iSCSI name), in the following format:

    serverId/hbas/iscsiName

    Attribute

    Type

    Description

    serverId

    int

    (Required) Server ID

    iscsiName

    string

    (Required) iSCSI name

Query parameters
None.
Body
None.

Response message

Body

The following is an example of the output when getting information about a server (ID 10) that is connected using Fibre Channel, and the WWN of the HBA is 000000102cceccc9:

{
  "serverId": 10,
  "hbaWwn": "000000102cceccc9",
  "portIds": [
    "CL1-A"
  ]
}

The following is an example of the output when getting information about a server (ID 11) that is connected using iSCSI, and that has the iSCSI name iqn.1994-05.com.redhat:496799ba93:

{
  "serverId": 11,
  "iscsiName": "iqn.1994-05.com.redhat:496799ba93",
  "portIds": [
    "CL1-B"
  ]
}

Attribute

Type

Description

serverId

int

Server ID

hbaWwn

string

WWN of the HBA

If you specified the WWN of the HBA, a valid value appears.

iscsiName

string

iSCSI name

If you specified the iSCSI name, a valid value appears.

portIds

string[]

List of port IDs of the assigned ports

Status codes

See HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X GET https://192.0.2.100/ConfigurationManager/simple/v1/objects/servers/10/hbas/000000102cceccc9