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.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Hi, I am wondering if someone who knows their stuff about this software could assist me with a configuration issue I am having.
I have a SUA30002U unit.
UPS load is 41.6% with about 18 minutes runtime on the battery when fully charged.
What I am trying to acheive is the following.
Power goes out, UPS runs until there is about 10 minutes left on the battery, when this happens I wish for a graceful shutdown to proceed.
I have also configured the default cmd file to shutdown the other servers. This works because I have just run the cmd file by itself and it shut down the servers I wanted it too.
I have attached a image of the settings I currently have, from what I have read this should wait till 10 minutes left on battery and do what I want. What is happening, is the software is shutting down the server it is installed on and the other servers are not shutting down and then the UPS shuts off thus creating a hard shutdown !
Help !
Also before you ask - here is my cmd default.
@echo off
rem
rem Maximize for best viewing
rem This command file provides examples of proper command file syntax
rem
rem Command Files run by PowerChute Business Edition must be placed in this directory.
rem
rem Use the full path name of executable programs and external command files.
rem
rem The @START command must be used to run executable programs (see example below).
rem For the @START command, path names that include spaces must be enclosed in quotes;
rem arguments for the executable must be outside the quotes. A double quote must
rem precede the quoted path name. For example, to execute a command file in
rem c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles called myShut.exe,
rem the following line should be entered in the command file:
rem
rem @START "" "c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\myShut.exe"
rem
@echo on
shutdown -m \\ts-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\ts-02 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\vs-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\vs-02 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Hi, I am wondering if someone who knows their stuff about this software could assist me with a configuration issue I am having.
I have a SUA30002U unit.
UPS load is 41.6% with about 18 minutes runtime on the battery when fully charged.
What I am trying to acheive is the following.
Power goes out, UPS runs until there is about 10 minutes left on the battery, when this happens I wish for a graceful shutdown to proceed.
I have also configured the default cmd file to shutdown the other servers. This works because I have just run the cmd file by itself and it shut down the servers I wanted it too.
I have attached a image of the settings I currently have, from what I have read this should wait till 10 minutes left on battery and do what I want. What is happening, is the software is shutting down the server it is installed on and the other servers are not shutting down and then the UPS shuts off thus creating a hard shutdown !
Help !
Also before you ask - here is my cmd default.
@echo off
rem
rem Maximize for best viewing
rem This command file provides examples of proper command file syntax
rem
rem Command Files run by PowerChute Business Edition must be placed in this directory.
rem
rem Use the full path name of executable programs and external command files.
rem
rem The @START command must be used to run executable programs (see example below).
rem For the @START command, path names that include spaces must be enclosed in quotes;
rem arguments for the executable must be outside the quotes. A double quote must
rem precede the quoted path name. For example, to execute a command file in
rem c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles called myShut.exe,
rem the following line should be entered in the command file:
rem
rem @START "" "c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\myShut.exe"
rem
@echo on
shutdown -m \\ts-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\ts-02 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\vs-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\vs-02 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Hi
Am I wrong or isn't the shutdown command an executable?
if so, shouldn't the command read:
@START "" "c:\windows\system32\shutdown.exe" ts-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:1
??
It sais so right at the top of the sample file? 🙂
Regards
Tony
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
no one ? 😞
Called APC and well.. lets just say phone support isn't their strong point
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:41 PM . Last Modified: 2024-03-07 02:05 AM
Hi, I am wondering if someone who knows their stuff about this software could assist me with a configuration issue I am having.
I have a SUA30002U unit.
UPS load is 41.6% with about 18 minutes runtime on the battery when fully charged.
What I am trying to acheive is the following.
Power goes out, UPS runs until there is about 10 minutes left on the battery, when this happens I wish for a graceful shutdown to proceed.
I have also configured the default cmd file to shutdown the other servers. This works because I have just run the cmd file by itself and it shut down the servers I wanted it too.
I have attached a image of the settings I currently have, from what I have read this should wait till 10 minutes left on battery and do what I want. What is happening, is the software is shutting down the server it is installed on and the other servers are not shutting down and then the UPS shuts off thus creating a hard shutdown !
Help !
Also before you ask - here is my cmd default.
@echo off
rem
rem Maximize for best viewing
rem This command file provides examples of proper command file syntax
rem
rem Command Files run by PowerChute Business Edition must be placed in this directory.
rem
rem Use the full path name of executable programs and external command files.
rem
rem The @START command must be used to run executable programs (see example below).
rem For the @START command, path names that include spaces must be enclosed in quotes;
rem arguments for the executable must be outside the quotes. A double quote must
rem precede the quoted path name. For example, to execute a command file in
rem c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles called myShut.exe,
rem the following line should be entered in the command file:
rem
rem @START "" "c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\myShut.exe"
rem
@echo on
shutdown -m \\ts-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\ts-02 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\vs-01 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
shutdown -m \\vs-02 -s -f -c "Please log off and save all open work" -t 120 -d u:6:12
Link copied. Please paste this link to share this article on your social media post.
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.