HP SmartStart-Software User Manual
Page 16
Advanced topics 16
./load_modules.sh
echo ""
echo "Pausing to allow drivers to finish loading"
sleep 15
echo ""
echo "Configure server"
## run hardware discovery
./hpdiscovery -f ${HPDISCOVERY_FILE}
## use hwquery to fetch the SystemName from hardware discovery file. (
extra " " are required )
export "`./hwquery ${HPDISCOVERY_FILE} allboards.xml
SERVERNAME=SystemName`";
echo "Server Type: ${SERVERNAME}"
case "${SERVERNAME}" in
"ProLiant DL380 G4" )
# Apply System Configuration
./conrep -l -fdata_files/dl380g4_conrep.dat
# Apply Array Configuration for Smart Array 6i Controller if present
./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Smart Array 6i Controller"
2> /dev/null
if [ $? = 0 ] ; then
cd ${TOOLKIT}/hpacuscripting
./hpacuscripting -i ../data_files/dl380g4_sa6i_hpacuscripting.dat
fi
# Apply Array Configuration for Smart Array P600 Controller if present
./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Smart Array P600
Controller" 2> /dev/null
if [ $? = 0 ] ; then
cd ${TOOLKIT}/hpacuscripting
./hpacuscripting -i ../data_files/dl380g4_p600_hpacuscripting.dat
fi
## ADD EXTRA DL380 G4 Configuration Steps HERE
;;
"ProLiant BL45p G1" )
./conrep -l -fdata_files/bl45pg1_conrep.dat
# Apply Array Configuration for Smart Array 6i Controller if present
./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Smart Array 6i Controller"
2> /dev/null
if [ $? = 0 ] ; then
cd ${TOOLKIT}/hpacuscripting
./hpacuscripting -i ../data_files/bl45pg1_sa6i_hpacuscripting.dat
fi
## ADD EXTRA BL45p G1 Configuration Steps HERE
;;