HP Linux Server Management Software User Manual
Page 14
Advanced topics 14
REM *** information in the script file and stamping it onto the array
REM *** controllers of the target server
echo Configuring the Array Controllers...
ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array 5i Controller"
if errorlevel 1 GOTO NEXT1
.\ACU\bin\hpacuscripting.exe -i .\ArraySettings\SA5iArray.ini
:NEXT1
ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array 6i Controller"
if errorlevel 1 GOTO NEXT2
.\ACU\bin\hpacuscripting.exe -i .\ArraySettings\SA6iArray.ini
:NEXT2
\ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array 5312"
if errorlevel 1 GOTO NEXT3
.\ACU\bin\hpacuscripting.exe -i .\ArraySettings\SA5312Array.ini
:NEXT3
Querying the HPDISCOVERY file to determine the presence of a
card family
IFHW and HWQUERY can perform queries based on partial name information, enabling you to verify the
presence of a whole family of cards by using a partial query such as Smart Array.
NEXT1:
ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array"
if errorlevel 1 GOTO NEXT2
.\ACU\bin\hpacuscripting.exe -i .\ArraySettings\GeneralArrayConfig.ini
NEXT2:
Before creating a test condition, refer to the allboards.xml file to determine the correct name for the device or
group of devices you want to query.
IMPORTANT:
IFHW is case-sensitive. Incorrect case, misspellings, and incorrect spacing cause
the query to fail.
Performing an unattended operating system
installation and adding mass storage drivers
After the data files are captured from the source servers are generated and modified for the target servers,
modify and save a copy of the following script files to the appropriate location:
•
STARTDEPLOY.CMD
•
SERVERDETECT.CMD
•
DEPLOYSERVER.CMD
•
UNATTEND.TXT
See the operating system documentation for a complete description of the options that can be modified in the
unattended installation file to customize the installation.
To perform an unattended operating system installation and add mass-storage drivers: