Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an APC Switched Rack PDU powering a number of servers in a remote datacentre. After a recent power outage, I noticed that the outlets did not automatically default to the On status once power was restored. Having reviewed the Web UI, I cannot find this option.

I'm not certain of the model number (it doesn't appear to be visible in the Web UI), but I think it's this one.

Is it possible to configure these PDU units to automatically power outlets after a cold start?

share|improve this question
    
Which model do you have? –  Chopper3 Oct 30 '10 at 11:03
    
Edited to include the details of the model. –  Ian Gregory Oct 30 '10 at 11:35
    
on the manufacturers site in features is written that you can specify the order of machines powered on. Maybe you just have too high delays set? –  Hubert Kario Oct 30 '10 at 12:47
1  
be careful, once i got a near-disaster experience when after a long blackout, the power came back for less than a minute and back off before there was any charge in the batteries. some servers did came up and down uncleanly. we rewired everything and now restarting the systems need human intervention –  Javier Oct 30 '10 at 13:05
    
I, too, had such an experience like that with power coming back for a couple minutes and then going away. Poor servers. –  Rob Olmos Oct 30 '10 at 20:35
add comment

2 Answers

up vote 1 down vote accepted

I've only done this via SNMP set commands and I've only disabled it so the ports DON'T power on after a power failure as I've also been in the power-off/power-on/power-off situation.

snmpset -v1 -c $COMMUNITY $PDU .1.3.6.1.4.1.318.1.1.12.3.1.2.0 i -1

This tells the outlets NOT to turn on after a power failure. Change the -1 to 60 to turn all of the outlets on after 60 seconds. On the switched models you can also do a staggered start of the outlets in order to avoid a circuit overload situation. I don't have that OID handy.

share|improve this answer
add comment

As has already been mentioned, this is a disaster aversion function.

You don't mention your software environment or management topology.

In the case that it's 'apcupsd', which is the standard APC UPS management application for linux, this would be configured on the master node in file /etc/apcupsd/apcupsd.conf.

To acheive what you inquired about, the pertinent section would need to look like this:

# Battery charge needed to restore power
# RETURNCHARGE 00 15 50 90 (default = 15)
RETURNCHARGE 00

Values are in percents.

This value ought to be set such that even if power fails immediately after powering up the server(s), there remains enough charge to provide power through the entirety of both startup & shutdown sequences.

Ultimately it's your call.

Maybe you have backup generators on-site, which is what comes to mind when I wonder what would warrant such a configuration.

share|improve this answer
    
Hi - my question is around the PDU, not the UPS –  Ian Gregory Dec 7 '10 at 14:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.