HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 68

Working with Virtual LUNs, VLUN Configuration and Enumeration Objects

Page 68 highlights

7 Working with Virtual LUNs This chapter describes the API operations you can perform on virtual logical unit numbers (VLUNs). A VLUN is a pairing between a virtual volume (VV) and a logical unit number (LUN), expressed as either a VLUN template or an active VLUN. A VLUN template sets up an association between a VV and one of the following combinations by establishing the export rule, the manner in which the volume is exported. If, when a VLUN template is created, the current system state meets the conditions established by the template, then active VLUNs-for example, exports that are seen as LUNs by the host-are the result. Depending on the conditions of the VLUN template, a single template can produce more than one active VLUN. The sections that follow describe the APIs to perform VLUN operations. VLUN Configuration and Enumeration Objects Several enumerations and configuration objects are used for managing VLUNs. These configuration objects are defined in this section. VLUN portPos Configuration Object The API server communicates port position as a portPos object, as defined in Table 64 (page 68). Table 64 VLUN portPos JSON Objects Members node slot cardPort JSON Type number number number API Type igint32 igint32 igint32 Description System node (0-7). PCI bus slot in the node (0-5). Port number on the FC card (0-4). VLUNtype Enumeration This component enumerates the type of VLUNs (VLUNType) assigned in the system, as defined in Table 65 (page 68). Table 65 VLUNType Enumeration Symbol EMPTY PORT HOST MATCHED_SET HOST_SET Value 1 2 3 4 5 Description Empty. Port. Host. Matched set. Host set. VLUN multipathing Enumeration The API server will communicate the multipathing configuration, enumerated as shown in Table 66 (page 69). 68 Working with Virtual LUNs

  • 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

7 Working with Virtual LUNs
This chapter describes the API operations you can perform on virtual logical unit numbers (VLUNs).
A VLUN is a pairing between a virtual volume (VV) and a logical unit number (LUN), expressed
as either a VLUN template or an active VLUN.
A VLUN template sets up an association between a VV and one of the following combinations by
establishing the export rule, the manner in which the volume is exported. If, when a VLUN template
is created, the current system state meets the conditions established by the template, then active
VLUNs—for example, exports that are seen as LUNs by the host—are the result. Depending on
the conditions of the VLUN template, a single template can produce more than one active VLUN.
The sections that follow describe the APIs to perform VLUN operations.
VLUN Configuration and Enumeration Objects
Several enumerations and configuration objects are used for managing VLUNs. These configuration
objects are defined in this section.
VLUN
portPos
Configuration Object
The API server communicates port position as a
portPos
object, as defined in
Table 64 (page
68)
.
Table 64 VLUN
portPos
JSON Objects
Description
API Type
JSON Type
Members
System node (0-7).
igint32
number
node
PCI bus slot in the node (0-5).
igint32
number
slot
Port number on the FC card (0-4).
igint32
number
cardPort
VLUNtype Enumeration
This component enumerates the type of VLUNs (
VLUNType
) assigned in the system, as defined in
Table 65 (page 68)
.
Table 65
VLUNType
Enumeration
Description
Value
Symbol
Empty.
1
EMPTY
Port.
2
PORT
Host.
3
HOST
Matched set.
4
MATCHED_SET
Host set.
5
HOST_SET
VLUN
multipathing
Enumeration
The API server will communicate the multipathing configuration, enumerated as shown in
Table 66 (page 69)
.
68
Working with Virtual LUNs