Script to run on Shutdown event and Gracefull shutdown done by PowerChute
APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-0101:05 AM. Last Modified: 2024-03-0602:09 AM
Script to run on Shutdown event and Gracefull shutdown done by PowerChute
Hi,
First , here is the hardware/software context
UPS= Symmetra LX 16000 + Network card ( firmware 267.509.I)
Client=Solaris 10 system + PowerChuteClient 2.2.4
I have set up the PowerChute to start a shutdown script to stop some application 60 sec after "UPS: On Battery" events.
So i have selected the action "Shutdown" for the event "UPS on Battery".
My question is : do i have to add a "halt" command at the end of my script to stop the OS or Powerchute should be able to manage that ?
I ask you that because a few days ago, we had a power failure. Everything ( UPS stop proecess) went well just because applications stop.
But in the log, i don't read the line i got from my other powerchute client running under Windows ( ie: Shutdown process started. Windows NT" )
And it is not so clear in the online documentation, because it look like PowerChute will perform the OS Shutdown, but it also look like the last action
of the script can do it also. ( if i look at the timegraph of online help of "shutdown section cf attached file)