HP 3PAR StoreServ 7400 4-node HP 3PAR Web Service API 1.2 Developer's - Page 69

VLUN failedPathPol Enumeration, Creating a VLUN, failedPathPol

Page 69 highlights

Table 66 VLUN multipathing Configuration Enumeration Symbol UNKNOWN ROUND_ROBIN FAILOVER Value 1 2 3 Description Unknown. Round Robin. Failover. VLUN failedPathPol Enumeration The API server will communicate the failed path monitoring method (failedPathPol) enumerated as shown in Table 67 (page 69). Table 67 VLUN failedPathPol Configuration Enumeration Symbol UNKNOWN SCSI_TEST_UNIT_READY INQUIRY READ_SECTOR0 Value 1 2 3 4 Description Unknown. SCSI test unit is ready. Inquiry. Read Sector 0. Creating a VLUN This section describes the HTTP request and response JSON object members for creating a VLUN template. NOTE: Any user with Super or Edit role, or any role granted the vlun_create right, can perform this operation. Create a VLUN using the HTTP POST method. Use the following URI: https://:8080/api/v1/vluns Table 68 (page 69) shows the JSON members that are sent in the request body that specifies the parameters for creating a VLUN template. To create a VLUN, the VolumeName and lun members are required. Either hostname or portPos (or both in the case of matched sets) is also required. The noVcn and overrideLowerPriority members are optional. The LUN number can also be signed by the system within the specified LUN range. In that case, you must specify a range. A range can be n+ (minimal n) or m-n (m to n). To support auto lun, the fields autoLun and maxAutoLun are now supported in the message body for VLUN creation. Table 68 Message Body JSON Objects for VLUN Template Request Member volumeName lun hostname portPos JSON Type string number string object API Type name31 igint32 name31 portPos Description Ignored Values Name of the volume to be None (required) exported. LUN ID. None (required) Name of the host which the None* (optional) volume is to be exported. System port of VLUN None* (optional) exported to. It includes node number, slot number, and card port number. Creating a VLUN 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 66 VLUN
multipathing
Configuration Enumeration
Description
Value
Symbol
Unknown.
1
UNKNOWN
Round Robin.
2
ROUND_ROBIN
Failover.
3
FAILOVER
VLUN
failedPathPol
Enumeration
The API server will communicate the failed path monitoring method (
failedPathPol
) enumerated
as shown in
Table 67 (page 69)
.
Table 67 VLUN
failedPathPol
Configuration Enumeration
Description
Value
Symbol
Unknown.
1
UNKNOWN
SCSI test unit is ready.
2
SCSI_TEST_UNIT_READY
Inquiry.
3
INQUIRY
Read Sector 0.
4
READ_SECTOR0
Creating a VLUN
This section describes the HTTP request and response JSON object members for creating a VLUN
template.
NOTE:
Any user with Super or Edit role, or any role granted the
vlun_create
right, can perform
this operation.
Create a VLUN using the HTTP POST method. Use the following URI:
https://
<storage system>
:8080/api/v1/vluns
Table 68 (page 69)
shows the JSON members that are sent in the request body that specifies the
parameters for creating a VLUN template.
To create a VLUN, the
VolumeName
and
lun
members are required. Either
hostname
or
portPos
(or both in the case of matched sets) is also required. The
noVcn
and
overrideLowerPriority
members are optional.
The LUN number can also be signed by the system within the specified LUN range. In that case,
you must specify a range. A range can be n+ (minimal n) or m–n (m to n). To support
auto lun
,
the fields
autoLun
and
maxAutoLun
are now supported in the message body for VLUN creation.
Table 68 Message Body JSON Objects for VLUN Template Request
Ignored Values
Description
API Type
JSON Type
Member
None (required)
Name of the volume to be
exported.
name31
string
volumeName
None (required)
LUN ID.
igint32
number
lun
None* (optional)
Name of the host which the
volume is to be exported.
name31
string
hostname
None* (optional)
System port of VLUN
exported to. It includes
portPos
object
portPos
node number, slot number,
and card port number.
Creating a VLUN
69