Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Success Stories Corner

PDU Scripted Port Shutdowns from UPS

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

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
  • Communities
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • PDU Scripted Port Shutdowns from UPS
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 Exchange 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
5022
voidstar_apc
Janeway voidstar_apc
195
Erasmus_apc
Sisko Erasmus_apc
111
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
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
rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM

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

Posted: ‎2021-07-29 11:02 PM

PDU Scripted Port Shutdowns from UPS

This was originally posted on APC forums on 5/13/2008


Hey all, I've got a quick question.

With a bit of coaxing, my company just acquired a new Symmetra 16kva ups to power our entire server room along with a bunch of AP7901 Switched Rack PDU's to replace a tonne of aging individual rack mount UPS's. I've got the whole thing up and running with the Power Chute Network Shutdown client installed on all of the servers, with the non-critical systems set to shutdown 10 minutes into an outage and the remaining few left to shutdown on the battery low event. The concept being that if power is out for 10 minutes, set the room up to keep the critical gear up for as long as possible. But, from lessons past, I know that the chances of systems actually powering themselves off after the shutdown are 50/50 at best, and there are a few embedded systems that don't support network shutdown at all, hence getting the switched PDU's.

I wanted the PDU's to automatically power down the ports associated with the low priority servers after the systems had a chance to gracefully shutdown to ensure they wouldn't keep using power when the shouldn't. I thought this would be a built in thing as everything is made by APC and where suggested to be used together by our rep. Alas, there was no automation like this to be found... at least by me.

One of my questions is... Am I blind, is there such a feature implemented in the depths of these devices?

Now, coming up empty handed hasn't really slowed me down, at least for a first pass implementation of my evil plan. I went and loaded the NetSNMP tool on one of the critical servers set to stay up as long as possible and created a couple of quick batch files to issue the proper commands. Namely, i created a shutdown script that issue snmp commands for delayed power off to the desired ports, and a power on script that would cancel any timed event (such as a delayed shutdown in progress) and issue a power all on command to the PDU's (to turn back on anything that had been shut off). I then went into the Power Chute Network Shutdown interface loaded on that server and set it to run the startup script on line power restore (with a delay of 2 minutes), and the shutdown command on running on battery (with a delay of 10 minutes). And, finally the last step of setting the delay times on each port in the pdu interfaces to allow the servers time to shut down gracefully. I haven't had a chance to test these in their entirety yet, but i think they should do what I want... I hope.

Which leads me to my next questions. If the answer to my first question is no, then how has anyone else implemented this? I feel like I had to attack this a bit backwards, but it was the best i could do without having to write up a massively complex script to monitor snmp traps, etc...

Thoughts, questions, ridicule???

Thanks.

Robert

Labels
  • Labels:
  • Racks, Rack Accessories, & Cooling
  • Tags:
  • pdu
  • script
  • shutdown
  • snmp
  • symmetra
Reply
Share
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM

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

Posted: ‎2021-07-29 11:02 PM

This was originally posted on APC forums on 5/13/2008


Hey all, I've got a quick question.

With a bit of coaxing, my company just acquired a new Symmetra 16kva ups to power our entire server room along with a bunch of AP7901 Switched Rack PDU's to replace a tonne of aging individual rack mount UPS's. I've got the whole thing up and running with the Power Chute Network Shutdown client installed on all of the servers, with the non-critical systems set to shutdown 10 minutes into an outage and the remaining few left to shutdown on the battery low event. The concept being that if power is out for 10 minutes, set the room up to keep the critical gear up for as long as possible. But, from lessons past, I know that the chances of systems actually powering themselves off after the shutdown are 50/50 at best, and there are a few embedded systems that don't support network shutdown at all, hence getting the switched PDU's.

I wanted the PDU's to automatically power down the ports associated with the low priority servers after the systems had a chance to gracefully shutdown to ensure they wouldn't keep using power when the shouldn't. I thought this would be a built in thing as everything is made by APC and where suggested to be used together by our rep. Alas, there was no automation like this to be found... at least by me.

One of my questions is... Am I blind, is there such a feature implemented in the depths of these devices?

Now, coming up empty handed hasn't really slowed me down, at least for a first pass implementation of my evil plan. I went and loaded the NetSNMP tool on one of the critical servers set to stay up as long as possible and created a couple of quick batch files to issue the proper commands. Namely, i created a shutdown script that issue snmp commands for delayed power off to the desired ports, and a power on script that would cancel any timed event (such as a delayed shutdown in progress) and issue a power all on command to the PDU's (to turn back on anything that had been shut off). I then went into the Power Chute Network Shutdown interface loaded on that server and set it to run the startup script on line power restore (with a delay of 2 minutes), and the shutdown command on running on battery (with a delay of 10 minutes). And, finally the last step of setting the delay times on each port in the pdu interfaces to allow the servers time to shut down gracefully. I haven't had a chance to test these in their entirety yet, but i think they should do what I want... I hope.

