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

Table Of Contents
/usr/sbin/cpqacuxe -c "${CONFIGDIR}/acu.ini"
— Executes conrep to get the EFI environment variables from the server configuration.
The script writes this data to the conrep.dat file.
./conrep --read -f ${CONFIGDIR}/conrep.dat
— Run the hpqlarep utility to enable or disable the EFI boot setting on QLogic 2G or 4G
HBAs. The script writes this data to the hba.ini file:
$UTILITIES/hpqlarep /S "${CONFIGDIR}/hba.ini
If you maintain the repository structure suggested in this guide, you will not have to make any
changes in this script. If you set the sstk_action variable in the elilo.conf file, you will not
need to interact with the script (it will run silently) to execute the option you select
(readhwconfig or win).
The following variables in the main_toolkit_launch.sh script can be edited if necessary:
default can be set to win, bash, readhwconfig, or reboot.
INTERACTIVE can be set to yes or no. Users will have to interact with the scripts,
confirming when prompted that each task may cause data loss. Such tasks include create
partitions, acu, conrep, etc. The default selection is no.
WAIT_TIMEOUT defines how long the script will wait for an answer if the interactive
mode is set to yes. The default selection is zero, which determines to continue waiting for
user interaction.
Edit windows-setup.sh
The windows-setup.sh script starts the Windows installation process after it partitions the
hard disk and copies OS and OEM files into the appropriate partitions.
The script performs the following operations:
1. The script creates four partitions: EFI System Partition (ESP), HP Service Partition (HPSP),
Microsoft Reserved Partition (MSR), and the Microsoft Data (MSDATA) partition.
2. Formats these partitions.
3. Copies the OS files from the repository to the MSDATA partition.
4. Copies the Windows setup loader (setupldr.efi) to the ESP partition.
5. Copies the unattended.txt file to the winnt.sif file on the MSDATA partition.
6. Creates a new boot option in the EFI boot manager which starts the Windows Setup process.
This option is called Windows Setup on non-cellular systems, and SSTK ACPI Config on
cellular systems. On cellular systems this new boot option sets the acpi mode to Windows
and starts the Windows Setup process. This process requires the system to be rebooted twice.
7. Reboots the server.
The script requires the following user input:
Boot device
You must specify the device path of the disk on which the OS is to be installed. The script
captures this data in the DISK variable. You can specify this value either in the script or
respond to a prompt during installation.
For example: DISK = /dev/cciss/c0d0
Boot controller
You must specify the boot controller if Windows is to be installed on a disk array. The script
captures this information in the BOOTCONTROLLER variable and installs the drivers for these
boot controllers during the text mode of Windows setup (when boot drivers are loaded).
You can specify this value either in the script or respond to a prompt during installation.
36 Setting up the toolkit environment