0% found this document useful (0 votes)
19 views5 pages

How To Check For SCSI Reservations Using REST API

This document provides a guide on checking SCSI reservations using the REST API for various Virtual Storage Platforms (VSP). It outlines the procedure for validating reservation status through specific GET requests, including options for querying multiple LUNs or a specific LUN. Additionally, it includes examples using Postman, Python, and Curl, along with relevant documentation references.

Uploaded by

mohadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views5 pages

How To Check For SCSI Reservations Using REST API

This document provides a guide on checking SCSI reservations using the REST API for various Virtual Storage Platforms (VSP). It outlines the procedure for validating reservation status through specific GET requests, including options for querying multiple LUNs or a specific LUN. Additionally, it includes examples using Postman, Python, and Curl, along with relevant documentation references.

Uploaded by

mohadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

How to Check for SCSI Reservations Using REST API

Content
Objective
How to check for SCSI reservations using REST API

Environment
 Platform REST API
 HM850
 VSP G/F350 G/F370 G/F700 G/F900
o VSP G350, G370, G700, G900
o VSP F350, F370, F700, F900
 Virtual Storage Platform (VSP) E Series
o VSP E590
o VSP E790
o VSP E990
o HM900
 No SVP
 Basic Authentication

Procedure
1. Use an account with sufficient privileges
2. Make sure to configure the appropriate headers for authentication
3. Validate the status of the reservation by viewing information about a LUN path
o Option 1 is to pass query parameters in the request
 This option can get information from multiple LUNs
 GET http://x.x.x.x/ConfigurationManager/v1/objects/luns?portId=CL1-
E&hostGroupNumber=1&isBasicLunInformation=false
o Option 2 is to pass the LUN information as an object in the request
 This option will get details about a specific LUN
 GET http://x.x.x.x/ConfigurationManager/v1/objects/luns/portId,hostGroupNumbe
r,lun
 Example: GET http://x.x.x.x/ConfigurationManager/v1/objects/luns/CL1-
E,1,0
4. Clear the SCSI reservation

Example From Postman

 Step 3 Option 1 is to use GET verb to see the host groups LUNs status
 Step 3 Option 2 is to use GET verb to see the specified LUNs status
Example From Python
 Step 3 Option 1 is to use GET verb to see the host groups LUNs status

 Step 3 Option 2 is to use GET verb to see the specified LUNs status

Example From Curl

 Step 3 Option 1 is to use GET verb to see the host groups LUNs status

 Step 3 Option 2 is to use GET verb to see the specified LUNs status
Documentation

The information above can be found in document id MK-94HM8050 "REST API Reference Guide"

Keywords
https://knowledge.hitachivantara.com/Knowledge/Storage/VSP_G130_GF350_GF370_GF700_GF900/How_to_Chec
k_for_SCSI_Reservations_Using_REST_API
Solution ID
240403050042029
Last Modified Date
09/03/2024 12:23:51 PM
Attributes
Page Privacy and Permission Assignment

 Page Privacy: Private


 Page Level Permissions: Employee; Service Partner; Customer; Knowledge Author; Knowledge Editor; IT;
eServices; Knowledge Draft
 Article: howto
 Pagetype: knowledgearticle

Taxonomy

 Storage > VSP G130 G/F350 G/F370 G/F700 G/F900

Collections

 Customer

Go to Original Solution

Upland RightAnswers Portal - Version 2024R2

You might also like