HP 3PAR StoreServ 7450 2-node HP 3PAR Web Service API 1.2 Developer's - Page 75
All-VLUNs Query Example, volumeWWN: 60002AC020D017D
View all HP 3PAR StoreServ 7450 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 75 highlights
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