ProLiant Servers (ML,DL,SL)
1748128 Members
3667 Online
108758 Solutions
New Discussion юеВ

Re: P400 Smart Array, WINPE via ADS, HWDISCOVERY

 
Patman
Occasional Contributor

P400 Smart Array, WINPE via ADS, HWDISCOVERY

I have been trying to get HWDISCOVERY.exe to write the output xml file to the WINPE RAM disk and to a network share mapped from WINPE to no avail.
I am using Microsoft Automated Deployment Service to build all HP server types, and up to this point I have been using a virtual floppy to set the Smart Array controller and BIOS config with no problems. Now I have the new P400 controller that cannot be configured via the old DOS ACU.exe tool. I am trying to use CPQACUXE with HWDISCOVERY.EXE and IFHW.EXE to detect the hardware type via the ADS WINPE RAM disk.
All I get is access denied when trying to use HWDISCOVERY.EXE even when the permissions to the network share are set to fully open.
Anyone been able to get HWDISCOVERY.EXE to write the .xml file to anywhere via WINPE?
3 REPLIES 3
Jeff Easton
Occasional Advisor

Re: P400 Smart Array, WINPE via ADS, HWDISCOVERY

I just tried updating my WinPE based unattend server build by replacing the SSSTK v1.4 executables with the v1.6 versions and found the same problem. My scripts calling HWdiscovery used to work with the v1.4 version, but the v1.6 version does not generate a output file.

I have emailed HP support. I'll let you know what I find out...
Josh Catana
Occasional Advisor

Re: P400 Smart Array, WINPE via ADS, HWDISCOVERY

I've got this working. I had to use a third party Ram Disk utility since the one provided by Microsoft would not work with the version of WinPE I had.
Patman
Occasional Contributor

Re: P400 Smart Array, WINPE via ADS, HWDISCOVERY

I got this working within ADS WINPE.
This is a batch file I use that is loaded into the WINPE RAMDISK reposiroty in ADS.
The ADS script calls this file and it runs on the X: drive RAMDISK that the server loads up.
Why I got the permissions problems in the first place and why it started working here seems to be because the HWDISCOVERY tool needs WMI turned on in WINPE.
See Microsofts WINPE.CHM help file for full details.

***************************
Path = x:\I386\SYSTEM32\tools\ENTDCS

REM *** ----------------------------------------------------------------------------------------------------
REM *** Check Server Type and SCSI type
REM *** ----------------------------------------------------------------------------------------------------


hwdiscovery.exe hwdisc.xml


:DL380G4
ifhw.exe hwdisc.xml allboards.xml HWQ:SystemName eq "ProLiant DL380 G4" AND PCI:"Smart Array 6i Controller"
if errorlevel 1 goto DL380G5
conrep.exe -l -fDL380G4.xml
if not errorlevel 0 goto BIOSERROR
hpacubin -i erase.ini
hpacubin -i DL380G4.ini
if errorlevel 1 goto ARRAYERROR
goto SUCCESS


:DL380G5
ifhw.exe hwdisc.xml allboards.xml HWQ:SystemName eq "ProLiant DL380 G5" AND PCI:"Smart Array P400 Controller"
if errorlevel 1 goto DL380G3
conrep.exe -l -fDL380G5.xml
if not errorlevel 0 goto BIOSERROR
hpacubin -i erase.ini
hpacubin -i DL380G5.ini
if errorlevel 1 goto ARRAYDL380G5X
goto SUCCESS
:ARRAYDL380G5X
hpacubin -i erase.ini
hpacubin -i DL380G5X.ini
if errorlevel 1 goto ARRAYERROR
goto SUCCESS


:DL380G3
ifhw.exe hwdisc.xml allboards.xml HWQ:SystemName eq "ProLiant DL380 G3" AND PCI:"Smart Array 5i Controller"
if errorlevel 1 goto DL580G2
conrep.exe -l -fdl380g3.xml
if not errorlevel 0 goto BIOSERROR
hpacubin -i erase.ini
hpacubin -i DL380G3.ini
if errorlevel 1 goto ARRAYERROR
goto SUCCESS



:DL580G2
ifhw.exe hwdisc.xml allboards.xml HWQ:SystemName eq "ProLiant DL580 G2" AND PCI:"Smart Array 5i Controller"
if errorlevel 1 goto DL580G3
conrep.exe -l -fDL580G2.xml
if not errorlevel 0 goto BIOSERROR
hpacubin -i erase.ini
hpacubin -i DL580G2.ini
if errorlevel 1 goto ARRAYERROR
goto SUCCESS



:DL580G3
ifhw.exe hwdisc.xml allboards.xml HWQ:SystemName eq "ProLiant DL580 G3" AND PCI:"Smart Array 6i Controller"
if errorlevel 1 goto DL580G4
conrep.exe -l -fDL580G3.xml
if not errorlevel 0 goto BIOSERROR
hpacubin -i erase.ini
hpacubin -i DL580G3.ini
if errorlevel 1 goto ARRAYERROR
goto SUCCESS


:DL580G4
ifhw.exe hwdisc.xml allboards.xml HWQ:SystemName eq "ProLiant DL580 G4" AND PCI:"Smart Array P400 Controller"
if errorlevel 1 goto HARDWAREFAILURE
conrep.exe -l -fDL580G4.xml
if not errorlevel 0 goto BIOSERROR
hpacubin -i erase.ini
hpacubin -i DL580G4.ini
if errorlevel 1 goto ARRAYDL580G4X
goto SUCCESS
:ARRAYDL580G4X
hpacubin -i erase.ini
hpacubin -i DL580G4X.ini
if errorlevel 1 goto ARRAYERROR
goto SUCCESS



:HARDWAREFAILURE
echo This hardware configuration is not supported.
Goto END


:ARRAYERROR
echo Unable to configure this Disk array. Check physical disks for problems.
Goto END

:BIOSERROR
echo Unable to configure the BIOS
Goto END

:SUCCESS
echo The disk array and BIOS have been successfully configured
exit

:END
failed
***************************