Cloud Volumes ONTAP

Seeking for scripts/commands to shutdown CVO

heightsnj
2,062 Views

I know that there is an automated process in Cloud Manager I can schedule a shutdown. However, it only can allow me to shut down in several specific time windows. I wanted to have the flexibility to shut down in my own window and for hours I specified. 

 

Is there customized script or commands to allow me to shut down or bring up?

1 ACCEPTED SOLUTION

SeanLuce
1,985 Views

Yes, you can use the REST API: Resources (netapp.com)

 

This will allow you to incorporate a CURL command within your favorite scripting language to automate this process.

For example:

POST /azure/ha/working-environments/{workingEnvironmentId}/stop
POST /azure/ha/working-environments/{workingEnvironmentId}/start

 

 

 

View solution in original post

1 REPLY 1

SeanLuce
1,986 Views

Yes, you can use the REST API: Resources (netapp.com)

 

This will allow you to incorporate a CURL command within your favorite scripting language to automate this process.

For example:

POST /azure/ha/working-environments/{workingEnvironmentId}/stop
POST /azure/ha/working-environments/{workingEnvironmentId}/start

 

 

 

Public