HP NC373F PCI-E Multifunction 1000SX Gigabit Server Adapter User Manual

Page 14

Advertising
background image

Installation and configuration 14

/opt/hp/iboot_install/scripts/autoinst.xml
/opt/hp/iboot_install/utils/optrom/ibootcfg

Additionally, the directory /opt/hp/iboot_install/ddimages contains driver diskette images for all
supported releases of Linux.

Customizing the control file

Before installing an operating system on your iSCSI boot target drive, you must first customize the sample

ks.cfg file for Red Hat installations. The ks.cfg file copies the required scripts and RPMs to a target disk

and contains the steps to be executed during post-installation. Additionally, it loads and starts the iSCSI
Initiator and connects to the target.

1.

Copy the linux-iscsi-boot source RPM and bnx2 driver source RPM to the
/opt/hp/iboot_install/SRPMS directory.

# mkdir /opt/hp/iboot_install/SRPMS

# cp <rpmpath>/linux-iscsi-boot<version>.src.rpm

/opt/hp/iboot_install/SRPMS

# cp <rpmpath>/bnx2-<version>.src.rpm /opt/hp/iboot_install/SRPMS

2.

Open the ks.cfg file on the iSCSI boot install server.

# vi /opt/hp/iboot_install/scripts/ks.cfg

3.

Modify the following variables as needed to update the hostname and boot loader type. You may
use the default variables if you do not wish to set the hostname. The available values for boot loader

type are GRUB and LiLO and the default value is GRUB.

SYSNAME=<hostname>

BOOT_LOADER=<boot-loader-type>

4.

The driver diskette images can be copied to a removable diskette or USB device, or they can be
accessed through the network using NFS or PXE. Modify the following variables as needed.

a.

For diskette installations, do not modify the COPYMETHOD, NFSSERVER, or NFSSHARE
variables.

b.

For NFS installations, modify the COPYMETHOD, NFSSERVER, and NFSSHARE variables.
COPYMETHOD=nfs
NFSSERVER=<NFS-server-IP>
NFSSHARE=<share-point>

c.

Uncomment the following lines before the %post section.
install
nfs --server=<NFS Server IP> --dir=<path-to-OS-distro-dir>

Creating iSCSI boot driver images (Disk 1 and Disk 2)

1.

Copy the driver diskette images (Disk 1) to a network or storage device

a.

For network installs, skip this step and go to step 5.

b.

For diskette or USB devices execute the following on the iSCSI boot install server:
# cd /opt/hp/iboot_install/ddimages
# mount -o loop iboot_install_<release>_driver.dd /mnt
# cp /opt/hp/iboot_install/scripts/ks.cfg /mnt/ks.cfg
# umount /mnt

2.

Insert a diskette or USB device in the iSCSI boot install server and execute the following:

# umount /dev/fd0 (Ignore any mount error messages)

# dd if=iboot_install_<release>_driver.dd of=/dev/fd0

Advertising