Unsolved

This post is more than 5 years old

1 Message

14764

October 19th, 2009 09:00

VBScript for chaning power state using WS-Man via iDRAC

This VBScript will request a target system power state change via the iDRAC using the WS-Man protocol. The script takes as input the IP Address of the target system iDRAC, the username of an iDRAC identity with Execute Server Command privilege, the password for the username and the requested power state. Possible power states include 2=ON, 8=OFF, 5=Power Cycle, 12=Graceful Off, 15=Graceful Power Cycle.
Here is the file:
http://attachments.wetpaintserv.us/DeyIAG7fdRClOyoeWzic3w%3D%3D4848

3 Posts

February 11th, 2010 16:00

I tried this script on both a PE 1950 and a M710 blade with no luck. Does anyone out there have any experience with this script? I'm trying to put together a VB /PowerShell script to power on my servers at our DR site, normally the servers are powered down.

Thanks in advance!

342 Posts

February 15th, 2010 12:00

I used that script few weeks back for testing on my R710 before I recorded my WSMAN demo. Worked fine, AFTER I upgraded the bios/firmware on the system.

What firmware rev is your idrac ?

3 Posts

February 18th, 2010 14:00

"I used that script few weeks back for testing on my R710 before I recorded my WSMAN demo. Worked fine, AFTER I upgraded the bios/firmware on the system.

What firmware rev is your idrac ?"
Hi Scott,
I have the latest CMC (2.11 A00), BIOS (1.3.6) and iDrac FW (2.20 A01)on the M710. I know the script is making it to the iDrac because if I deliberately use a bad password I get an access denied, if I use the correct creds the following is returned:

Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

s:Receiverwsman:InternalEr
rorThe service cannot comply with the request due to internal process
ing errorsClass not found

Thx in advance!

March 10th, 2010 12:00

The fault is occurring only with modular iDRAC. I have updated the script that works around this fault. In addition, the script can target the CMC to control power on the blades in the chassis. Here is the link: http://attachments.wetpaintserv.us/bS%24XbHSXzgGkCyzW7IsSvg%3D%3D7451

3 Posts

March 10th, 2010 14:00

This worked great! Thx!
No Events found!

Top