Get All Vdc Nodes Info
GET /vdc/nodes/geo
Gets all the data nodes across all vdcs.
Query Parameters
lockdown | {locked|unlocked|all} if set will also return the nodes status. |
skipGeoFailures | {true|false} skip vdcs that fail the geo call. Defaults to false. |
Required Roles
Requires one of the following roles:
SYSTEM_ADMIN
SYSTEM_MONITOR
NAMESPACE_ADMIN
SECURITY_ADMIN
Response Body
List of data nodes across all clusters.
Field |
Description |
Type |
Notes |
vdc_list |
|
|
|
Examples
Request
GET https://10.243.81.27:4443/vdc/nodes/geo 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"?>
<vdc_list>
<vdc>
<nodes>
<node>
<data2_ip>10.243.81.27</data2_ip>
<data_ip>10.243.81.27</data_ip>
<geo_ip>10.243.81.27</geo_ip>
<ip>10.243.81.27</ip>
<isLocal>false</isLocal>
<mgmt_ip>10.243.81.27</mgmt_ip>
<nodeid>1a063cd4-20ac-4229-b89e-ebda4e51c73f</nodeid>
<nodename>lehi-cobalt.ecs.lab.emc.com</nodename>
<private_ip>169.254.27.7</private_ip>
<rackId>cobalt</rackId>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
<node>
<data2_ip>10.243.81.26</data2_ip>
<data_ip>10.243.81.26</data_ip>
<geo_ip>10.243.81.26</geo_ip>
<ip>10.243.81.26</ip>
<isLocal>false</isLocal>
<mgmt_ip>10.243.81.26</mgmt_ip>
<nodeid>67b24822-ef42-4669-a304-8e1b12523d25</nodeid>
<nodename>logan-cobalt.ecs.lab.emc.com</nodename>
<private_ip>169.254.27.6</private_ip>
<rackId>cobalt</rackId>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
</nodes>
<vdc_name>vdccobalt</vdc_name>
</vdc>
<vdc>
<nodes>
<node>
<data2_ip></data2_ip>
<data_ip></data_ip>
<geo_ip></geo_ip>
<ip>10.243.81.42</ip>
<isLocal>false</isLocal>
<mgmt_ip></mgmt_ip>
<nodeid>0fe38e0e-579f-4b37-810b-21c21bb13675</nodeid>
<nodename>sandy-dandelion.ecs.lab.emc.com</nodename>
<private_ip></private_ip>
<rackId>dandelion</rackId>
<status>unavaliable</status>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
<node>
<data2_ip></data2_ip>
<data_ip></data_ip>
<geo_ip></geo_ip>
<ip>10.243.81.45</ip>
<isLocal>false</isLocal>
<mgmt_ip></mgmt_ip>
<nodeid>5a2be5d5-7bd5-422b-ad87-cdc16dc35584</nodeid>
<nodename>layton-dandelion.ecs.lab.emc.com</nodename>
<private_ip></private_ip>
<rackId>dandelion</rackId>
<status>unavaliable</status>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
</nodes>
<vdc_name>vdcdandelion</vdc_name>
</vdc>
</vdc_list>
Request
GET https://10.249.252.96:4443/vdc/nodes/geo.json HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"vdcs": [
{
"vdc_name": "vdclily",
"nodes": [
{
"rackId": "lily",
"version": "3.4.0.0.110753.r92ab3d5d302",
"isLocal": true,
"ip": "10.249.252.96",
"nodename": "vipr-host-10_249_252_96",
"mgmt_ip": "10.249.252.96",
"geo_ip": "10.249.252.96",
"data_ip": "10.249.252.96",
"private_ip": "172.25.252.96",
"nodeid": "67b24822-ef42-4669-a304-8e1b125c3751",
"data2_ip": "10.249.252.96"
},
{
"rackId": "lily",
"version": "3.4.0.0.110753.r92ab3d5d302",
"isLocal": false,
"ip": "10.249.252.97",
"nodename": "vipr-host-10_249_252_97",
"mgmt_ip": "10.249.252.97",
"geo_ip": "10.249.252.97",
"data_ip": "10.249.252.97",
"private_ip": "172.25.252.97",
"nodeid": "67b24822-ef42-4669-a304-8e1b27823d71",
"data2_ip": "10.249.252.97"
}
]
},
{
"vdc_name": "vdcrose",
"nodes": [
{
"rackId": "rose",
"version": "3.4.0.0.110753.r92ab3d5d302",
"isLocal": false,
"ip": "10.249.252.98",
"nodename": "vipr-host-10_249_252_98",
"mgmt_ip": "",
"geo_ip": "",
"data_ip": "",
"private_ip": "",
"nodeid": "67b24822-ef42-4669-a304-8e1b12523d25",
"data2_ip": ""
}
]
}
]
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/vdc/nodes/geo
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdc_list>
<vdc>
<nodes>
<node>
<data2_ip>10.243.81.27</data2_ip>
<data_ip>10.243.81.27</data_ip>
<geo_ip>10.243.81.27</geo_ip>
<ip>10.243.81.27</ip>
<isLocal>false</isLocal>
<mgmt_ip>10.243.81.27</mgmt_ip>
<nodeid>1a063cd4-20ac-4229-b89e-ebda4e51c73f</nodeid>
<nodename>lehi-cobalt.ecs.lab.emc.com</nodename>
<private_ip>169.254.27.7</private_ip>
<rackId>cobalt</rackId>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
<node>
<data2_ip>10.243.81.26</data2_ip>
<data_ip>10.243.81.26</data_ip>
<geo_ip>10.243.81.26</geo_ip>
<ip>10.243.81.26</ip>
<isLocal>false</isLocal>
<mgmt_ip>10.243.81.26</mgmt_ip>
<nodeid>67b24822-ef42-4669-a304-8e1b12523d25</nodeid>
<nodename>logan-cobalt.ecs.lab.emc.com</nodename>
<private_ip>169.254.27.6</private_ip>
<rackId>cobalt</rackId>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
</nodes>
<vdc_name>vdccobalt</vdc_name>
</vdc>
<vdc>
<nodes>
<node>
<data2_ip></data2_ip>
<data_ip></data_ip>
<geo_ip></geo_ip>
<ip>10.243.81.42</ip>
<isLocal>false</isLocal>
<mgmt_ip></mgmt_ip>
<nodeid>0fe38e0e-579f-4b37-810b-21c21bb13675</nodeid>
<nodename>sandy-dandelion.ecs.lab.emc.com</nodename>
<private_ip></private_ip>
<rackId>dandelion</rackId>
<status>unavaliable</status>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
<node>
<data2_ip></data2_ip>
<data_ip></data_ip>
<geo_ip></geo_ip>
<ip>10.243.81.45</ip>
<isLocal>false</isLocal>
<mgmt_ip></mgmt_ip>
<nodeid>5a2be5d5-7bd5-422b-ad87-cdc16dc35584</nodeid>
<nodename>layton-dandelion.ecs.lab.emc.com</nodename>
<private_ip></private_ip>
<rackId>dandelion</rackId>
<status>unavaliable</status>
<version>3.4.0.0.110633.c52b1e5</version>
</node>
</nodes>
<vdc_name>vdcdandelion</vdc_name>
</vdc>
</vdc_list>