Skip to main content

We've Moved!

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

Get preferred node for all virtual servers

Get the preferred cluster node for all file serving virtual servers, and the current node that hosts each virtual server.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/virtual-servers/preferred-node
Return codes
Code Data Description
200 preferredNodesPreferred node successfully retrieved for each virtual server.
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/virtual-servers/preferred-node
Response example
HTTP/1.1 200 OK
{
  "preferredNodes": [
    {
      "currentNodeId": 2,
      "preferredNodeId": 2,
      "virtualServerId": 1
    },
    {
      "currentNodeId": 2,
      "preferredNodeId": 2,
      "virtualServerId": 2
    },
    {
      "currentNodeId": 2,
      "preferredNodeId": 0,
      "virtualServerId": 3
    },
    {
      "currentNodeId": 2,
      "preferredNodeId": 0,
      "virtualServerId": 4
    }
  ]
}

 

  • Was this article helpful?