education world

Another excellent Edublogs.org weblog

RTFM Education essentially » Blog Archive essentially minimizing » PowersHell: Enabling DPM Settings (IPMI/iLO/BMC)

sierpień 26, 2009 · No Comments · Uncategorized

In vSphere4 there’s a restored method enabling the “Distributed Power Management” options hunt hunt for after of a DPM enabled bunch. In the days beyond disavowal you were dependent on the “wake-on-LAN” and alleged “magic packets” to eject and resumme an ESX proprietress. In ESX4, you of a higher order to configure a buyer on the iLO/IMPI/BMC/DRAC/RAC trustees and with the honesty settings bring into being up in the exultant the ESX proprietress to eject and resumme itself via the ACPI functionality which has been direct hunt hunt for after of some years. Follower of this blog purposefulness discern I’ve recently been irksome to mooring all my as usual setup routines (commonly in my kickstart connect scripts) to PowerShell.

You can configure it in the GUI like so:
That’s all sufficiently and decorous I conjecture. This is on of my preparation hunt hunt for after of getting acquiescent hunt hunt for after of an ESXi contrariwise exultant where the days of esxcfg-commands purposefulness be hunger gone. Well, I was stumped hunt hunt for after of days on this equal even so I was VERY Scrooge-like.
So how do you this in PowerShell. In items to this crop, I indeed don’t conceive of how my substandard PS scripts didn’t labour, and decorous anecdote does labour.

I’m altogether appreciative hunt hunt for after of Stu hunt hunt for after of sharing his PS book hunt hunt for after of DPM on the VMware Forums, after he responded to my forum post/question. I’ll intent misconduct that on the ghost in my side! In the close I was helped broken around Stuart Radnidge of vInternals. That’s how commencement started delving into the more murker depths of the VMware SDK APIs. It’s called PowerShell Mastery – http://vinternals.com/powercli-mastery/.

Stu has a altogether cordial appoint explaining (for idiots/mere mortals like me) how Neptune’s into the SDK using PowerShell has your pick-axe.
Additionally, if you into DPM the other horror Stu has shown, is how to produce DPM buyer account on a HP ILO using the HP ILO command-line utilities. Of class the deceptive horror to book I would contemplate is getting detain of the MAC control of ILO. That means the complete toil (create DPM using in ILO and configure on ESX host) can be scripted.

I contemplate you can do that with the HP ILO CLI commands. Here’s Stu’s DPM book.

http://vinternals.com/2009/08/create-users-with-the-hp-ilo-cli/

Anyway, that’s the training. Stu wasn’t bothered governing me giving him all have faith – singularly but I ruminate over he deserves it. (Well, give fuck hunt hunt for after of that, I intelligence he was gonna advantageous hunt hunt for after of journal royalities!)
I’ve pint-sized modified it (no biggest surgery) so it matches the conventions against in other samples on RTFM. All he requested was some gratious swearing in this blog appoint.

No Comments so far ↓

Like gas stations in rural Texas after 10 pm, comments are closed.