HP Scripting Toolkit 9.00 for Linux User Guide

Contents
1 Introduction...............................................................................................6
Scripting Toolkit........................................................................................................................6
Minimum requirements..............................................................................................................6
2 Deployment using the Scripting Toolkit..........................................................7
Deployment overview................................................................................................................7
Sample deployment procedure...................................................................................................7
Creating a network share......................................................................................................8
Capturing a reference configuration from the source server........................................................8
Creating an ISO image to be written to CD.............................................................................9
Configuring the target server.................................................................................................9
Installing the operating system.............................................................................................10
3 Booting and OS installation.......................................................................11
SYSLINUX..............................................................................................................................11
Booting using PXE...................................................................................................................11
Setting up a TFTP server......................................................................................................12
Populating the TFTP directory share......................................................................................13
Setting up a DHCP server...................................................................................................13
Booting from a USB drive key...................................................................................................14
Performing an unattended operating system installation...............................................................14
System hardware configuration............................................................................................14
Microsoft Windows install_win.sh sample script.....................................................................18
Red Hat Linux anaconda-ks.cfg sample file............................................................................18
4 Toolkit utilities..........................................................................................21
Syntax conventions.................................................................................................................21
Utility online help...................................................................................................................21
Using toolkit utilities................................................................................................................21
Using REBOOT.......................................................................................................................22
REBOOT command-line syntax.............................................................................................22
REBOOT command-line arguments.......................................................................................22
REBOOT return codes.........................................................................................................22
REBOOT command-line examples........................................................................................23
Using SETBOOTORDER...........................................................................................................23
SETBOOTORDER command-line syntax.................................................................................23
SETBOOTORDER command-line arguments...........................................................................23
SETBOOTORDER return codes.............................................................................................23
SETBOOTORDER command-line examples.............................................................................23
Using STATEMGR...................................................................................................................23
STATEMGR command-line syntax.........................................................................................24
STATEMGR command-line arguments....................................................................................24
STATEMGR return codes.....................................................................................................24
STATEMGR command-line examples.....................................................................................24
Using RBSURESET...................................................................................................................24
RBSURESET command-line syntax.........................................................................................25
RBSURESET command-line arguments...................................................................................25
RBSURESET return codes.....................................................................................................25
Using BOOTEXTRACT ............................................................................................................25
BOOTEXTRACT command-line syntax...................................................................................25
BOOTEXTRACT command-line arguments..............................................................................25
BOOTEXTRACT return codes...............................................................................................25
Using HPDISCOVERY..............................................................................................................25
Contents 3