ONTAP Hardware

Shutdown Netapp FAS with SSH Script

lissylucky
1,939 Views

Hi all,

 

we want to shutdown our netapp storage if battery on our USV is getting low.

Does anyone have a SSH script to perform this shutdown?

 

We have an APC UPS and want to configure it that it performs this script, after shuttding down all VM's and ESXi Hosts.

 

Many thanks! 

1 REPLY 1

andris
1,830 Views

Though it doesn't cover your exact scenario, this KB might be useful:

https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_perform_graceful_shutdown_and_power_up_of_all_ONTAP_nodes_in_a_...

The actual halt command is step 6.  If the UPS only covers an HA pair/chassis, you would specify the impacted nodes.

 

Since it's a script, a handy "set" option is to turn off confirmations. See:
http://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-991%2Fset.html

 

 

 

Public