HP ProLiant DL380 Server User Manual
Page 14

1.
Using a standard text editor, create or modify the following additional Toolkit files for the
unattended installation:
a.
Edit the STARTDEPLOY.CMD file, which is executed by STARTNET.CMD in Windows PE,
to modify the environment variables to match the locations of the utilities and data files
specific to your deployment infrastructure. You must customize this file for your environment.
In the following example, lines in bold type indicate information that must be modified
for your environment.
The STARTDEPLOY.CMD file is similar to the following:
rem @echo off
REM
REM This is the first Script called from Startnet.cmd stub in
REM the WinPE
REM
REM Make sure that the network is fully started...
REM Sometimes it requires a bit of time
ipconfig
REM Map a drive to the share you are working from
net use s: \\server\share password /user: server\username
REM If none ignore this step and set the drive letter in
REM the following statements to appropriate drive
REM============================================================
set Tools=s:\tkdemoarea\HP\Tools
set MSTools=X:\i386\system32
set GlobalData=s:\tkdemoarea\HP\DeploymentScripts\datafiles
set MSDistribution=s:\tkdemoarea\w2k3entsp1
set HPQFlatFiles=s:\tkdemoarea\hpqflatfiles
set HPQComponents=s:\tkdemoarea\ntcsp
set SystemScripts=s:\tkdemoarea\HP\DeploymentScripts
REM============================================================
net start sysmgmt
REM Call the first Script
call %SystemScripts%\ServerDetect.cmd
echo Done!
b.
Modify the SERVERDETECT.CMD file for your specific environment. This file is provided
in the samples subdirectory. The SERVERDETECT.CMD file does not accept any arguments.
It runs the HPDISCOVERY utility to determine the server type, and then executes a typical
deployment script (DEPLOYSERVER.CMD).
REM @echo off
cd %tools%
%Tools%\System\hpdiscovery -f hpdiscovery.xml
%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml HWQ:SystemName eq "ProLiant DL380
G2"
if errorlevel 1 goto NEXT1
call .\Typical.cmd
goto end
:NEXT1
%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml HWQ:SystemName eq "ProLiant ML370"
if errorlevel 1 goto NEXT2
call .\Typical.cmd
14
Advanced topics
- ProLiant BL465c Server Blade ProLiant BL2x220c G7 Server-Blade ProLiant DL120 G7 Server ProLiant SL250s Gen8 Server ProLiant BL680c G5 Server-Blade ProLiant DL320s Server ProLiant SL230s Gen8 Server ProLiant BL2x220c G6 Server-Blade ProLiant BL480c Server-Blade ProLiant DL385 Server ProLiant BL2x220c G5 Server-Blade Intelligent Provisioning ProLiant BL490c G6 Server-Blade ProLiant BL620c G7 Server-Blade ProLiant DL365 G5 Server ProLiant ML330 G6 Server ProLiant BL490c G7 Server-Blade ProLiant DL360p Gen8 Server ProLiant SL335s G7 Server ProLiant DL320 Server ProLiant BL495c G5 Server-Blade ProLiant BL460c Gen8 Server Blade ProLiant DL360 Server ProLiant BL280c G6 Server-Blade ProLiant ML350p Gen8 Server ProLiant DL585 Server ProLiant ML370 Server ProLiant DL380p Gen8 Server ProLiant SL390s G7 Server ProLiant BL460c Server-Blade ProLiant ML310 G5 Server ProLiant BL680c G7 Server-Blade ProLiant BL260c G5 Server-Blade ProLiant BL495c G6 Server-Blade ProLiant DL160 Gen8 Server ProLiant ML350 Server ProLiant DL370 G6 Server ProLiant BL685c Server-Blade ProLiant DL785 G6 Server ProLiant DL785 G5 Server