[RESOLVED] - How to confirm power chords and power supplies are plugged in

Issues related to hardware problems
Post Reply
User avatar
warron.french
Posts: 552
Joined: 2014/03/27 20:21:58

[RESOLVED] - How to confirm power chords and power supplies are plugged in

Post by warron.french » 2020/12/30 21:12:03

I have a few servers that are running with two power supplies, and one power chord/power supply; basically two power supplies total and two power chords total.

Should I not be able to use

Code: Select all

dmidecode  --type  39
to determine if a power chord is unplugged, or similarly, if a power supply has been partially pulled from the chassis -- so long as one of the power supplies is still fully engaged with a power chord plugged in?

I work in an environment where we cannot set up a Nagios server. Not yet anyway.
Last edited by warron.french on 2021/01/06 12:20:06, edited 1 time in total.
Thanks,
War

User avatar
warron.french
Posts: 552
Joined: 2014/03/27 20:21:58

Re: How to confirm power chords and power supplies are plugged in

Post by warron.french » 2021/01/05 19:56:33

I also tried using

Code: Select all

dmesg -w
where nothing showed up there either.
Thanks,
War

User avatar
avij
Retired Moderator
Posts: 3042
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: How to confirm power chords and power supplies are plugged in

Post by avij » 2021/01/05 20:11:11

For starters, I would prefer that PMs be left for those things that need private attention of someone. If a general support topic does not get responses in a timely manner, it's not really a reason for PMing people.

That said, the power supply issue usually depends on server hardware vendor. Many of them have their own tools for managing the server. For example, Dell has OpenManage, which, among other things, provides the omreport and omconfig commands. On my old R320 running C7, I can do this:

Code: Select all

$ omreport chassis pwrsupplies
Power Supplies Information

Power Supply Redundancy
Redundancy Status : Full

Individual Power Supply Elements
Index                    : 0
Status                   : Ok
Location                 : PS1 Status
Type                     : AC
Rated Input Wattage      : 432 W
Maximum Output Wattage   : 350 W
Firmware Version         : 05.07.0D
Online Status            : Presence Detected
Power Monitoring Capable : Yes

Index                    : 1
Status                   : Ok
Location                 : PS2 Status
Type                     : AC
Rated Input Wattage      : 432 W
Maximum Output Wattage   : 350 W
Firmware Version         : 05.07.0D
Online Status            : Presence Detected
Power Monitoring Capable : Yes

User avatar
warron.french
Posts: 552
Joined: 2014/03/27 20:21:58

Re: How to confirm power chords and power supplies are plugged in

Post by warron.french » 2021/01/05 20:26:42

I also just tried:

Code: Select all

sudo lshw --class power
no change in state.
Thanks,
War

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How to confirm power chords and power supplies are plugged in

Post by hunter86_bg » 2021/01/05 21:06:54

The best way would be to access the IPMI (iDRAC, iLO,etc) over ssh and obtain the necessary information from there.
Usually IPMI supports e-mail & snmp traps - so you should be able to monitor it properly.

From Linux perspective - if there is no info from the HW , you cannot obtain such info.

User avatar
warron.french
Posts: 552
Joined: 2014/03/27 20:21:58

Re: How to confirm power chords and power supplies are plugged in

Post by warron.french » 2021/01/06 12:19:42

Thank you both.
Thanks,
War

Post Reply

Return to “CentOS 7 - Hardware Support”