VxRail 7.0 – ‘Discovered Node Info’ via API
The VxRail REST API provides a programmatic interface for performing VxRail administrative tasks. There are many ways to interact with the VxRail API functions, in this example I cover the Return […]
Virtualization & Storage
The VxRail REST API provides a programmatic interface for performing VxRail administrative tasks. There are many ways to interact with the VxRail API functions, in this example I cover the Return […]
The VxRail REST API provides a programmatic interface for performing VxRail administrative tasks. There are many ways to interact with the VxRail API functions, in this example I cover the Return nodes by auto discovery API function using 2 different methods:
This is a v2 version of this particular API function which is supported in 7.0.240+ and I’d like to highlight that this API provides new disk_group_config and storage_types objects in the return schema. This discovered node API function is run before initializing the VxRail nodes and provides a wealth of information about the nodes discovered.
From VxRail code version 7.0.350 we have migrated to a new interface based on spotlight with greater capabilities. To access the native API client navigate to the following URL replacing <VxM> with the VxRail Manager FQDN/IP (No need for a special API client):
Expanding ‘vxrail installation’ API function we click on ‘Return nodes by auto discovery’ and click ‘Send Request’:
API status Code 200 implies a successful operation. Note the red arrow below points at a copy config option which is useful:
API provides new disk_group_config and storage_types objects in the return schema:
Note:
Using a CURL cmd from a VxRail Manager SSH console:
curl -k --request GET \ -u https://192.2.0.10/rest/vxm/v2/system/initialize/nodes \ --header 'Authorization: Basic undefined' \ --header 'Content-Type: application/json' | json_pp
Reference Material:
Ramblings by Keith Lee
Discussions about all things VxRail.
Random Technology thoughts from an Irish Virtualization Geek (who enjoys saving the world in his spare time).
Musings of a VMware Cloud Geek
Converged and Hyper Converged Infrastructure
'Scamallach' - Gaelic for 'Cloudy' ...
Storing data and be awesome
Best Practices et al
Every Cloud Has a Tin Lining.