Which leads me to my next questions. If the answer to my first question is no, then how has anyone else implemented this? I feel like I had to attack this a bit backwards, but it was the best i could do without having to write up a massively complex script to monitor snmp traps, etc...

Thoughts, questions, ridicule???

Thanks.

Robert

See Answer In Context

Reply
Share
Replies 3
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
Sisko

Posted: ‎2021-07-29 11:02 PM

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

Posted: ‎2021-07-29 11:02 PM

This was originally posted on APC forums on 5/14/2008


Other than creating a script, there is no feature to have the outlet turn off after the shutdown is complete. The PCNS communication is with the NMC installed in the UPS, therefore, the UPS has no idea that the PCNS Client's power source is a PDU. So long as the graceful shutdown occurs, that is all it is concerned with. However, I don't see how telling them to turn off after the server is off is going to benefit in the long run. The power draw of the PDU's outlet that's not powering anything would create such a minimal power draw from the overall draw off the UPS that your runtime would probably increase by 5 seconds at the most.

Reply
Share
rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM

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

Posted: ‎2021-07-29 11:02 PM

This was originally posted on APC forums on 5/14/2008


Ok, that's what I was thinking... but, it sure would be a nice feature to have.

As for the why question, well the reasoning is two fold.
-One, I want to make sure a mis-behaving system that either doesn't power off after doing a graceful shutdown or doesn't even respond to the network shutdown command gets shut off to preserve runtime.
-And, Two, in the normal network shutdown senerio, if the line power where to return after the shutdowns had completed but before the ups ran out of juice and shut itself down as well, the systems would never come back up as their psu's would of never lost power. But, this way, with the PDU cutting power to the system and then re-enabling the power on line power return, the system's would follow their automatic power-on after power loss settings and come back up.

I do agree with you tho, that a properly shutdown system would not really impact the runtime of the ups... I've just learned from previous emergencies that I just don't trust the systems to do the "Right Thing".

Reply
Share
rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM

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

Posted: ‎2021-07-29 11:02 PM

This was originally posted on APC forums on 5/13/2008


Hey all, I've got a quick question.

With a bit of coaxing, my company just acquired a new Symmetra 16kva ups to power our entire server room along with a bunch of AP7901 Switched Rack PDU's to replace a tonne of aging individual rack mount UPS's. I've got the whole thing up and running with the Power Chute Network Shutdown client installed on all of the servers, with the non-critical systems set to shutdown 10 minutes into an outage and the remaining few left to shutdown on the battery low event. The concept being that if power is out for 10 minutes, set the room up to keep the critical gear up for as long as possible. But, from lessons past, I know that the chances of systems actually powering themselves off after the shutdown are 50/50 at best, and there are a few embedded systems that don't support network shutdown at all, hence getting the switched PDU's.

I wanted the PDU's to automatically power down the ports associated with the low priority servers after the systems had a chance to gracefully shutdown to ensure they wouldn't keep using power when the shouldn't. I thought this would be a built in thing as everything is made by APC and where suggested to be used together by our rep. Alas, there was no automation like this to be found... at least by me.

One of my questions is... Am I blind, is there such a feature implemented in the depths of these devices?

Now, coming up empty handed hasn't really slowed me down, at least for a first pass implementation of my evil plan. I went and loaded the NetSNMP tool on one of the critical servers set to stay up as long as possible and created a couple of quick batch files to issue the proper commands. Namely, i created a shutdown script that issue snmp commands for delayed power off to the desired ports, and a power on script that would cancel any timed event (such as a delayed shutdown in progress) and issue a power all on command to the PDU's (to turn back on anything that had been shut off). I then went into the Power Chute Network Shutdown interface loaded on that server and set it to run the startup script on line power restore (with a delay of 2 minutes), and the shutdown command on running on battery (with a delay of 10 minutes). And, finally the last step of setting the delay times on each port in the pdu interfaces to allow the servers time to shut down gracefully. I haven't had a chance to test these in their entirety yet, but i think they should do what I want... I hope.

Which leads me to my next questions. If the answer to my first question is no, then how has anyone else implemented this? I feel like I had to attack this a bit backwards, but it was the best i could do without having to write up a massively complex script to monitor snmp traps, etc...

Thoughts, questions, ridicule???

Thanks.

Robert

Reply
Share
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc