Slashdot Mirror


Open Power Management Console

Scott Haugaard writes "There's a cool open code/open hardware power management device page has the schematics, programs, and pictures of a homebrew remote power console. Use this to cold boot those unresponsive servers remotely, or to shut them down at night via scripts and bring them up again before your users log on to save power. Solder, TCL, LEDs, wires galore. Manage power to 16 servers from two wires on a serial port."

16 of 46 comments (clear)

  1. Re:Roomie by Anonymous Coward · · Score: 2

    Sorry, he's not open-source. =)

    I bet he is if you get him drunk enough.

  2. Re:Oh my GOD! Think of what this device does! by Yarn · · Score: 2

    > IMHO, it's like setting up a rack of servers connected to a light switch on the wall

    Oh yes... I used to work at a hospital where there were some machines which were considered medical equipment, and there had to be an emergency stop button for the whole room. This was situated just below the lightswitch...

    --
    -Yarn - Rio Karma: Excellent
  3. Re:May be useful by MindStalker · · Score: 2

    Its not about how much power they use, its about how they completly screwed up their deregulation process, creating absolutly no monitary insentive for the creation of new power plants, or power production in the first place. This lead to a power grid made to support much less people than are currently in California. With proper insentives for power production and a reasonable population growth rate, its not difficult to keep up with demands.

  4. I look forward to updates from this idea by Niscenus · · Score: 2

    I'm willing to bet a sub-porting of NetBSD with a line by line confirmation would work just as well. It seems to defy logic to use gui for anything other than the initial setup. Overall, this looks like a very effective way to manage power systems without investing in extensive and expensive systems. I'm bookmarking this roll-your-own method as a general just-in-case; personally, I'm curious how this will work out in the long run.

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  5. Let wardialers and FAXers cycle your UPS... by wellwellwell · · Score: 2

    WOW, this thing is the perfect solution for cycling those UPS's doing nothing under the servers.

    I also have a problem with using diode strings to drop a supply voltage... I would definitely use an Honest to God Voltage Regulator with bypass caps (USD$2.50 vs $.10). I have actually blown-up chips in my face on a breadboard with this kind of kludge.

    Who cold boots servers remotely anyway? I would call the cleaning crew in my building to have a live body in front of the machine before I would rely on this kind of thing.

    Dennis

    --
    "All my life I wanted to be someone; I guess I should have been more specific." -- Jane Wagner
  6. The right way to do this. APC by Nonesuch · · Score: 3
    If you have any funds to spend on doing this right, and any interest in your insurance company paying out if your rack goes up in flames, do this right...

    Something like the APC MasterSwitch, for about US$60/outlet.

    Supports serial control, and has built-in ethernet with SNMP, HTTP, telnet access. You can assign individual usernames and passwords with access to any one or a group of outlets. SNMP traps on invalid passwords or SNMP community strings so you can detect hacking attempts.

  7. Wire Up to the Wolfentstein "kill" front end by zpengo · · Score: 3

    If you wire this puppy up to a Wolfentstein front end to "kill", you can then run around killing Nazis and shutting off your kitchen lights and at the same time

    --


    Got Rhinos?
  8. Re:Hey, that would save time by sulli · · Score: 3

    Until someone h4x0rs it...

    --

    sulli
    RTFJ.
  9. Anyone use X10? by krismon · · Score: 3
    I've got the X10 firecracker module (got from free, just pay shipping from freshmeat.net offer like 2years ago now I think) and there's tons of stuff you can hook on to it.. including something new that I haven't tried myself.. They call it the Powerhouse, replacement outlets that are rated at 15 amps each.

    I've been happy with my firecracker and there's tons of software for it, open source and not. It's serial controlled, and wireless. no soldering, semi-expensive, but good nerd value.

  10. Chicken shit disclaimer by namtog · · Score: 3

    I can not understand why people do this. The direct quote from the article is "Make sure you discuss this with a qualified electrician first, before you proceed." What a load of crap. I held "A" grade credentials in the IBEW for 20 years. I have been retired now for some time, but in the course of my active work life some things went a bit south on me. To state it bluntly I blew up and electrocuted more people, places, and things then the average domestic terorist. All the while drawing the prevailing wage. Once my peers noticed this above average ability of mine I was promoted first to foreman and then to general foreman. The reason for that was simple, I created far more work then I ever did. A "qualified electrician" is the same as saying "just out of detox". Or needs the job for his parole officer.

  11. Consider the situation that brought this about by Niscenus · · Score: 3

    This is a group of people trying to save money, and I'm sure their system, extending to unknown clusters of computers, does a good job of consuming energy. Furthermore, as a somewhat amusing joke by SpanishInquisition has pointed out, in some places, like California, the need for energy conservation is quite high, and, I'm sure, watt hours quite expensive.

    This isn't meant as a webserver, that would obviously be a fool-hardy need. However, even in areas where power consumption isn't all that important, such as a small business that's only running the inter-office servers for twelve-hours a day, could still find this a useful tool. And, if you noticed, this allows you to decide what is shutdown, ergo, not necessarily shutting down the internet gateway for said small business. This also can restrict departmental use of power or systems...that falls under the stallman definition of tyrant/maniac, but I'm getting over it;-)

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  12. /. effect autodetection? by JabberWokky · · Score: 4
    I wonder if there is a software module that triggers a full network shutdown if a story on slashdot links to your servers? You know... to protect them from...

    Oh, wait. A link from Slashdot shuts down your servers *anyway*.

    --
    Evan

    --
    "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  13. May be useful by SpanishInquisition · · Score: 4

    For those under-developed area of the world where electricity is still a luxury (California for example)

    --

    --
    Je t'aime Stéphanie
  14. X10 and Misterhouse by bahtama · · Score: 4
    I use X10 and MisterHouse, which is a great perl program that allows you to control all kinds of stuff! I have it play mp3s, answer my phone, turn on lights, etc. It seems to be the most comprehensive tool out there. And with text-to-speech, forget talking to friends, just chat with your computer all day. Sample some 2001 clips and you will be set!

    =-=-=-=-=

    --

    =-=-=-=-=-=-=-=-=
    Oh bother.

  15. Oh my GOD! Think of what this device does! by sakusha · · Score: 4

    Take a step back and take a look at this circuit. Now take a step forward. Now take a step back again... nevermind.

    Take a look at what this circuit really DOES. I examined the schematic, and having designed computer-driven power relays before, I think I have a good idea of what this circuit actually does. Think about this: it introduces a single-point failure node into the power supply of up to 16 computers. So now if this circuit fails, it can potentially take down a whole room full of systems. Or even worse, if a cracker gets into it, he can blow your systems away at will. I recently had the displeasure of having an old linux test box get cracked through the old FTP exploit, boy that skript kiddee enjoyed himself rebooting my system over and over, as I later determined from reading the logs.

    Anyway, I used to build similar power relays, I just did the computer front end, and some expert electrics guys assembled the solenoid driven switching system. I worked at a stereo shop back in the mid-70s, they wanted to put all their demonstration stereos on relays, then have a computer turn them on and off, in preset configurations. So I got an Apple II with a Corvus 5Mb hard disk, I set up a UCSD Pascal system, and wrote a nice little program to browse through presets and create your own.
    Now came the hard part. I set up 4 PSIO boards, which were these cool boards with 4 parallel ports each. So I had 64 bits of parallel I/O, so I could control 32 L/R stereo powered audio channels.
    On the audio side, the electrics guy wired up a series of 64 switchable solenoids capable of carrying about 500watts of power each, but were capable of being triggered by the low voltage of a parallel port signal. One bit per relay. I just wrote 1s or 0s to the port, and the relays all triggered to their new state, on or off. Hit the whole array with 0s to turn everything off, 1s to turn them on. The electrics guy wired the whole thing up with thick copper Monster Cable, and there were plenty of worries over grounding, which was way beyond my abilities, but solved by the application of thick braided cables. I didn't want to go anywhere near that assembly, since it was hooked up to high-powered stereo equipment, like Phase Linear 400s, a few assorted tube amps, etc. These guys were demonstrating high-end audiofile stuff, and the speakers were the real key. They wanted to be able to switch different amplifiers to different arrays of stereo speakers. You could turn the relays on or off in pairs, or leave 2, 4, or more pairs of speakers on to listen to them in parallel. And there's where the problem started.
    I discovered that my conceptually clean idea of the relays going on and off in a crisp square wave transition was not reality. The relays took longer to close than to open. The switch bounced closed and took a moment to stabilize. We didn't realize this when we first started playing with it, and every time they tried to switch settings, it blew up the audio amps (and they were mighty peeved at blowing expensive PA400 amps!). We had to pull everything out, run a test signal through the relays and look at the output on an oscilloscope, where we discovered that if we switched amp relays, there was a brief period where both settings were open, causing the amps and speakers to run parallel, short circuiting everything and melting it all down in one huge imploding glumph. Ooops!
    So I had to rewrite all the Pascal switching routines in 6502 assembly language. I could keep the user interface, and just pass the switching preset strings to the ASM routine. The program turned off all the relays at once, then ran a short ASM delay loop, then wrote the new switch presets. Whew, that was a bitch, I had to time both the relays's switch performance as well as the ASM delay loops on the oscilloscope, and got everything timed out perfectly. But it was pretty dicey there for a while.

    So you see why I'm skeptical about power management through computer controlled relay systems. IMHO, it's like setting up a rack of servers connected to a light switch on the wall, and there's a security guard standing by it who is only supposed to allow authorized users to flip the switch. Except he's probably just as likely to bump the damn switch and blow out the whole server farm.

  16. My mother by dasmegabyte · · Score: 5

    I keep all my servers in the basement of my parent's house, and use my mother as the control mechanism. She is much more difficult to control than a PERL script, because she doesn't understand the concept of warning lights or switches. So I've hooked all of them up to speakers and I use mp3 files of songs she knows that correspond to warning messages. This leads to conversations like this:

    "Hullo, mum? Is the server making noise?"
    "Um, yes. I think."
    "Is it the Barenaked Ladies."
    "No...it sounds like Johnny Cash."
    "Is it 'Johnny Yuma?'"
    "No, that one about the car. 'One piece at a time.'"
    "Okay, that means the switch is dead. You need to jab a pencil into the little grey box with the red triangle on it."
    "Do you mean the one with the big sign that says 'don't touch?'"
    "No, the one with the red triangle."

    She's still easier to work with than BiznessOnline.com.

    --
    Hey freaks: now you're ju