HP Linux Server Management Software User Manual

Page 17

Advertising
background image

Advanced topics 17


echo Retrieving State Information...
%Tools%\System\statemgr /r phase

if errorlevel 3 goto State3
if errorlevel 2 goto State2
if errorlevel 1 goto State1
if errorlevel 0 goto State0

:State0

REM *** Configure the target server hardware by reading the
REM *** configuration information in the script file

echo Running Configuration Replication Utility...
%Tools%\System\conrep -l

-f%GlobalData%\HardwareSettings\hwconfig.xml

-x%Tools%\System\conrep.xml

echo Setting State Information...
%Tools%\System\statemgr /w Phase 1

:State1
REM===============================================================
REM *** Configure the array controllers by reading the
REM *** configuration information in the script file and stamping
REM *** it onto the array controllers of the target server
REM===============================================================

echo Configuring the Array Controllers...
%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml

PCI:"Smart Array 5i Controller"
if errorlevel 1 GOTO NEXT1
%Tools%\ACU\bin\hpacuscripting.exe -i

%GlobalData%\ArraySettings\pl-r0.ini
GOTO NEXT5

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

PCI:"Smart Array 6i Controller"
if errorlevel 1 GOTO NEXT2
%Tools%\ACU\bin\hpacuscripting.exe -i

%GlobalData%\ArraySettings\pl-r1.ini
GOTO NEXT5

Advertising
This manual is related to the following products: