52

I removed the side panel of our server rack so I can clean up some of the wiring. Inside I found the PDU was wired like in the picture. Instead of an incoming power cable, there's just 3 uninsulated spade connectors.

Is there any reason for wiring it like this instead of using a C19 to appropriate connector for your country cable?

Or did whoever do this just not have the right cable handy, and figure this is good enough?

PDU

Edit:

When I say uninsulated, the metal parts of the spade connectors do look completely bare. I haven't looked too closely to see if there's clear insulation or something, but it doesn't look like it, and it's live.

Edit 2

Proper cables are being dropshipped and will be installed as soon as they arrive. In the mean time nobody is going to go anywhere near it. I can easily cut power to the PDU so replacement wont be a problem.

Edit 3

The cable to the PDU has been replaced with a proper one. No electrician needed. No fires, no injuries. Yay! The faulty cable has been destroyed so nobody ever gets tempted to do something like that again. For extra damage, the cord they attached those spades to was only an 18 gauge cable, not the 14 gauge ones usually used for servers.

Grant
  • 17,671
  • 14
  • 69
  • 101
  • 2
    If the cabinet was wired by a vendor you may need to involve them in the repair. Get an electrician to document the issues. If the cabinet was wired by an employee, fix the problem and have a chat with the employee. – Rik Schneider Aug 14 '13 at 19:31
  • Apparently they received the (used) PDU wired up this way from whoever sold it to us. It was years ago, and I don't know who did it, but I would sure love have some word with them. – Grant Aug 14 '13 at 19:41
  • 3
    Holy Flurking Schnit, Batman. – Tom O'Connor Aug 14 '13 at 20:45
  • 4
    Also: Danger, Will Robinson! – Tom O'Connor Aug 14 '13 at 20:46
  • 2
    Let me just repeat what seems to be the sentiment here... WHAAA?!?!?!? – joeqwerty Aug 14 '13 at 20:50
  • 2
    != Normal + != Safe = DANGER! – joeqwerty Aug 14 '13 at 20:51
  • 4
    I did the only honest thing.. Posted this to Hacker News. – Tom O'Connor Aug 14 '13 at 21:34
  • I've done worse in my shop at home to plug in my 240v grinder... Romex enxtension cord + stripped wires jammed into an outlet!! with no ground! I'm lucky to be alive. – Matt Bear Aug 14 '13 at 22:00
  • 4
    Oh. Oh wow. Do you happen to work in the produce industry? – MDMarra Aug 15 '13 at 03:03
  • 1
    I'm a little worried that someone would receive an item in this state and think "yes, that's just what we need" and connecting it right up, instead of "OMFG **WHAT***" and burning it it with fire before disposing of the ashes carefully. – Rob Moir Aug 15 '13 at 12:17
  • If by words, you mean a good percussive attitude adjustment with the goal of recalibrating one's safety standards. – Journeyman Geek Aug 15 '13 at 12:52
  • 2
    I hope Grant lets us know if he's still alive. – mfinni Aug 15 '13 at 13:40
  • 4
    @mfinni still alive :) Proper cables are on their way and I'll be doing some emergency maintenance as soon as they get here. In the mean time, nobody is going anywhere near that rack. – Grant Aug 15 '13 at 13:58
  • @Grant In addition to the obvious horror, it appears you don't have the rack connected to the ground lug (bottom-right of the PDU) -- [If it's not already grounded you should really ground your rack while you're fixing the other stuff](http://serverfault.com/a/132068/32986), and honestly having an electrician check the rest of the setup if it's more than just one rack probably wouldn't be a bad idea :-) – voretaq7 Aug 16 '13 at 03:39
  • @voretaq7 I am aware of the missing ground and intend fix that as well. I just have a single rack, easy enough to check everything myself. – Grant Aug 16 '13 at 11:15

5 Answers5

43

That's shockingly bad (sorry!). If that cable gets yanked out by someone, at the very best it will short out and hopefully trip the circuit breaker, possibly taking out power in other racks or even other parts of the building. Worst case, somebody could be killed.

Personally I'd do the following:

  1. Carefully secure the rack. Lock it up, post a notice to admins to not touch it under any circumstances. Make sure people are aware there is a dangerous electrical fault within the rack. If you have a server failure, so be it, that is too dangerous for anyone but a trained electrician to go near it. The stakes are too high.
  2. Call a professional registered electrician to fix that.
  3. Plan for downtime whilst the electrician does what's needed.
  4. Find out who was responsible for that, and if they are still employed, report them to management, as they should be severely disciplined for putting other people at risk.
