beautypg.com

HP Linux Server Management Software User Manual

Page 17

background image

Advanced topics 17

fi

## ADD EXTRA BL45p G1 Configuration Steps HERE

;;

"ProLiant ML310 G2" )

./conrep -l -fdata_files/ml310g2_conrep.dat

./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Intel(R) 6300ESB Ultra ATA

Storage/SATA Controller"

if [ $? = 0 ] ; then

echo "Plain SATA found"

# Plain SATA, set BOOTDEVNODE manually since hardware discovery won't find

IDE devices

export BOOTDEVNODE=/dev/hda

fi

## ADD EXTRA ProLiant ML310 G2 Configuration Steps HERE

;;

## ADD MORE SERVERS HERE

ProLiant* )

echo "No configuration process defined for this ProLiant server"

echo "Update $0 with steps for this ProLiant server"

exec /bin/bash

;;

* )

echo "Unrecognized Server"

exec /bin/bash

;;

esac

## CONTINUE COMMON INSTALL PROCESS

cd ${TOOLKIT}

echo "Pausing to allow drivers to catch up"

sleep 5

echo ""

echo "Rerun hardware discovery to find boot device"

./hpdiscovery -f ${HPDISCOVERY_FILE}

## use hwquery to fetch the boot dev node from hardware discovery file.

if [ -z ${BOOTDEVNODE} ]; then

export `./hwquery ${HPDISCOVERY_FILE} allboards.xml BOOTDEVNODE=DevNode`

fi

echo "Boot Device=${BOOTDEVNODE}"

if [ -z ${BOOTDEVNODE} ]; then

echo "MISSING boot device dev node. Check that the drivers are loaded."

exec /bin/bash

fi

ls -al ${BOOTDEVNODE}*

This manual is related to the following products: