Question

UPS - Auto-Shutdown question

Asked by: matanguay

Hi,

Here is my setup :

I have 12 Servers varying in OS from NT4Server to 2003Server and in hardware from PCServer325 to Xseries server

All the Servers are plugged on UPS but only 6 of them are actually programmed for auto shutdown in case of a power failure, the others would fail and crash after the battery run dead

What I need to do is to find a software that would know there is a power failure and that could send a shutdown command on all the servers without the automatic shutdown.

Right now I use APC Powerchute Business Edition Std ...

Is there any software or combination of software that could execute a command prompt in case a power failure occurs ? if so what is the command line I have to execute to shut the other servers down ???

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-01-18 at 11:05:32ID21279096
Tags

powerchute

Topic

Operating Systems Miscellaneous

Participating Experts
4
Points
500
Comments
17

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. APC Powerchute Network Shutdown config example needed
    Have APC SU3000 ups protecting a rack of Solaris, Linux, Netware servers. Have network card in ups, have installed APC Powerchute Network Shutdown (PCNS) 2.2.1. There is an event for on-battery and another for input power restored. Nothing else to indicate that the UPS has...
  2. APC Network Card Shutdown Settings
    I need some help setting up a management card on an APC networked battery. Basically my situation is that I use the PowerChute Network to shutdown the servers in the case that the servers go on battery. Basically if the server is on battery more then 15 minutes then shutdown....
  3. Using APC Powerchute to stagger the shutdown of servers
    We've a number of servers running PowerChute Network Shutdown 2.2.1 Build 12 and attached to an APC Smart-UPS RT 7500 RM XL. How do i set up and stagger the servers for graceful shutdowns? e.g shutdown a web server with 15 mins of runtime left on the battery and shut...
  4. APC PowerChute disable UPS turn off
    Is there a way to configure PowerChute not to turn off the UPS after OS shutdown? I have things connected to the UPS that I'd like keep running until the batteries are dead. APC PowerChute Business Edition Basic v7.0.5
  5. APC PowerChute Personal Edition - Model: APC Smart UP…
    I have a UPS model "Backup-UPS 1500 LCD" that only supports APC Powerchute personal edition and not business edition so there is no autmated shutdown. Is it possible to programatically capture low battery / power out and then use Windows shutdown features e.g. VBS a...
  6. APC UPS configuration and powerchute shutdown
    Hello I have several windows 2003/2008 and Linux servers connected to APC 1100 and APC2200 UPs. I have installed network management inteface to monitor and manage UPS. 1.Now when Batter is critically low, I would like my servers to be shutdown . How can I do that us...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Eagle6990Posted on 2005-01-18 at 11:37:13ID: 13075826

Depending on your UPS you can get some other free software from APC that will do exactly what you are looking for.  It does require that your UPS has a network card installed on it which I believe we got for around $250.

Here is the software: http://www.apc.com/resource/include/techspec_index.cfm?base_sku=SFPCNS221

 

by: matanguayPosted on 2005-01-18 at 11:43:31ID: 13075882

Hi,

First I do not have a ups with network card, and yes I do have some software that came with my card, however not giving me the latitute of remote shutdowning my other servers.

 

by: matanguayPosted on 2005-01-18 at 11:44:18ID: 13075887

I would like a solution without spending money, like a free software monitoring the UPS, then sending a shutdown command to all other servers.

 

by: Eagle6990Posted on 2005-01-18 at 12:04:27ID: 13076059

I just wanted to bring that software to your attention since it is also free software from APC but different than what you have.

I was looking for something with a very similar situation as yours.  I haven't used PowerChute lately but if it has an option to run a batch file on shutdown, then you could use psshutdown from www.sysinternals.com that could fire off before your monitored server went down that would shutdown the rest of your servers.

 

by: pjedmondPosted on 2005-01-18 at 12:56:34ID: 13076635

The shutdown bit is easy, as there are loads of links on the web to shutdown scripts and information on them(some systems may already have the necessary code installed):

http://www.motobit.com/tips/detpg_wmi-windows-system-shutdown/
http://www.jsiinc.com/SUBM/tip6100/rh6128.htm
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/windowsserv/2003/standard/proddocs/en-us/Scripts.asp
http://groups.msn.com/windowsscript/wshgeneralquestions.msnw?action=view_list&row=31&viewtype=2&sortstring=

This site provides you with about the simplest solution to stick in a batch file (this is probably the info you are after?):

http://www.robvanderwoude.com/index.html

This link is also useful:

http://personal-computer-tutor.com/abc3/v24/vic24.htm

If you wand a completely free - 'quick shut down' then look here:

http://www.winutility.com/qsd/

The difficult bit is communicating the need to shutdown!

Ideas include:

a.  In your favourite scripting language read the contents of a share on the system concerned, that the PC connected to the UPS, leaves a file in during its shut down process:

net use z: \\otherPC\powerfailshare
copy trigger.txt z:

On each PC to be triggered

check for trigger.txt
if so, shutdown,
else pause 60 secs
redo

In whatever language available

b.  A program running on all systems (an agent) is communicated with by a process on the PC connected to the UPS to tell it to shut down the system? (Hmmm PowerChute Business Edition - ( v. 6.0.2 ) - STD seems to offer this functionality..but over a network)

