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!

SSH

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
  • SSH
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
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 11:09 AM . Last Modified: ‎2024-03-15 05:46 AM

0 Likes
3
2073
  • 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-28 11:09 AM . Last Modified: ‎2024-03-15 05:46 AM

SSH

Hello Everyone,

I have run into a problem that I cannot seem to solve, after quite some research and experimentation, I might add.  TL;DR at bottom.

I am trying to script a UPS shutdown for a specific time on my UPS's, so that should there be a break in power overnight, that the systems running are shut down, rather than continue running and deplete the batteries on the UPS's completely.  I am not running any outward facing services, so that is not a problem.

In detail, I would like the UPS's to do a graceful sleep or shutdown should there be a power outage between the hours of 10pm and 6am, otherwise the UPS simply needs to continue running until low battery, at which point it needs to power down all the machines and go to sleep.  The way in which I thought this would be possible is to put a script against the shutdown of PCNS on one machine that then instructs the UPS to shutdown.  But it seems the implementation of SSH is not working.  See link below from 2014.  Has this been corrected as yet?  It does not seem so as far as I can tell, since I am also getting the same event log response as the OP in the post linked below.

2020-04-17 22:15:19 administrator SCP CLI user 'administr...' logged out from 10.20.20.61.
 2020-04-17 22:15:19 administrator SSH/SCP: File transfer failed.
 2020-04-17 22:15:19 administrator SSH/SCP: File transfer started.
 2020-04-17 22:15:19 administrator SCP CLI user 'administr...' logged in from 10.20.20.61.

I looked at and tried to solve the problem with basic research on using snmp, but it seems like I would be using a massive hammer to put in a needle, complete overkill.

Refers
https://community.se.com/t5/APC-UPS-Data-Center-Enterprise/bd-p/datacenter-forum
Models in question specifically: SU1000INET, SURT1000XLI, both with AP9631 NMC2 cards
All Windows machines, numerous server 2019 as hyper-v hosts, the desktop machines Windows 10
PCNS on all machines.
Version   v6.8.0
Date       Jul 22 2019
Time       16:25:46

Has the problem highlighted in the OP of the link above been resolved?

Edited subject

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
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

0 Likes
0
2073
  • 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-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

Hello Bill,

Sometimes the most elegant solutions are the easiest to overlook.  Thank you very much.

I am testing it, cannot see any reason why it will not work.

My sincere thanks

Haig

See Answer In Context

Reply

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

Replies 3
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

0 Likes
0
2074
  • 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-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

Anyone have any thoughts on this?

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

0 Likes
0
2074
  • 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-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

Hi,

PowerChute Network Shutdown provides the ability to power off the OS and will command the UPS to power off once the OS has powered off. You do not need to write a script as the functionality is built into PowerChute. The one thing you would need to script is a method to change the pcnsconfig.ini file depending on the time of day. The script would be run by Windows task scheduler daily. 

Within pcnsconfig.ini there is 

[Shutdown]
shutdownCommand =
shutdownCommandDuration = 60
shutdownCommandFileEnabled = false
shutdownCommandFileDelay = 0
shutdownCommandFile =
shutdownCommandFileDuration = 30
turnOffUps = false

The default is false so the UPS will not be commanded down and it will run until the battery depletes. You could write a script the OS would run changing the configuration to true at 10 PM and then another script that changed the configuration to false at 6 AM.

The shutdown process would be

u6ZoXBJZvvCvLZHT12UIDQ%3D%3D.pngu6ZoXBJZvvCvLZHT12UIDQ%3D%3D.png

Attachments
Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

0 Likes
0
2074
  • 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-28 11:10 AM . Last Modified: ‎2024-03-15 05:46 AM

Hello Bill,

Sometimes the most elegant solutions are the easiest to overlook.  Thank you very much.

I am testing it, cannot see any reason why it will not work.

My sincere thanks

Haig

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