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

PowerChute Bussines Edition Shutdown ONLY BEFORE to run the command.

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
  • PowerChute Bussines Edition Shutdown ONLY BEFORE to run the command.
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
germanach_apc
germanach_apc
Cadet

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

PowerChute Bussines Edition Shutdown ONLY BEFORE to run the command.

This was originally posted on APC forums on 11/19/2015


Hi.

I have 3 APC Smart UPS RC 3000 without Ethernet adapter. Only serial cable connected to different Windows 2003 and 2008 servers. PowerChute Bussines Edition.

If i right click the host under Hostname list, then Properties... Apears Device Properties windows for that host UPS.

Then i click the + Server Shutdown (left side list) and Shutdown Sequence.

After that i click Configure Shutdown Sequence (the blue link in the right panel under the list).

Mark Command File box and press Next button.

Select the default.cmd, that i have edited with my script content that works OK. (pressed Test button). After that i press Next.

And here it comes the problem: I can t figure out how to put FIRST the command to run the command BEFORE the system shutdown. It's impossible. I can' t understand how the programmer think that you can run a .cmd script IF THE SYSTEM IS ALREADY SHUTTING DOWN!!! The cmd shoud run in FIRST place, the system shut down in SECOND!

¿Can you explain to me how to revert the order?

Cheers!

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
  • Tags:
  • before
  • command
  • first
  • PowerChute
  • shutdown
Reply
Share
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

This reply was originally posted by Bill on APC forums on 2/9/2016


Hi,

Changes were made to versions that work with Microlink Smart-UPS i.e. SMT, SMX, SRT, SMC that allows for a greater number.

See Answer In Context

Reply
Share
Replies 5
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

This reply was originally posted by Bill on APC forums on 11/19/2015


Hi,

PowerChute is written to run the command file prior to the OS shutdown. I pulled the information below from the help file that explains how to adjust the delays and duration. The delay is the time PowerChute will wait before running the command or starting the shutdown. The duration is the amount of time that it will take to execute. Example if you set a delay of 2 minutes and a duration of 3 minute to run a command file PowerChute will wait 2 minutes after an event and then run the command file. IT will then wait 3 minutes before starting the OS shutdown. 

Shutdown Sequence

When a shutdown commences, the following occurs:

  • After its configured delay time, any specified command file is executed.
    After their individually configured delay times, any selected applications are shut down.
  • After its configured delay time, the OS begins to shut down.
  • After the time for shutting down the OS expires, the UPS continues its countdown before turning itself off.

Configure Shutdown Sequence

Configure Shutdown Sequence

Clicking on the Configure Shutdown Sequence underlined text in the Shutdown Sequence dialog box starts a wizard. The wizard enables you to specify command files and set times for their execution and to specify any installed applications to shut down.

You can also set OS shutdown delay and duration times.

At the first dialog box, you can select from among those applications installed on your system.

In the next dialog box, you can select one command file to be run prior to a shutdown. 

If you have selected the Siebel application, the following two dialog boxes ask for a logon user name and password and also the path to the Enterprise and Gateway servers.

The next dialog box in the wizard enables you to set the time delays and durations to be used during a shutdown.

How to Set the Delay and Duration Times

You can configure delay and duration times for individual command files, and application or OS shutdowns. Each horizontal line in the graph is labeled on the left, for example, Command File, Siebel, SQL, OS.

Note: The scale of this diagram varies according to the runtime of your UPS. For example, if runtime is low you can’t set long delay or duration times.

To set a delay time for any one of these, place your mouse over the rectangular box until it becomes a hand and finger icon and drag it to the right or left. Alternatively, after clicking on the box, you can use the Delay field on the lower left to set the exact number of minutes.

To set a duration time, place your mouse over the left or right edge of the rectangular box until it becomes a double-arrow icon and drag to the left or right. Alternatively, after clicking on the box, you can use the Duration field on the lower right to set the exact number of minutes.

You can experiment by clicking and dragging and seeing how the times change in the Delay and Duration fields. Click Cancel to start the wizard again at any time.

Note:
The shutdown of the operating system cannot begin until the times set for the command files and all applications have expired. That is, you cannot set the delay time for the OS shutdown to be less than the combined delay and duration for any single command file or application.
OS delay >= command file or application delay+command file or application duration.
Caution: Do not set a time reaching the red block on the far right of the graph. Doing this might mean that all the operations and shutdowns could not be performed properly. A warning message displays in the red block if a set time reaches it.

Reply
Share
vicklein_apc
Crewman vicklein_apc
Crewman

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

