The following request releases the
host reservation status of the LU mapped to a specified LU path. Use this API in situations when
the host reservation status on the LU could not be released when there is a failure due to a
problem on the host side.
Execution permission
Storage Administrator (System Resource Management)
Request line
POST base-URL/v1/objects/luns/object-ID/actions/release-lu-host-reserve/invoke
Request message
- Object ID
-
Specify the lunId value from the LU path information. You can also specify a combination of attribute values in the following format:
portId, hostGroupNumber, lun
Attribute
Type
Description
portId
string
(Required) Port number
hostGroupNumber
int
(Required) Host group number (target ID for an iSCSI port)
lun
int
(Required) LUN
Response message
Action template
None.
Status codes
For details on the status codes of the request for this operation, see the section explaining HTTP status codes.
Coding example
curl -v -H "Content-type:application/json" -H "Accept:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X POST https://192.0.2.100/ConfigurationManager/v1/objects/luns/CL1-A,1,0/actions/release-lu-host-reserve/invoke -d ""