Bryan
  • 7,538
  • 15
  • 68
  • 92
  • Shower of sparks waiting to happen. – Fiasco Labs Aug 15 '13 at 04:59
  • 6
    OP says proper cables are en route. I think your plan, while safe, is overkill. You describe the risks and points 1 and 4 are valid. Calling an electrician to replace a dodgy cable is a waste of his time and your money. Get the spares, plan downtime, pop the breaker and replace the cable. – Freiheit Aug 15 '13 at 18:04
  • @Freiheit, Getting an electrician in to replace a cable isn't overkill. Try telling that to your sys admin's family if he got fried. Getting a professional in to replace that cable safely isn't going to cost very much. Consider the fact that risk = severity * probability. The risk is too high. Just like we wouldn't recommend a electrician should install a mail server (which carries little danger), a system admin shouldn't mess with electrical systems that they don't fully understand. – Bryan Aug 15 '13 at 20:31
  • 2
    **Calling an electrician to replace a dodgy cable is a waste of his time and your money.** Maybe - but my sympathies lean towards Bryan's point of view, @Freiheit because when you find something like this you don't know what else could be wrong. I think having things checked over and tested by an electrician isn't an unreasonable step to take after finding something like this. I've been electrocuted 3 times by faulty equipment, just minor shocks but still very painful and distressing. Being careful about this kind of thing stops being overkill when it starts being you that gets the shock. – Rob Moir Aug 15 '13 at 20:43
  • I've done enough electrical work that I have no issue doing it myself. Power can be cut, the other end of the cable pulled, and checked with my non contact voltage detector before I do anything. But if I hadn't done electrical work before I would certainly call an electrician. – Grant Aug 15 '13 at 22:19
  • 2
    @Bryan and RobM - I see your point of view. I had not considered that one gremlin often breeds other gremlins and that a trained electrician would be more likely to spot those. I also had not considered that as an IT person the job risks are different than what an electrician would be trained for or work with. Thank you for clarifying! – Freiheit Aug 16 '13 at 13:14
17

I'd worry about that. When you say uninsulated, do you really mean those are live and unprotected? If so, that's not safe. Find an electrician to help, and stay out of there while you do it!

Bill Weiss
  • 10,782
  • 3
  • 37
  • 65
16

That is a fire (or electrical accident) waiting to happen. Nothing good can come of that. It is negligent and noncompliant and most definitely not normal. I'd imagine it wouldn't be a fun thing to try and explain to an insurance company either, in the event. I can imagine a dozen different scenarios in which that connection becomes a disaster either to uptime, property, or safety.

You need to disconnect the power above that connection immediately (eg. the other end of the cord). I personally wouldn't bother with an electrician just to unplug the other side of that, assuming the other side isn't just as much of an atrocity and also assuming that there isn't some other circumstance making that dangerous. If you want to be extra cautious (it never hurts), wear some electrically insulating gloves and get a voltage tester (designed to test for mains current) to ensure that the leads on the jerry-rigged side of that cable aren't live.

Once there isn't any current in that system, if you feel safe doing so, carefully remove those blade connectors (if they will slide off), or better still, remove the PDU from that environment and seperate the cable from the rest of the assembly elsewhere. Destroy the plug on the other side of that cable and throw it away. It's a great pity you can't track down whoever is responsible for it; they need a stern lecture from a fireman.

Absolutely do not leave this with current running through it! Can you imagine what might happen if a metal object were to fall in there, connecting that mounting rail to mains current, or something? Even if you cordon that thing off it's not safe.

Even supposing there was a thin coating of some insulating substance in there, that wouldn't be nearly enough to protect it from all the things that might occur.

It would be better for you to run without the redundant power source than for you to allow that to continue to exist in your environment. I would even sooner move the equipment to another rack (if that isn't a redundant PDU) than leave that in place.

Falcon Momot
  • 24,975
  • 13
  • 61
  • 92
11

This has to be rectified very soon! Those spade connectors are not designed for the amperage that could potently be drawn should all of the connected devices require full load. Also the earth will not be sufficient should there be an issue.

Please please please plan urgent downtime NOW! Isolate the power to the PDU and replace with the correct cable. This is a huge safety issue and needs sorting, sod downtime. The cost of a law suit will be more.

Zapto
  • 1,824
  • 6
  • 23
  • 39
  • 1
    Those look like 14-16A connectors and that looks like a 16A PDU. I'd be more concerned with the electrocution hazard then I would of the connectors "failing" or of the equipment being damaged. Of course, equipment damage isn't to be taken lightly but I'd be more concerned with the risk to human life and health. – joeqwerty Aug 15 '13 at 15:42
  • It is indeed a 16amp PDU. The connectors actually work fine...until someone drops their screwdriver. – Grant Aug 15 '13 at 22:08
0

Are you sure, these are really powered lines and not just the grounding, going to the earth-leakage-switch ? (okay, that should be isolated, too, just for safety, but it shouldn't carry any power for more than a few ms - then the ELS will cut off).

  • 1
    I have this kind of Dell PDU or one as near as makes no odds. That's the power. – Rob Moir Aug 15 '13 at 16:28
  • He does say that's where the incoming power cable should be. – mfinni Aug 15 '13 at 16:30
  • 4
    Absolutely certain. That's the PDU's C19/C20 connector, and the other end of that cable is a standard wall outlet plug (NEMA 5-15). And if anyone did grounding with a green, a black and a white wire, they'd have some explaining to do anyways. – Grant Aug 15 '13 at 16:42
  • 1
    In many places, earth leakage switches or GFIs aren't required by code in this application and often aren't in use. In any event you should never, ever, ever rely on a GFI alone for safety. – Falcon Momot Aug 15 '13 at 20:25
  • 2
    I've never seen an earth leakage switch wired up with spade connectors (that's not to say it's never been done, but at least inmy experience it's usually screwed down securely where you can't accidentally pull/knock it loose). – voretaq7 Aug 16 '13 at 03:41