Software Instruction Manual

Advanced topics 14
RAID 5 ADG setting. The following example demonstrates how to use IFHW to detect a particular card or
device:
REM *** Configure the array controllers by reading the configuration
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 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