beautypg.com

HP Linux Server Management Software User Manual

Page 16

background image

Advanced topics 16

%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
goto end

:NEXT2
%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml

HWQ:SystemName eq "ProLiant ML570"
if errorlevel 1 goto NEXT3
call .\Typical.cmd
goto end

:NEXT3
%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml

HWQ:SystemName eq "ProLiant BL10e"
if errorlevel 1 goto NEXT4
call .\Typical.cmd
goto end

:NEXT4
REM *** Insert additional server tests as needed for your environment

cd \
:end

c.

Edit the DEPLOYSERVER.CMD file for your specific environment.

NOTE:

The IFHW and HWQUERY utilities can be used to assist in customizing the

DEPLOYSERVER.CMD script for your environment. For more information about these utilities, see

the "Toolkit utilities (on page

25

)" section.

The DEPLOYSERVER.CMD file is similar to the following:

rem @echo off
cls
echo [ SCRIPT FOR REMOTE INSTALL OF W2K3 ON TYPICAL SERVER ]

REM pause

This manual is related to the following products: