Unsolved

This post is more than 5 years old

40 Posts

4840

February 8th, 2013 13:00

How do I shutdown cluster in power outage

How do do a shutdown when unit goes onto UPS.  DO I need to write a script to do this from a monitoring PC or something like that?

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

February 8th, 2013 13:00

Under Cluster > Cluster Management ..there is an option to shutdown cluster

132 Posts

February 8th, 2013 13:00

If you want to automate this, then you would most likely want to do this via a script so that you don't need human interaction.  I would recommend setting up a SSH key pair between a machine that notices that power is on UPS and the cluster.  For additional security, I would recommend setting up sudo on the cluster.  But a short shell script that will do this follows:

cat << EOF | /usr/bin/isi config

shutdown all

yes

EOF

borninpa wrote:

How do do a shutdown when unit goes onto UPS.  DO I need to write a script to do this from a monitoring PC or something like that?

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

February 8th, 2013 14:00

I would rather be notified of UPS failure and manually initiate this shutdown process, imagine an RCA explaining a bug in the script that took everything offline. Oopss ☺

132 Posts

February 11th, 2013 12:00

Agreed.  Just providing a method.  However if you know your UPS battery is going to die in 10 minutes, I would rather have a graceful shutdown than a hard down.  Everyone has different needs.

dynamox wrote:

I would rather be notified of UPS failure and manually initiate this shutdown process, imagine an RCA explaining a bug in the script that took everything offline. Oopss ☺

No Events found!

Top