Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Understanding UPS / NMC / PowerChute Network Shutdown settings related to shutdown

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Understanding UPS / NMC / PowerChute Network Shutdown settings related to shutdown
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
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 Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
Teken
Spock Teken
109
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:44 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
7
3401
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:44 AM . Last Modified: ‎2024-03-13 01:27 AM

Understanding UPS / NMC / PowerChute Network Shutdown settings related to shutdown

I am trying to figure out how to configure settings related to running a shutdown script. They confuse me somewhat.

My basic setup is this:

One UPS (Smart-UPS RT 8000 RM XL) with an NMC protects several servers. Two of the servers (A and B) will have PowerChute Network Shutdown.

Server A needs to run a script, which basically shuts all other servers down. Server B just needs to shut itself down - but only after Server A has completed its script and shut itself down.

I cannot say precisely how long the script will take, but I can venture a guess that it will be 10-15 minutes. I will of course test this, but I cannot be sure that it will always take the same amount of time.

Because of this I would prefer if the script be triggered to run once mains power has been out for like 2 minutes. If it has been out for 2 minutes it is probably not coming back right away.

UPS usually reports about 25-26 minutes runtime remaining, so we should be in good shape for that goal.

I see these settings that I might need to adjust, but I am not sure how:

On the UPS NMC, there are many setting under "Configuration, Shutdown". I am confused as to which of these pertain to shutting down the UPS itself (this is not what I want - I think? Why would I want to turn the UPS itself off?) and which relate to shutting down servers through PowerChute Network Shutdown. 

I suspect that I need to at least look at these in UPC/NMC:

Low Battery Duration (currently set to 2 minutes)

Shutdown Delay (currently set to 20 seconds)

Maybe: Force Negotiation vs. 2 minutes

 

And these in the two different PowerChute Network Shutdown installations:

Shutdown Settings -> Run Command -> Duration

Do I need to enable Shutdown for any of the events in the Configure Events section?

Thanks!

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
  • Tags:
  • script
  • shutdown
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hi,

Log into the NMC via telnet and reboot the NMC (it will not reboot the UPS). You should then be able to log in.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 7
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hi,

If the script needs 15 minutes to run and the available runtime is only 25 – 26 minutes you will need to purchase an external battery pack to increase the available runtime. The reason is the low battery threshold on the UPS/NMC needs to be 2 minutes greater than the script delay. So if you set the low battery setting to 17 minutes Server B will being shutdown when the UPS drops below 17 minutes of available runtime and server A will still be powering down.

That is assuming the UPS actually has 25 minutes of run time available. With the delays set for server A the total time it will take for it to go down would be 2 minute on battery delay + 15 minute script delay + 2 minute (none configurable delay) + 3 minutes for OS to power down for a total of 21 minutes. That is assuming the OS only takes 3 minutes to power down.

BTW: The PowerChute help file has a diagram of how this works.

What I recommend is add an external battery pack then in PowerChute configure the event UPS on battery for server A and set the delay to 2 minutes. So when the UPS has been on battery for 2minutes a shutdown will start. 

Also on server A under Shutdown Setting enter the script you want to run and set the delay to 15 minutes for it to run. When the shutdown begins the script will run and the delay will be honored so the OS will not start to shutdown until the delay time has passed. 

For Server B configure it to start shutdown after the UPS has been on battery for 25 minutes based on the new available runtime and the need for server A to be completely power down.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hi Bill

Thank you for a quick and thorough reply. Permit me a few follow-ups anyway:

I hope to avoid buying extra capacity: I can tailor the script to run faster by forcing power-off of a number of non-critical virtual machines rather than shutting them down nicely. In addition, it just occurred to me that the estimated runtime is probably too conservative, since I would think it assumes constant load. But in reality, the load will be dropping quite quickly while the script is running as servers are being shut down. Towards the end only a few servers will be running. I can also improve the script to do more stuff in parallel.

Even so: I want to understand the reasoning behind your recommendations, since I am still somewhat confused.

First: Let’s say for arguments sake, that I followed your recommendations wrt. a battery pack. As I understand you, I would then only have to adjust settings in PowerChute, correct? Nothing in NMC? It makes sense to me, but I want to be sure.

Second: You say that I have too little time with my numbers, but wouldn’t I just about make it, if they hold true? 2 + 15 + 2 + 3 + 3 = 25. Like this:

2 minutes for low battery threshold

15 minutes for the script

2 minutes for non-configurable delay

