beautypg.com

Creating an iso image to be written to media, Configuring the target server – HP Scripting Toolkit for Linux User Manual

Page 10

background image

5.

To add a new device driver name:

modprobe —f hpsa

6.

Load the channel interface driver for iLO:

insmod /opt/hp/hp-ilo/bin/`uname -r`/hp_ilo.ko

7.

Mount the network share:

mkdir /mnt/toolkit_share

8.

Capture a hardware discovery report using the HPDISCOVERY utility:

cd /mnt/toolkit_share/utilities

9.

Capture the system BIOS configuration using the CONREP utility:

cd /mnt/toolkit_share/utilities

./conrep -s -f/mnt/toolkit_share/data_files/conrep.dat

10. Capture the Smart Array configuration using the ACU utility:

cd /mnt/toolkit_share/utilities/hpacuscripting

./hpacuscripting -c /mnt/toolkit_share/data_files/hpacuscripting.dat

11. Capture the iLO configuration using the HPONCFG utility:

cd /mnt/toolkit_share/utilities

./hponcfg -w /mnt/toolkit_share/data_files/hponcfg.dat

12. Edit the iLO configuration report to create an iLO configuration script:

vi /mnt/toolkit_share/data_files/hponcfg.dat

Unmount the network share

umount /mnt/toolkit_share

13. Reboot the source server, and then eject the Toolkit CD.

Creating an ISO image to be written to media

The mkisofs command is used to create an ISO image. The following table describes the arguments
used with this command.

Description

Argument

This argument is the output of the mkisofs command, the ISO file.

-o linuxbootCD.iso

This argument sets isolinux.bin as the bootloader.

-b isolinux/isolinux.bin

This argument sets the volume label of the CD.

-V LinuxBootCD

This argument specifies the target directory that will be the root of
the CD.

./linuxbootCD

To create the ISO image, execute the following command at the shell prompt:

mkisofs -J -iso-level 3 -R -L -o linuxbootCD.iso \

-b isolinux/isolinux.bin -c isolinux/boot.cat \

-V LinuxBootCD \

-no-emul-boot -boot-load-size 4 \

-boot-info-table \

./linuxbootCD

Now, the ISO file can be written to a CD.

Configuring the target server

1.

At the target server, boot the media that contains the custom Scripting Toolkit for Linux image.

10

Deployment using the Scripting Toolkit