Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get a node

Retrieves detailed information about a node in a cluster. A node identifier identifies the node.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/nodes/{nodeId}
Parameters
Name Type Required Values Description
nodeId URI_PARAM Y string/number Specifies either a node object ID or an HNAS storage cluster node ID.
Return codes
Code Data Description
200 node Individual node information retrieved successfully.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example 1: Get node details using a node object ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/nodes/323a3a3a3a3a3a303a3a3a4f49445f24232140255f56
Request example 2: Get node details using an HNAS storage node ID
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/nodes/2
Response example: Both requests produce the same response
HTTP/1.1 200 OK
{
  "node": {
    "UUID": "5a5b6b70-6a63-11d1-9001-db629fad48b7",
    "firmwareVersion": "14.4.7322.04",
    "ipAddresses": [
      "172.27.141.149",
      "192.168.0.21",
      "10.97.52.1"
    ],
    "model": "G400",
    "name": "G400-442029-2",
    "nodeId": 2,
    "objectId": "323a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
    "serial": "442029",
    "status": "ONLINE",
    "uptime": "6 hours 15 minutes 29 seconds",
    "uptimeInSeconds": 22529
  }
}

 

  • Was this article helpful?