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

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

PCNS shutdown timing help

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
  • PCNS shutdown timing help
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
Teken
Spock Teken
117
Erasmus_apc
Sisko Erasmus_apc
112
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-30 02:20 AM . Last Modified: ‎2024-03-10 11:49 PM

0 Likes
5
1081
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:49 PM

PCNS shutdown timing help

Hey everyone, I've been kind of confused as to why this isn't functioning correctly. Any help you could provide would be greatly appreciated.

Here's my setup:
!http://i.imgur.com/eXELh.jpg!

Goal:
The goal of this setup is to provide redundant backup power to the five devices above. Each device has
its own place within a specific shutdown and startup order that needs to be followed:
Starting up: Fiber switch, SAN, DNS, SRV1 and SRV2
Shutting down: Virtual machines, SRV1 and SRV2, DNS, SAN, Fiber

Overview of shutdown sequence:
Building loses power. An event delay timer in each instance of PCNS starts counting down (PCNS is
installed on the DNS server and each VM). For testing, this was set to five minutes. The DNS server’s
delay is set to 7 minutes to ensure that the other servers have already started their shutdown sequence
before it starts its own. Once the event delay timer for the virtual machines has counted down, it
initiates a shutdown sequence. The virtual machines shutdown. By this time, the DNS server’s event
delay timer has counted down. The instance of PCNS running on the DNS server is set to run a script
before it shuts down. This script tells SRV1 and SRV2 to shutdown (This is safe to do since the VMs have
already shutdown). The script execution time is set to 240 seconds. After this time, the DNS server
should start its shutdown procedure. The instance of PCNS on the DNS server has been set to shutdown
the UPS units.

What happens correctly:
The virtual machines shutdown and the script run by the DNS PCNS runs and shuts down SRV1 and
SRV2.

What doesn’t happen correctly:
It seems that as soon as the virtual machines shutdown, a timer starts counting down on the LCD of the
UPS. The timer starts at around 300 seconds. When this timer reaches a time of around 150s, the DNS
server says PowerChute will start shutting the system down. The problem is that the UPS timer reaches
zero and turns off the power before the DNS server shuts down gracefully. I'm confused by this because
I've set the DNS server to shutdown the UPS units once it has been shutdown, but that is not what is happening.

I've worked on figuring this out for a few hours, read and reread the documentation regarding PCNS installation, setup for redundant power supplies, etc, but haven't come across anything that has helped me solve this.

Again, any help is greatly appreciated.

Thanks.

Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
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
voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

0 Likes
0
1081
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

Does the DNS server shuts down gracefully when you increase the script execution delay by 120s or so? I'm curious if we can consider that particular problem fixed.

>
I have the low-battery duration set to 10 minutes, but the battery life on each of my units is around 4 hours (they each have an extra battery pack), so I don't think the low-battery event is being initiated.

I've also checked on each NMC to see if load shedding has been enabled for any of the outlets, that doesn't appear to be the case.

Any other suggestions?
>

That's strange because if it's not the NMC and not PCNS... you wouldn't happen to have a device attached to the UPS via USB or Serial?

The NMC's event log might contain information on what initiated the shutdown. You could use wireshark on the NMC side examining traffic on the web port (by default 80) to determine if any PCNS devices are asking the NMC to start a shutdown. If you find anything on wireshark that you want to post here, attach the .pcap file.

See Answer In Context

Reply

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

Replies 5
voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:49 PM

0 Likes
0
1080
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:49 PM

>
What doesn’t happen correctly:
It seems that as soon as the virtual machines shutdown, a timer starts counting down on the LCD of the
UPS. The timer starts at around 300 seconds. When this timer reaches a time of around 150s, the DNS
server says PowerChute will start shutting the system down. The problem is that the UPS timer reaches
zero and turns off the power before the DNS server shuts down gracefully. I'm confused by this because
I've set the DNS server to shutdown the UPS units once it has been shutdown, but that is not what is happening.
>

Two suggestions:
- The VMs appear configured to shutdown the UPS once they have been shutdown. If that's the case, you can disable it. However, if the UPS doesn't shut down and power returns, your VMs will need to be started again some other way.
- The DNS server doesn't have enough time to shut down. If you're running PCNS 3.0, you probably want to add 120s to the script execution time for the DNS server and the VMs.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

0 Likes
0
1080
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

Hi, thanks for your feedback. I have checked the configuration of PCNS on the virtual machines and it is not set to power off either the outlet group or the UPS.

If I extend the run time of the script, won't that further delay the shutdown of the DNS server? Looking at the PCNS shutdown timeline in the documentation, it shows that the PCNS operating system should shut down after the script has executed. Is this not the case?

Reply

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

voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

0 Likes
0
1081
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

>
Hi, thanks for your feedback. I have checked the configuration of PCNS on the virtual machines and it is not set to power off either the outlet group or the UPS.
>

Okay. Two other possibilities:
1) Runtime has dropped below the low battery duration (shown under configure->shutdown on the NMC).
2) Load shedding has been configured for the outlet group.

>
If I extend the run time of the script, won't that further delay the shutdown of the DNS server? Looking at the PCNS shutdown timeline in the documentation, it shows that the PCNS operating system should shut down after the script has executed. Is this not the case?
>

The script execution time is part of the calculation of how long the computer needs to shut down. The UPS waits that long before turning off. I'm suggesting making it longer than the time the script actually needs to complete so that OS shutdown occurs well before the UPS turns off.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

0 Likes
0
1080
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

I have the low-battery duration set to 10 minutes, but the battery life on each of my units is around 4 hours (they each have an extra battery pack), so I don't think the low-battery event is being initiated.

I've also checked on each NMC to see if load shedding has been enabled for any of the outlets, that doesn't appear to be the case.

Any other suggestions?

Reply

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

voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

0 Likes
0
1082
  • 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-06-30 02:20 AM . Last Modified: ‎2024-03-10 11:48 PM

Does the DNS server shuts down gracefully when you increase the script execution delay by 120s or so? I'm curious if we can consider that particular problem fixed.

>
I have the low-battery duration set to 10 minutes, but the battery life on each of my units is around 4 hours (they each have an extra battery pack), so I don't think the low-battery event is being initiated.

I've also checked on each NMC to see if load shedding has been enabled for any of the outlets, that doesn't appear to be the case.

Any other suggestions?
>

That's strange because if it's not the NMC and not PCNS... you wouldn't happen to have a device attached to the UPS via USB or Serial?

The NMC's event log might contain information on what initiated the shutdown. You could use wireshark on the NMC side examining traffic on the web port (by default 80) to determine if any PCNS devices are asking the NMC to start a shutdown. If you find anything on wireshark that you want to post here, attach the .pcap file.

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