This was originally posted on APC forums on 2/4/2016


On 11/19/2015 9:10 AM, Bill said:

Hi,

PowerChute is written to run the command file prior to the OS shutdown. I pulled the information below from the help file that explains how to adjust the delays and duration. The delay is the time PowerChute will wait before running the command or starting the shutdown. The duration is the amount of time that it will take to execute. Example if you set a delay of 2 minutes and a duration of 3 minute to run a command file PowerChute will wait 2 minutes after an event and then run the command file. IT will then wait 3 minutes before starting the OS shutdown. 

Shutdown Sequence

When a shutdown commences, the following occurs:

  • After its configured delay time, any specified command file is executed.
    After their individually configured delay times, any selected applications are shut down.
  • After its configured delay time, the OS begins to shut down.
  • After the time for shutting down the OS expires, the UPS continues its countdown before turning itself off.

Configure Shutdown Sequence

Configure Shutdown Sequence

Clicking on the Configure Shutdown Sequence underlined text in the Shutdown Sequence dialog box starts a wizard. The wizard enables you to specify command files and set times for their execution and to specify any installed applications to shut down.

You can also set OS shutdown delay and duration times.

At the first dialog box, you can select from among those applications installed on your system.

In the next dialog box, you can select one command file to be run prior to a shutdown. 

If you have selected the Siebel application, the following two dialog boxes ask for a logon user name and password and also the path to the Enterprise and Gateway servers.

The next dialog box in the wizard enables you to set the time delays and durations to be used during a shutdown.

How to Set the Delay and Duration Times

You can configure delay and duration times for individual command files, and application or OS shutdowns. Each horizontal line in the graph is labeled on the left, for example, Command File, Siebel, SQL, OS.

Note: The scale of this diagram varies according to the runtime of your UPS. For example, if runtime is low you can’t set long delay or duration times.

To set a delay time for any one of these, place your mouse over the rectangular box until it becomes a hand and finger icon and drag it to the right or left. Alternatively, after clicking on the box, you can use the Delay field on the lower left to set the exact number of minutes.

To set a duration time, place your mouse over the left or right edge of the rectangular box until it becomes a double-arrow icon and drag to the left or right. Alternatively, after clicking on the box, you can use the Duration field on the lower right to set the exact number of minutes.

You can experiment by clicking and dragging and seeing how the times change in the Delay and Duration fields. Click Cancel to start the wizard again at any time.

Note:
The shutdown of the operating system cannot begin until the times set for the command files and all applications have expired. That is, you cannot set the delay time for the OS shutdown to be less than the combined delay and duration for any single command file or application.
OS delay >= command file or application delay+command file or application duration.
Caution: Do not set a time reaching the red block on the far right of the graph. Doing this might mean that all the operations and shutdowns could not be performed properly. A warning message displays in the red block if a set time reaches it.

Hi Bill

Thank you for all of the support you give to us here at apc forums

In the post above you indicated that "Note: The scale of this diagram varies according to the runtime of your UPS. For example, if runtime is low you can’t set long delay or duration times."

In my environment i can not set the delay value from the console for running the command file past 52 min even though i have 116 min

 

Attachments
Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

This reply was originally posted by Bill on APC forums on 2/8/2016


Hi,

The maximum allowable number is 60 minutes. The default OS duration is 3 minutes so the delay can be 57 minutes. The maximum allowable number for command files is 57 (56 for delay 1 minute duration) when the OS delay is set for 57 minutes and the OS duration is 3 minutes. If you push to the limits OS delay can be set for 60 minutes with a 20 second duration and command file delay can be set for 59 minutes with a 1 minute duration. However the OS delay will get set to zero and the duration will be set to 20 seconds.

If you want to keep the OS delay at 47 minutes then the command file delay and duration must not be greater that 47 minutes. 

Attachments
Reply
Share
vicklein_apc
Crewman vicklein_apc
Crewman

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

This was originally posted on APC forums on 2/8/2016


Hi Bill

Thanks for replying

So why is there a 60 min maximum time limit? I think it is a flaw because if you have 112 min of run time then you should be able to schedule the shutdown just before the runtime limit is reached. So in my case the ups will be just under 50% drained when the shutdown sequence is initiated.

 

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 01:53 AM

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

Posted: ‎2021-07-08 01:53 AM

This reply was originally posted by Bill on APC forums on 2/9/2016


Hi,

Changes were made to versions that work with Microlink Smart-UPS i.e. SMT, SMX, SRT, SMC that allows for a greater number.

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