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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

PDU Scripted Port Shutdowns from UPS

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
  • PDU Scripted Port Shutdowns from UPS
Options
  • 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
111
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 . Last Modified: ‎2024-02-14 02:31 AM

0 Likes
4
3502
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

PDU Scripted Port Shutdowns from UPS

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

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

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

0 Likes
0
3502
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

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

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

Replies 4
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
Sisko

Posted: ‎2021-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

0 Likes
0
3502
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

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

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

rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

0 Likes
0
3502
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

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

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

rstellhorn_apc
Crewman rstellhorn_apc
Crewman

Posted: ‎2021-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

0 Likes
0
3503
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-07-29 11:02 PM . Last Modified: ‎2024-02-14 02:31 AM

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

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

ElectricAvenue
Crewman ElectricAvenue
Crewman

Posted: ‎2024-09-26 05:14 PM

0 Likes
0
1105
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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: ‎2024-09-26 05:14 PM

No ridicule — this is exactly what we need, what we specified and purchased DataCenterExpert for, and now I don't see how it can be done. And this isn't just a "nice-to-have" for us.

 

Replying to this 3 year-old thread, because it is the most (only?) accurate description of the issues we're encountering.

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