Node:Get Nodes

Search (SHIFT+S)




New in this release

Get Nodes

GET /vdc/nodes

Gets the data nodes that are currently configured in the cluster.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

List of data nodes in the cluster.

Field Description Type Notes
<nodes>
<node>     0-* Elements
<nodename> Node name String
<ip> Node IP address String
<nodeid> Node Id String
<rackId> Node rack Id String
<version> Node version String
<isLocal> Node is local Boolean
</node>      
</nodes>

Examples

Request
GET https://192.168.0.0:4443/vdc/nodes HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml 
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<nodes>
    <node>
        <ip>10.247.179.238:11001:20069:10901</ip>
        <id>1</id>
        <nodename>10.247.179.238:11001:20069:10901</nodename>
        <rackId></rackId>
    </node>
    <node>
        <ip>10.247.179.238:11002:20117:10902</ip>
        <id>2</id>
        <nodename>10.247.179.238:11002:20117:10902</nodename>
        <rackId></rackId>
    </node>
    <node>
        <ip>10.247.179.238:11003:20165:10903</ip>
        <id>3</id>
        <nodename>10.247.179.238:11003:20165:10903</nodename>
        <rackId></rackId>
    </node>
</nodes>
Notes: