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.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
I would like PCNS to run a post shutdown 'startup' script but only only after:
I cant use "Input Power Restored" , i believe, as this will fire after a few seconds of power outage (but no actual shutdown taking place)
I cant use run time remaining above threshold, i believe, as this event is constantly true under normal power conditions.
maybe i need my shutdown script to write out a flag "ShutdownHappened=1"
So that my startup script can query this flag
any ideas please? Can be PCNS do this more elegantly?
thanks
Nick
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
On 1/27/2017 10:22 PM, voidstar said:I think your proposal of writing a file in a shutdown script and checking its presence in a startup script is a good idea.
Thank you both, ill try this then.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
Hi,
PCNS runs command files prior to OS shutdown. See page 39 of the User's Guide. You can configure it to run commands for specific events but those would also be run prior to OS shutdown.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
I think your proposal of writing a file in a shutdown script and checking its presence in a startup script is a good idea.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 06:04 AM . Last Modified: 2024-03-13 12:04 AM
On 1/27/2017 10:22 PM, voidstar said:I think your proposal of writing a file in a shutdown script and checking its presence in a startup script is a good idea.
Thank you both, ill try this then.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.