3 minutes for server A to shut itself down

3 minutes for server B to shut itself down

Is this math correct?

And is your motivation for the external battery recommendation then based on the fact that I would be cutting it far too close for comfort (agreed)? Or is there another reason I am missing?

I need to know because I need to know how much time I have to shave off the script. And to understand if I am being completely unrealistic in what is possible.

Thanks!

Thomas

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hi,

On 7/29/2016 4:34 PM, Thomas said:

First: Let’s say for arguments sake, that I followed your recommendations wrt. a battery pack. As I understand you, I would then only have to adjust settings in PowerChute, correct? Nothing in NMC? It makes sense to me, but I want to be sure.

You should change the low battery threshold in the NMC to be 2 minutes greater than the total time needed to complete the shutdown. If you do not do that you will receive an error stating Available runtime has been exceeded. Assuming you do not configure shutdown for the warning in PowerChute nothing will happen other than the warning being present.

On 7/29/2016 4:34 PM, Thomas said:

Second: You say that I have too little time with my numbers, but wouldn’t I just about make it, if they hold true? 2 + 15 + 2 + 3 + 3 = 25. Like this:

With what I outlined above using the numbers for server A to power down 15+2+3 = 20 and add a buffer of 2 so the low battery threshold is recommended to be 22 minutes. That fits within the 25 minutes of available runtime. However, when the UPS hits low battery it report to PowerChute and PowerChute begins an immediate shutdown so when the UPS drops below 22 minutes of available runtime server B will be commanded down. To keep server B up while server A is powering down and running the script you could set the low battery setting at 5 minutes (3 minute OS shutdown and 2 extra minutes as a buffer). If you do this you will see the Available runtime has been exceeded error on server A . As long as you do not configure Shutdown for Runtime Exceeded on server A PowerChute will ignore the error. The error will be posted in the PowerChute event log on server A so users will have to ignore it also. 

Since server B will be commanded down when UPS hits low battery you do not need to configure anything in PowerChute on that server. As I said, once the UPS falls below the configured low battery threshold the NMC reports to all PowerChute clients that the battery is low and they start an immediate shutdown of the OS.

On 7/29/2016 4:34 PM, Thomas said:

But in reality, the load will be dropping quite quickly while the script is running as servers are being shut down. Towards the end only a few servers will be running.

You are correct. As the servers shutdown the runtime of the UPS will increase so if you do set the low battery threshold to 5 minutes you should be safe but the settings should be tested to be sure. 

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hello again

I never got around to getting this set up because I could not quite understand all of your advice. I am very new at this.

However: I have to get it done now since we have a planned power outage on Wednesday and we have decided to use the occasion as a test.

So can I ask you to be extremely clear about which settings I should configure how in NMC and in PowerChute Network Shutdown on the two servers where it is installed?

To reiterate:

Server A needs to run a script and then shut itself down. My present assumption is that the script will complete in 10-12 minutes.

Server B needs to shut itself down. No script. But it should delay as long as possible before initiating shutdown. It is not critical that Server B is live for as long as server A.

NMC lets me pick between 2 and 20 minutes for "low power duration". Please advise on a suitable value.

Please advise which event if any to configure in PowerChute on server A and B.

Please confirm that for server A I should configure a Run Command under Shutdown Settings in PowerChute and point this to my script.

Please advise which value to use for Duration under Run Command on Server A.

Do I need to do anything else?

I know that you originally advised on getting an external battery pack. Obviously I cannot do this now since I am under a tight deadline. So please take that into consideration in your answers. After the test on Wednesday I will know how long the script took and then I will make a decision on whether or not to get the battery pack.

Finally: I see a Windows Service on Server A named "PowerChute Network Shutdown Service", which runs as LocalSystem. Can I assume that my shutdown script will run under this account as well? Then I can grant permissions to that account on the network so that the script can shut down other servers.

  • Tags:
  • NMC
  • PowerChute
  • script
  • windows
Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hi,

The shutdown settings will depend on the UPS model and the NMC.  What model UPS do you have and what is the model and firmware revision of the network management card? 

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3399
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Smart-UPS RT 8000 RM XL

When I try to access the NMC webpage I get this message, which I have never seen before: "The maximum number of web connections has been reached."

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

0 Likes
0
3400
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:45 AM . Last Modified: ‎2024-03-13 01:27 AM

Hi,

Log into the NMC via telnet and reboot the NMC (it will not reboot the UPS). You should then be able to log in.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of