SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Microsoft Windows Server 2003 for Itanium-based Systems

Table Of Contents
The following entry boots executes the main toolkit launch script by getting it from a
Windows machine using the administrator username and password. The script then reads
the server hardware configuration and writes it to the repository.
image=linux
label=readhw-windows
initrd=rootfs.gz
root=/dev/ram
append="rw ramdisk_size=524288 ssstk_init=/bootstrap
ssstk_mount_type=smbfs ssstk_mount=//192.168.39.23/ssst13
ssstk_script=scripts/main_toolkit_launch.sh
ssstk_mount_options=username=administrator,password=hpcomplab
ssstk_action=readhwconfig"
The following entry gets the main script from a repository located on an NFS share.
image=linux
label=nfs
initrd=rootfs.gz
root=/dev/ram
append="rw ramdisk_size=524288 ssstk_init=/bootstrap
ssstk_mount_type=nfs ssstk_mount=repositoryserver:/nfsshare
ssstk_script=scripts/main_toolkit_launch.sh"
The following entry mounts the repository located on a DVD, executes the main script with
the directive to configure the hardware and install Windows.
image=linux
label=install-DVD
initrd=rootfs.gz
root=/dev/ram
append="rw ramdisk_size=524288 ssstk_init=/bootstrap
ssstk_mount=/dev/cdrom
ssstk_script=scripts/main_toolkit_launch.sh ssstk_action=win
Review main_toolkit_launch.sh
The main_toolkit_launch.sh script sets up the toolkit environment, prompts you to read
the hardware configuration or install the OS, and responds to your input. Setting up the
environment involves copying the repository to the ramdisk, making sure the utilities are
executable, creating an inventory of the hardware (hardware discovery), and loading the OEM
device drivers.
The script obtains your input by reading the sstk_action variable in the elilo.conf file or
your choice in the toolkit menu. You can select either win or readhwconfig:
When you select win, the script invokes the windows-setup.sh script to launch the
Windows installation:
if [ ! -e "$RAMDRIVE/scripts/windows-setup.sh" ]
then
echo "Unable to start Windows setup. Script not found"
exit 1
fi
If you select win, the deploy.sh script is executed before windows-setup.sh and applies
the configurations contained in conrep.dat (conrep), acu.ini (cpqacuxe) and hba.ini
(hpqlarep).
When you select readhwconfig, the following tasks are executed in the capture.sh
script:
Runs cpqacuxe to get the configuration of the storage array controller. The script writes
this data to the acu.ini file.
Review main_toolkit_launch.sh 35