Skip to main content
Hitachi Vantara Knowledge

Get nodes

Retrieves nodes in a cluster.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/nodes
Return codes
Code Data Description
200 node Array of nodes retrieved successfully.
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
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/nodes
Response example
HTTP/1.1 200 OK
{
  "nodes": [
    {
      "UUID": "30ffa8ea-6a63-11d1-9001-040402000209",
      "firmwareVersion": "14.4.7322.04",
      "ipAddresses": [
        "172.27.141.148",
        "192.168.0.20",
        "10.97.48.1"
      ],
      "model": "G400",
      "name": "G400-442029-1",
      "nodeId": 1,
      "objectId": "313a3a3a3a3a3a303a3a3a4f49445f24232140255f56",
      "serial": "442029",
      "status": "ONLINE",
      "uptime": "6 hours 12 minutes 38 seconds",
      "uptimeInSeconds": 22358
    },
    {
      "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 13 minutes 29 seconds",
      "uptimeInSeconds": 22409
    }
  ]
}

 

  • Was this article helpful?