Start a Conversation

Unsolved

Closed

L

2 Posts

609

July 14th, 2023 04:00

VxRail configuration download,

Hi,

I am using vCenter 8 with VxRail 8 and when I click on vSAN cluster / configure, and then on VxRail / System, there is action button with "Download Configuration Data". When I click on it I can download configuration, but I want to be able to get this file without GUI, either with API or maybe some direct link.

As for the REST API, when I look into https://vxrailmgr01/rest/vxm/api-doc.htm there are different endpoints, i.e. for hosts, but non of it provide that much information as this one generated file, and some information is completely missing like "SoftwareProfile". 

Is there a way to get this file / information without GUI?

Thanks.
Ljubisa

1 Rookie

 • 

74 Posts

July 14th, 2023 07:00

Greetings,

The ability to download the VxRail JSON configuration file using the VxRail Manager plugin for vCenter became available in VxRail version 7.0.410. I cover the various techniques on how to download the file in my "How to download a VxRail's "Day 1" JSON Configuration file" post. 

There is no public VxRail API available that performs that function as of VxRail version 8.0.100. 

Please let me know specifically what details you are looking for; they might be available elsewhere. For example, if you want to deploy a VxRail, then the Day 1 JSON configuration file is what you need, but if you just need VxRail configuration data, there are alternatives available via the API/Ansible/PowerShell etc. 

 

Can’t get enough of my insufferable posts? Subscribe to VxRail Discussions!

Think I’m doing a borderline acceptable job? Give me Kudos or select Is Pro Tip.

Reply to add a compelling comment!

 

#NeedlessVxRailVerbosity

 

2 Posts

July 17th, 2023 05:00

Hi,

Basically I need to generate default configuration list on various parameters and compare that list to other servers/nodes. Something like audit. This configuration may not be the same as it was on Day-1.

I was hoping to get as much as possible information in one JSON file, so I don't have to search through many endpoints, then filter and combine results, and this VxRail GUI generated file looked like a good candidate.

SoftwareProfile from this GUI file is just one of many information we need to collect, but it is definitely something we need, and that I haven't found in Rest API or Ansible, but could be that I missed it. Ansible is the platform we use, so it is better if this can done with Ansible / API and not PowerShell. 

Thanks!

1 Rookie

 • 

74 Posts

July 17th, 2023 06:00

Greetings,

I am not aware of a single API endpoint path that has everything you are looking for; however, I suggest the four endpoint paths below are the most likely have what you are looking for. The endpoints paths below all have equivalent Ansible modules (chassis, hosts, cluster, system) in the "Ansible Modules for Dell EMC VxRail" (https://github.com/dell/ansible-vxrail/tree/master/docs). I suggest investigating the four APIs mentioned in the "VxRail API Onboard Documentation" first to see if they have what you're looking for, before progressing to Ansible.

"X" is the highest API version number available on your VxRail system. More recent versions of the "Ansible Modules for Dell EMC VxRail" default to the highest API version a given Ansible module supports. Suggested endpoint paths:

  • [Can loop through at host/node/chassis level]: /vX/hosts
  • [Can loop through at host/node/chassis level]: /vX/chassis
  • [Can loop through at host/node/chassis level]: /vX/cluster
  • [System level]: /vX/system

If you are interested in learning more about the VxRail API try the instructor led "Automation with VxRail" Instructor Session which I teach. We also have an on-demand "VxRail 7.0.XXX Feature - REST API" which provides more of an overview.

 

Can’t get enough of my insufferable posts? Subscribe to VxRail Discussions!

Think I’m doing a borderline acceptable job? Give me Kudos or select Is Pro Tip.

Reply to add a compelling comment!

 

#NeedlessVxRailVerbosity

No Events found!

Top