Creating an iso image to be written to media, Configuring the target server – HP Intelligent Provisioning User Manual

Page 10

Advertising
background image

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

6.

Mount the network share:

mkdir /mnt/toolkit_share

7.

Capture a hardware discovery report using the HPDISCOVERY utility:

cd /mnt/toolkit_share/utilities

8.

Capture the system BIOS configuration using the CONREP utility:

cd /mnt/toolkit_share/utilities

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

9.

Capture the Smart Array configuration using the ACU utility:

cd /mnt/toolkit_share/utilities/hpacuscripting

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

10. Capture the iLO configuration using the HPONCFG utility:

cd /mnt/toolkit_share/utilities

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

11. 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

12. 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.

2.

At the boot prompt, type bash and then press Enter. When the process is complete, a command
prompt appears.

10

Deployment using the Scripting Toolkit

Advertising