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

Page 18

Advertising
background image

Installation and configuration 18

append initrd=<path-to-OS-distro-dir>/images/pxeboot/\
initrd.img ramdisk_size=10000 dd=nfs:<nfs ip>:/opt/hp/\
iboot_install/ddimages/iboot_install_<release>.dd \
ks=nfs:<nfs ip>:/opt/hp/iboot_install/scripts/ks.cfg

7.

Optionally, you can modify /tftpboot/linux-install/msgs/boot.msg to use custom boot messages.

Installing targets using PXE

1.

Power up the server.

2.

Immediately review the iSCSI option ROM messages during POST to confirm that the Option ROM
initialized successfully and is able to login onto the target disk.

3.

When prompted, press <F12> for PXE installation.

4.

Enter the label number (specified in the above section) at the PXE boot prompt and press the Enter
key. The installation starts pulling the installation sources from the NFS server.

RH5 installations

The following describes how to install RH5 on iSCSI boot targets.

Installing the binary RPM

To install the binary RPM for Red Hat EL5 or SLES 10, enter the following command on the install server:

# rpm -ihv /<rpmpath>/hp-iscsi-boot-<version>.i386.rpm

If HP linux-iscsi-install-<version>.rpm (for Red Hat EL4, and SLES9) is installed on the system, use the --force

option with the rpm command:

# rpm --force -ihv <rpmpath>/hp-iscsi-boot-<version>.i386.rpm

The following files are installed:

/opt/hp/hp-iscsi-boot/scripts/configure

/opt/hp/hp-iscsi-boot/scripts/install_bnx2

/opt/hp/hp-iscsi-boot/scripts/connect_iscsi_target

/opt/hp/hp-iscsi-boot/scripts/prep_iscsi_boot

/opt/hp/hp-iscsi-boot/scripts/get_interface

/opt/hp/hp-iscsi-boot/scripts/get_iscsi_conf

/opt/hp/hp-iscsi-boot/scripts/autoinst.xml

/opt/hp/hp-iscsi-boot/scripts/ks.cfg

/opt/hp/hp-iscsi-boot/scripts/network_iscsi_init

/opt/hp/hp-iscsi-boot/scripts/network_iscsi_up

/opt/hp/hp-iscsi-boot/scripts/rhel5ipconfig

/opt/hp/hp-iscsi-boot/scripts/rhel5mkinitrd

/opt/hp/hp-iscsi-boot/utils/optrom/ibootcfg

/opt/hp/hp-iscsi-boot/utils/bin/rebuild_initrd

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.

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

# vi /opt/hp/hp-iscsi-boot/scripts/ks.cfg

Advertising