Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Hardware

Open Power Management Console 46

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."
This discussion has been archived. No new comments can be posted.

Open Power Management Console

Comments Filter:
  • by Anonymous Coward
    FUCK
  • by Anonymous Coward
    my dad and i rape each other in the ass
  • by Anonymous Coward
    PENIS
  • Now if only we could use them to reboot the electric company's billing computers...

    INTERESTING FACTS ABOUT CALIFORNIA..............

    America has engaged in some finger wagging lately because California doesn't have enough electricity to meet its needs. The rest of the country (including George W. Bush's energy secretary Spencer Abraham, who wants Californians to suffer through blackouts as justification for drilling for oil in Alaska's Arctic National Wildlife Refuge) seems to be just fine with letting Californians dangle in the breeze without enough power to meet their needs. They laugh at Californians' frivolity.

    Well, everybody. Here's how it really is:

    California ranks 48th in the nation in power consumed per person.

    If things don't change, the rest of the country will be hit, too. Trust me... it'll happen.
  • And I've just had a great idea for using an X10. I could get a linux box to listen for keepalives from my (sorry) Win98 box on the LAN, and cycle the power on it whenever it hangs. Neato! ;)

    I used that to allow remote power-cycling of the cable modem for a while, one day after it got wedged. It came in handy once or twice, but I yanked it out when I needed the module to control Christmas lights. :-) The modem hasn't glitched in a while anyway, and since I still haven't gotten dial-in working since switching from SuSE to LFS, there's really no way to control a remote cable-modem reset right now anyway. (Well, maybe nohup (br k8 off; sleep 5; br k8 on) & logout would work...)

  • Now if only we could use them to reboot the electric company's billing computers...

    ...they'd still crash trying to figure out how to buy something for a dime, sell it for a nickel, and stay in business.

    Well, everybody. Here's how it really is:

    California ranks 48th in the nation in power consumed per person.


    I've also noticed that CA's weather doesn't exactly suck. How does it rank once you take heating and cooling factors out of the equation?

  • It's called VNC, works reall well... ;-)
    http://www.uk.research.att.com/vnc/
    Ok, so it's not quite what you want, but fufills the need for me.
  • My computer already supports being turned on from three sources:

    1. The switch on the front
    2. Magic Packet Wake-On-LAN (obligatory Linux-friendly link [scyld.com])
    3. Time based, as set in the BIOS

    At 8.45a this morning my computer powered itself on because I set the BIOS up to turn it on at that time.

    With regards to the second option, I can SSH into the server on the LAN beside my computer and send it a magic packet it wake it up.

    As for turning it off ... I just have to click the right buttons and it will shut itself down.

    I moderate this buzzword compliant piece of electronics -1 redundant.

  • Wired X10 is insecure enough, and vulnerable to spurious signals.

    With the wireless modules, anybody driving past your house can power down your systems remotely. Not exactly a feature to be proud of...

  • I'm still waiting for the homebrew multi console device. that way I can have a 21" monitor for every machine! =)
  • page doesn't seem to be up.. wouldn't suppose anyone has a mirror ? -neil

    "Now you see that evil will always triumph because good is dumb."
  • is every other link at that site broken?
  • I hate to mention this since you're already alarmed, but thanks in part to Mmmm MMmmm uh some company whose name begins with a letter in the mmmiddle of the alphabet there's a buttload of ISP/hosting servers in the world running on a very similar, very simple kill/reboot switch.

    Some people like APC for this purpose, others favor the good folks at Western Telematic.

    Western Telematic RPS switches can be chained for 1100 feet worth of rj-11, all nodes rebootable/killable individually or en masse at the flick of your Tk-perl control panel.

    Huge telecoms have these devices strewn throughout their operations. Scary isn't it?

  • Yes, I use X10! I have a clunky-ass application I wrote that uses several modems to dial out. Sometimes these modems lose their freakin' minds and no amount of prodding from the serial port will help - they simply have to be power-cycled. So I set up a perl script that monitors the log files for errors from this program. If it sees too many errors in a row, it fires off a command to the appropriate X10 module for the modem that lost its mind, and also resets the software. A Firecracker module provides the computer-to-X10 interface. Yes, this is very clunky, but it works exceedingly well.

    Oh, and yes, I know X10 offers zero security. I rely purely on security through obscurity in this case. I know that's not great, but hey, if someone starts screwing with my X10 stuff, I'll just ditch it and find a better solution.

  • Remote reboot for networks? WOOHOO, hey, that would be wonderful for a server that becomes unresponsive. Now, where was that soldering iron?

    DanH
    Cav Pilot's Reference Page [cavalrypilot.com]
  • I've found a nice, gullible, pizza-loving roommate will reboot my machines as often as necessary and for rather trivial amounts of food.

    Sorry, he's not open-source. =)
  • I love the idea of controlling outlets with pc's. As one of the prior posters stated, it looks pretty sketchy running a rack off of one of these things, but what about your coffee maker, lamp or toaster?

    Think about it, you could set linux up to turn on your lamp or stereo when you want to get up in the morning, have coffee all ready by the time you're out of the shower, and have the toast just popping out as you finish your cup of coffee!

    Hell, you could schedule your linux box to randomly turn on lights while you were on vacation to scare off intruders. If your box was networked, you could remotely turn stuff on and off from work.

    Purchase some solenoids, and you could really have some fun.

  • She is much more difficult to control than a PERL script, because she doesn't understand the concept of warning lights or switches.

    Not to mention that thing where she binds "washing your mouth with soap" to some choice regular expressions.

    Bingo Foo

    ---

  • Probably not sufficiently "open" for the /. crowd, but ThinkGeek has something that lets you reboot servers remotely... [thinkgeek.com]
  • Oh yeah... I wasn't happy at all when my neighbor got his x10 stuff.. we had a lot of fun playing jokes on each other--turning each other's stuff on and off.

    I wouldn't put any X10 stuff on my production systems, I have NOC monkeys that can push reset buttons for me.. That stuff is purely for fun... and they are fun to play with, may not be secure, but neither is my telephone or television, someone can walk by my house and broadcast propaganda on my TV(if I didn't have cable.;).

    If I wanted a serious, secure, remote power control system, I'd go out and buy one, I wouldn't trust anything I built myself.

    APC [apc.com] makes a good one, SNMP able and ready. I've used this on remote test stations and they work well. Expensive though.

  • I don't know about you all, but I'd prefer to keep my servers up and running as much as possible, the less thermal flexing the better for the components, plus I run a fair amount of cron jobs after midnight.

    Whatever.
  • > California ranks 48th in the nation in power consumed per person.

    Yeah, so? California has the highest population of any state. Multiply population times power consumed per person. Want to take bets that California has the highest total power usage?

    Think! - me.

  • So, uhm... Wouldn't it make more sense to simply number, color code, whatever instead of "little grey box with the red triangle on it"?
  • Their processing abilities are intensive and highly capable, and I haven't had much problem with working with floating point; that really comes down to the compiler of the software that you're using to run floating point calculations. SPARC's are fun for everyone!

  • Now go forth and get a life. I have no intention of reading your "Hack Shoeboy" replies throughout this article's posts.

  • I keep all my servers in the basement of my parent's house, and use my mother as the control mechanism

    Heh, mine's under the stairs, and my girlfriend is my on-site admin. We're still at the "it's the little black picture with the green squiggle" stage. I like the sound files idea.

    And I've just had a great idea for using an X10 [x10.com]. I could get a linux box to listen for keepalives from my (sorry) Win98 box on the LAN, and cycle the power on it whenever it hangs. Neato! ;)

  • I just received word from them. It turns out that they're conserving power and have the box turned off. The machine will be up again when the script runs at 02:00 eastern time, and all links will be fixed (until 13:00 eastern tomorrow).

    --

  • My heart aches and a drowsy numbness pains

    My senses, as though an anteater I'd seen

    (panic spreads and the audience half rise)

    A nasty long-nosed brute

    (screams from the audience)

    With furry legs and sticky darting tongue

    I seem to feel its cruel jaws

    Crunch crunch there go my legs

    Snap snap my thorax too

    (various screaming women faint)

    My head's in a twain, there goes my brain

    Swallow, swallow, swallow, sluuuuuuuuuuurp

  • Not really "open" hardware either, since it's basically just two ready-made devices wired together... I expect more from /.
  • "One trick I used was to put 7 1N4148 diodes in series to drop the power (VB) off of the Velleman board down to 14 volts or so to power the BASIC Stamp"

    Is it just me, or are these diodes in backwords?

  • by Anonymous Coward
    Sorry, he's not open-source. =)

    I bet he is if you get him drunk enough.
  • > 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...
  • 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.
  • 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.

  • 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
  • by Nonesuch ( 90847 ) on Monday April 09, 2001 @12:35PM (#304585) Homepage Journal
    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 [apcc.com], for about US$60/outlet [cdw.com].

    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.

  • by zpengo ( 99887 ) on Monday April 09, 2001 @01:02PM (#304586) Homepage
    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
  • by sulli ( 195030 ) on Monday April 09, 2001 @12:07PM (#304587) Journal
    Until someone h4x0rs it...
  • by krismon ( 205376 ) on Monday April 09, 2001 @12:00PM (#304588)
    I've got the X10 firecracker module [x10.com] (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 [x10.com], replacement outlets that are rated at 15 amps each.

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

  • by namtog ( 247864 ) <namtog@namtog.com> on Monday April 09, 2001 @12:38PM (#304589) Homepage
    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.
  • 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;-)

  • 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

  • by SpanishInquisition ( 127269 ) on Monday April 09, 2001 @11:40AM (#304592) Homepage Journal
    For those under-developed area of the world where electricity is still a luxury (California for example)

    --
  • by bahtama ( 252146 ) on Monday April 09, 2001 @12:10PM (#304593) Homepage
    I use X10 and MisterHouse [misterhouse.net], 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!

    =-=-=-=-=

  • by sakusha ( 441986 ) on Monday April 09, 2001 @02:03PM (#304594)
    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.
  • 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.

For God's sake, stop researching for a while and begin to think!

Working...