All-Vluns Query Example; All-Vluns Query Errors - HP 3PAR StoreServ 7200 2-node Manual

Hp 3par web service api 1.2 developer's guide (qr482-96192, june 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

All-VLUNs Query Example

The example lists all the VLUN templates or active VLUNs, including all active and template VLUNs
on the storage system:
HTTP Request
GET /api/v1/vluns HTTP/1.1
Host: storsys1.example.com:8080
Accept: application/json
Content-Type: application/json
X-HP3PAR-WSAPI-SessionKey: 2-33fe8891e288b34b3f914410e7cc7907-a93d1c50
HTTP Response
{"total": 2,
"members": [
{
"lun": 1,
"volumeName": "vol1.0",
"hostname": "host",
"remoteName": "10000000C978500E",
"portPos": {
"node": 0,
"slot": 4,
"cardPort": 1
},
"type": 4,
"volumeWWN": "60002AC0000000000000020D0000017D",
"multipathing": 1,
"failedPathPol": 1,
"failedPathInterval": 0,
"active": true
},
{
"lun": 10,
"volumeName": "vol1.0",
"portPos": {
"node": 0,
"slot": 4,
"cardPort": 1
},
"type": 4,
"volumeWWN": "60002AC0000000000000020D0000017D",
"multipathing": 1,
"failedPathPol": 1,
"failedPathInterval": 0,
"active": false
}
]
}

All-VLUNs Query Errors

Upon an unsuccessful query of all volumes, the INT_SERV_ERR might be returned. For details
about this error code, see
Table 5 (page
17). For generic API error codes, see
Table 5 (page
17).
Querying VLUNs
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents