Creating an iso image to be written to media – HP Scripting Toolkit for Linux 9.60 User Manual

Page 10

Advertising
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

mount -t nfs -o rw,nolock <ip of workstation>:/path/to/toolkit /mnt/toolkit_share

8.

Capture a hardware discovery report using the HPDISCOVERY utility:

cd /mnt/toolkit_share/utilities

./hpdiscovery -f /mnt/toolkit_share/data_files/hpdiscovery.xml

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 HP SSA utility:

cd /mnt/toolkit_share/utilities/hpssascripting

./hpssascripting -c /mnt/toolkit_share/data_files/hpssascripting.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.

10

Deployment using the Scripting Toolkit

Advertising