ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Script reporting of HP Systems Management Homepage

Goldyfarbs
Occasional Advisor

Script reporting of HP Systems Management Homepage

I am looking for a utility similiar to Dell's Omreport.exe utility which allows us to output the configuration of any part of the server.

I need to be able to dump physical disk setup and virtual disk setup. I have been searching for a while, but can't determine what tool i can use.

Ane help would be greatly appreciated.
thx
josh
2 REPLIES
Goldyfarbs
Occasional Advisor

Re: Script reporting of HP Systems Management Homepage

I think the utility I need is
hpacucli.exe

I have been playing around with it.

Am I on the right track?
Goldyfarbs
Occasional Advisor

Re: Script reporting of HP Systems Management Homepage

Ok guys, I have come up with some script so far.. This is what i have..

strComputer = "."
Set oWMI = GetObject("WinMgmts://" & strComputer & "/root/cimv2")
Set cComputerData = oWMI.ExecQuery("SELECT * FROM Win32_ComputerSystem")
For Each oItem In cComputerData
WScript.Echo "Manufacturer: " & oItem.Manufacturer
Manufacturer = oItem.Manufacturer
Next
call main()
function main()
'Manufacturer specific task
Select Case ucase(left(Manufacturer, 2))
Case "DE"
call dell()
call getOMReport_phy()
case "HP"
Call hp()
Case "CO"
Call hp()
Case "VM"
Call vm()
end Select

end Function

'this is just the hp section
Function hp()
WScript.Echo "----------------------------------------------------------------"
WScript.Echo " HP RAID Configuration "
WScript.Echo "----------------------------------------------------------------"
path = "C:\Program Files\Compaq\Hpacucli\Bin\hpacucli.exe ctrl all show config detail"
set sh = CreateObject("Wscript.Shell")
Set process = sh.Exec(path)
stdout = process.stdout.ReadAll()
WScript.Echo ""
wscript.echo stdout
WScript.Echo ""
end Function

~~~~~~~~~~~~~~~~~~~~~~~~

I just have to test hot spares out and see how that works..