Powershell CDMLETS or REST API to get "Data Resiliency Status"

  • 4 October 2018
  • 1 reply

Hi All,
I'm looking for a way to easily identify the "Data Resiliency Status" from a cluster through scripts. So far, I found some of the CMDLETS and REST API GET commands but I don't find any specific way to determine the status like the homepage in the WEB GUI.

This is the REST API I use:

But I'm not sure if I'd have to make sure each of the reported values = 1 for status to be OK

Any ideas?

1 reply

Badge +1
I couldn't find a better way to do this when I had tried. I ended up building a loop that would go through each 'domainType' that is returned from: https://host:9440/PrismGateway/services/rest/v1/cluster/domain_fault_tolerance_status


and capture the "numberoffailurestolerable" for each componentType. The value needs to be greater than zero for the status to be OK (RF2= 1 and RF3 = 2).

I haven't gone much further than this with my check. Hopefully something better will be added to the next versions of the API.