VMware Cloud Community
jmedd
Enthusiast
Enthusiast

Update Hardware Status to Clear Battery Charge Warning

After rebooting a host we regularly get a warning that the status of the battery is charging. Annoyingly this also seems to appear at random intervals without a reboot and consequently too many hosts appear with a warning status when all that is wrong with them is that the battery is charging. This does not clear until you navigate onto the Hardware Status tab and run an Update.

I was hoping that it might be possible to do this from PowerCLI so that these warnings can be mass cleared. Any ideas?

Blog: http://jonathanmedd.net | Twitter: @jonathanmedd
Tags (2)
0 Kudos
22 Replies
tresearch
Contributor
Contributor

I have three Dell 2900s (Perc5/i), a 2950 (Perc6/i) and an R710 (Perc6/i). They all have this bug where after a reboot (and presumably a scheduled learn cycle but I haven't actually seen this yet) the battery will show a yellow alarm and be in a "charging" state.

At first, I can confirm through OMSA that the controller battery indeed is "charging". However after a few minutes, sometimes as long as 30min, the battery finishes charging and the alert in OMSA goes away. It does NOT go away in the vSphere Client.

In my case it seems as if I can hit 'Reset Sensors' or 'Update' and both will clear it out, seemingly permanently until the next reboot.

I would also be interested in a PowerCLI option for reading and controlling the sensor data.

0 Kudos
halr9000
Commander
Commander

I just got confirmation that this PowerShell bug is fixed in Windows 7 SP1! I'm also working to get them to backport this to XP.






[vExpert|http://www.vmware.com/communities/vexpert/] 2009-2010, PowerShell MVP, PowerCLI forum moderator

Author of the book: Managing VMware Infrastructure with PowerShell

Co-Host, PowerScripting Podcast (http://powerscripting.net)

Follow me on Twitter: @halr9000

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
0 Kudos
cohncons
Contributor
Contributor

Presumably, the fix will be in an upcoming SP for 2008R2 as well. Any information on a hotfix available prior to SP1?

0 Kudos