HP SmartStart Scripting Toolkit 8.7 Linux Edition User Guide

Contents 3
Contents
Introduction .................................................................................................................................. 6
SmartStart Scripting Toolkit ......................................................................................................................... 6
Minimum requirements ............................................................................................................................... 6
Deployment using the SmartStart 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 ........................................................................................................... 10
Installing the operating system ......................................................................................................... 10
Advanced topics ......................................................................................................................... 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 ....................................................................................................... 15
Microsoft Windows install_win.sh sample script ................................................................................ 19
Red Hat Linux anaconda-ks.cfg sample file ....................................................................................... 19
Toolkit utilities ............................................................................................................................. 22
Syntax conventions .................................................................................................................................. 22
Utility online help .................................................................................................................................... 22
Using toolkit utilities ................................................................................................................................. 23
Using REBOOT ....................................................................................................................................... 23
REBOOT command-line syntax ........................................................................................................ 23
REBOOT command-line arguments ................................................................................................... 23
REBOOT return codes .................................................................................................................... 24
REBOOT command-line examples .................................................................................................... 24
Using SETBOOTORDER ........................................................................................................................... 24
SETBOOTORDER command-line syntax ............................................................................................ 24
SETBOOTORDER command-line arguments ....................................................................................... 24
SETBOOTORDER return codes ........................................................................................................ 24
SETBOOTORDER command-line examples ........................................................................................ 25
Using STATEMGR .................................................................................................................................... 25
STATEMGR command-line syntax .................................................................................................... 25
STATEMGR command-line arguments ............................................................................................... 25
STATEMGR return codes................................................................................................................. 25
STATEMGR command-line examples ................................................................................................ 26
Using RBSURESET .................................................................................................................................... 26
RBSURESET command-line syntax .................................................................................................... 26
RBSURESET command-line arguments ............................................................................................... 26