ONTAP Rest API Discussions

Ansible loop info pull togethers

Rezk_Mekhael
1,209 Views

reboot multiple clusters

Since a reboot of a full cluster is actual node by node and i have to do  info pull to get all the nodes info.  Can i loop input pulls without overwrite the register?

 

Rezk Mekhael

 

 

 

1 REPLY 1

RobertBlackhart
1,202 Views

For Ansible specific questions, I recommend asking in the Slack channel: https://netapppub.slack.com/archives/C2LUVV33R. They will have better knowledge of the best way to do this with the Ansible modules.

 

As far as REST goes, I thin you should be able to reboot all of the nodes at one time with a request like this if you wanted to:

 

PATCH /api/cluster/nodes?name=*&action=reboot&allow_data_outage=true

Public