c. Use a shareware/freeware solutions:

http://www.xpertdesign.de/english/sw_xecutor_info.htm     $15 for commercial use

Enables you to run a script commands on the system attached to the UPS on shutdown (To place those trigger files in shares?)

This may also be of use (shutdown manager):
http://www.softpedia.com/get/System/Launchers-Shutdown-Tools/Multi-Remote-Shutdown-Manager.shtml

or ID shutdown manager:

http://www.librarysmith.co.uk/download.php?fl=sdman&Submit=Download (free 2 PC solution)

HTH:)


 

by: pjedmondPosted on 2005-01-18 at 13:11:07ID: 13076761

http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml

for details on psshutdown as mentioned by Eagle. Combined with your $15 executor seems to do exactly what you need:)

Hope that helps:)

 

by: pjedmondPosted on 2005-01-18 at 13:22:19ID: 13076846

http://www.myzips.com/software/RSHUT-Pro-(INTERNET).phtml

may also be of intrest as it supports Wake on LAN to restart the systems when power is returned:)

http://dfg1.netfirms.com/products/a_shutdown_e.htm

gives the ability to run a script on shutdown for $9.98 (cheaper than executor...but not as 'clean')

I think that's enough to keep you busy - Have fun!! :)

 

by: Eagle6990Posted on 2005-01-18 at 13:30:57ID: 13076923

One warning about creating a shutdown script (which you can easily do with a local group policy setting)

Every time you shutdown one of the servers with the script, it will start shutting down all of your other servers.  If the only time your server is shut down is on a power outage then this is fine.

 

by: pjedmondPosted on 2005-01-18 at 14:16:03ID: 13077454

Excellent point!

 

by: CBUSHAWPosted on 2005-01-18 at 23:27:24ID: 13080243

for the 2k3 servers, have one of the other servers run a script before being automatically shutdown by the ups, the command you are looking for is shutdown. It works with every xp or newer machine, includnig 2003 server. And is on the support cd for 2000 so the file can be put on 2000. Run it as shutdown -m SERVERNAME -s or for more open the command prompt and type shutdown /?

 

by: matanguayPosted on 2005-01-19 at 05:19:51ID: 13082232

All those are great .. these are very good solutions !! .. .. the only problem is that if I go with almost any of your suggested methods, it will shutdown the others servers every time I shutdown the trigger computer.

Is there a UPS monitoring software that can see that the UPS is working on battery and then run any of your commands or suggestions ?? .. ..

I think with this precision that would be the end of this question.


Thanks to all !!

 

by: matanguayPosted on 2005-01-31 at 06:15:19ID: 13182634

I'm still waiting for some help.

To summarize, I need to have a UPS monitoring software capable of shutting down other servers when the power is down.

 

by: pjedmondPosted on 2005-01-31 at 07:41:54ID: 13183493

I think that either you or we are totally missing the point?

You have 6 servers that already programmed to shutdown. Using any of the above suggesstions, you can get any of these 6 to shut the rest down.

 

by: pjedmondPosted on 2005-01-31 at 07:51:52ID: 13183600

If you're worried about it shutting down the rest when you shut down 1 PC, then you create a seperate link on the desktop to do a direct shutdown...as per the command line options already given, which will avoid any of the triggers concerned.

Otherwise, you need to look at the current software that you are using (APC Powerchute) and find a trigger to run a program from it on receiving a power failure signal. Quote from Powerchute specs for serial connection:

Event Handling
Over 35 Power Events       For each power or environmental event, choose as many as seven different response actions (i.e. page, email, log event, broadcast, run command file, and shutdown).
Paging       Receive timely pages for power and environmental events
Email       Receive timely email alerts for power and environmental events.
Broadcast       Receive timely broadcasts for power and environmental events
Command File       Run a command file to shutdown applications before OS shutdown is initiated

Any of the programable events are capable of triggering what you already want...as is the command file.

If this is not what you've got, then please provide OS of these 6 configured PCs that do shut down, software versions and type, and method of connection, then the experts may be able to be more specific. I have a setup that I should be able to test your requirements on exactly provided enough detail is given.

 

by: matanguayPosted on 2005-02-03 at 06:15:25ID: 13214314

pjedmond,

I checked with my APC Powerchute and there was no trigger at all. All there was was Paging/Email Alert.

How do I find those EVENT HANDLING events ??

 

by: Emax_SolutionsPosted on 2008-04-10 at 23:24:07ID: 21331691

Maybe you can run a shutdown script for the rest of the servers and an ABORT shutdown script for the main server. This way, the shutdown sequence will be aborted on the main server.

shutdown -a is the command i think, but you can look this up further.

 

by: pjedmondPosted on 2008-04-14 at 03:47:22ID: 21348928

The default UPS is attached to the PC via a serial cable. The able sends information about the state of the UPS. All information about power supply state and UPS status are communicated over this link. All that is required is that this information is received and acted on to perform the tasks you require. The default client provided by the APC powerchute  UPS is fairly limited.

You can download demo versions of the various versions here:

http://www.apcc.com/tools/download/software_comp.cfm?sw_sku=SFPCBE705&id=125&family=&part_num=&swfam=125

You need the business version to get access to all the triggers.



20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...