beautypg.com

A hardware configuration, Hardware – HP OneView for Microsoft System Center User Manual

Page 19

background image

A Hardware Configuration

Hardware configuration, prior to operating system deployment, may not be necessary. Hardware
configuration can also be accomplished via other methods, such as ROM-Based Setup Utility (RBSU)
and Option ROM Configuration for Arrays (ORCA).

IMPORTANT:

Since hardware configuration is performed with the HP Scripting Toolkit for Windows

and with SPP drivers in WinPE, it is susceptible to STK, driver, and WinPE issues. Check for any
advisories before using them.

To add hardware configuration to a task sequence:
1.

Download the latest

HP Scripting Toolkit for Windows

.

2.

Extract x64\tools\* and x64\drivers\winpe40\system\hpsstkio\* into a new
UNC share.

3.

Create or add any input files into the UNC share.

4.

In the UNC share, create a file named drvload.cmd with the following contents:

@echo off
if not exist %systemdrive%\windows\system32\hpsstkio.sys copy hpsstkio.sys
%systemdrive%\windows\system32\drivers

pushd .

reg.exe query HKLM\System\CurrentControlSet\Enum\PCI | find "VEN_103C&DEV_3302"
set ilo2hw=%errorlevel%
reg.exe query HKLM\System\CurrentControlSet\Services\hpqilo2
set ilo2drv=%errorlevel%
if %ilo2hw%==0 if %ilo2drv%==1 (
echo DRVLOAD: Loading iLO2 drivers
cd /d %systemdrive%\windows\system32\driverstore\filerepository\hpqilo2*
drvload.exe hpqilo2.inf
cd /d %systemdrive%\windows\system32\driverstore\filerepository\cpqcidrv*
drvload.exe cpqcidrv.inf
ping localhost -n 60 >nul
)

reg.exe query HKLM\System\CurrentControlSet\Enum\PCI | find "VEN_103C&DEV_3306"
set ilo3hw=%errorlevel%
reg.exe query HKLM\System\CurrentControlSet\Services\hpqilo3core
set ilo3drv=%errorlevel%
if %ilo3hw%==0 if %ilo3drv%==1 (
echo DRVLOAD: Loading iLO3 drivers
cd /d %systemdrive%\windows\system32\driverstore\filerepository\hpqilo3core*
drvload.exe hpqilo3core.inf
cd /d %systemdrive%\windows\system32\driverstore\filerepository\hpqilo3chif*
drvload.exe hpqilo3chif.inf
ping localhost -n 60 >nul
)

popd

5.

Create a new software package with the following properties:

Name = HP ProLiant Hardware Configuration

Select This package contains source files

Source folder = The UNC share created in

Step 2

Select Do not create a program

6.

Distribute the new software package to a distribution point.

19