HP Scripting Toolkit for Linux 9.60 UserGuideAbstractThis document provides information about the Scripting Toolkit for Linux utilities and how best t
5. To add a new device driver name:modprobe —f hpsa6. Load the channel interface driver for iLO:insmod /opt/hp/hp-ilo/bin/`uname -r`/hp_ilo.ko7. Mount
Configuring the target server1. At the target server, boot the media that contains the custom Scripting Toolkit for Linux image.2. At the boot prompt,
3 Booting and OS installationSYSLINUXSYSLINUX is a free third-party bootloader available on the SYSLINUX web page at http://syslinux.zytor.com/index.p
Setting up a PXE boot environment requires the following general steps:1. Set up a DHCP server with the appropriate options.2. Set up a TFTP server wi
server = /usr/sbin/in.tftpdserver_args = -s /tftpbootdisable = yesper_source = 11cps = 100 2}In this example, disabled is the default setting, and /tf
Booting from a USB drive keySome applications require the use of a writable medium. While booting from CD is not suitablefor this purpose, a USB drive
The scripting for these steps must be adapted to your server deployment process. In particular, besure to change the IP address and path of the NFS se
./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Smart Array 6i Controller" 2> /dev/nullif [ $? = 0 ] ; thencd ${TOOLKIT}/hpssascripting./hp
echo ""echo "Rerun hardware discovery to find boot device"./hpdiscovery -f ${HPDISCOVERY_FILE}## use hwquery to fetch the boot dev
umount /mnt/dosumount ${NFS_MAIN}## unmount everything else#umount -a#echo "Rebooting"#sleep 5#/bin/reboot c:Microsoft Windows install_win.s
Notices© Copyright 2005, 2014 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice. The only
keyboard "us"zerombr yesclearpart --Linuxpart /boot --size 30part swap --size 128part / --size 100 --growinstallmouse genericps/2timezone Et
authconfigautoconfautomakeyp-toolsypbindypservzlibzlib-devel%postThe previous example contains a limited list of packages to be installed. Add to this
4 Scripting Toolkit utilitiesNative package formatsThe Scripting Toolkit utilities are available as standalone RPM and DEB packages.The Scripting Tool
Using Scripting Toolkit utilitiesThe Scripting Toolkit utilities control the installation process, read the source server configuration,and duplicate
REBOOT command-line examplesDescriptionCommand-line argumentThis command reboots the system to the A: drive.REBOOT A:This command reboots the system b
Using STATEMGRThe STATEMGR utility enables the user to keep track of the execution state during system reboots.This utility saves persistent state inf
NOTE: This command is not yet supported on HP ProLiant 100 series servers, but will be infutures releases.RBSURESET command-line syntaxrbsureset [/?]R
Using HPDISCOVERYHPDISCOVERY provides an inventory of the server being configured and must run on each deployedserver. HPDISCOVERY is executed by the
Using IFHWIFHW is used from a script file, in conjunction with other utilities, to control the deployment. TheIFHW utility enables you to make intelli
ResultOperator or termTrue if the first operand is less than or equal to the secondlteTrue if the two operands are equaleqTrue if the two operands are
Contents1 Introduction...7Scripting Toolkit...
DescriptionCommand-line argumentdiscovery into device names, such as "Smart Array 5iController."In this argument, variable is the name of an
can change the default using the -x option. The actual system configuration file is captured as anXML data file. The default name is conrep.dat.CAUTIO
CONREP return codesMeaningValueThe command was completed successfully.0The hardware definition data file (conrep.xml) is corruptor not found.1The syst
Saving configuration data to sl160zconrep.dat.CONREP Return code: 0NOTE: The file names after the -x and -f options must be specified, otherwise, the
<Section name="Diskette_Write_Control">Writes_Enabled</Section><Section name="NMI_Debug_Button">Disabled</Sec
helptext="Lists the current boot controller ordering"><Id0>80 86 25 a3 </Id0><Slot0>00 </Slot0><BusDev0>00
HPRCU return codesDescriptionCommand line argumentThe command was completed successfully.0The server is not supported by this utility.1The input XML f
The HP SSA Scripting application has two scripting modes:• Capture mode for capturing a configuration (page 37)HP SSA inspects the configuration of al
Creating an HP SSA script fileTo create a valid HP SSA script file, use one of the following methods:• Modify the sample custom input script (page 38)
PreferredPathMode = Auto|Manual; COMMENT: the following five entries are used to optimize thecontroller performance for videoMNPDelay = 0|1|2|...|60 ;
Using HPDISCOVERY...27HPDISCOVERY command-l
The options for each category are listed in the following table and described in more detail in theremainder of this section.DescriptionOptionsCategor
Action modeYou must specify an Action mode:• In Configure mode, you can create new arrays, but you cannot modify existing arrays. Thecontroller must b
ChassisNameEnter the user-defined character string that identifies the controller. You can use any of the followingcharacters in the string:a–z, A–Z,
All other controllerswithoutbattery-backed writecacheAll other controllerswith battery-backedwrite cacheRA4x00 with 48MBcacheRA4x00 with 16MBcacheRead
Array categoryThe Array category has the following options:• “Array” (page 44)• “Drive” (page 44)• “DriveType” (page 44)• “OnlineSpare” (page 45)Array
OnlineSpareThe value for this option determines whether the array specified previously in the script will beconfigured with spare drives.Default value
The following defaults apply:• For new logical drives, the default value is Disabled.• For existing logical drives, the default value is the current l
same array, as long as the operating system supports logical drive extension. You cannot reducethe size of the logical drive.CAUTION: Back up all data
The string can consist of the following:• A maximum of 16 characters• Embedded space characters but cannot end with a space character• Any of the foll
Comment or clarificationError messageError codebetween operations. Limit the number of such configurationchanges in the script.—Controller does not su
OnlineSpare...45Logical Drive category...
Comment or clarificationError messageError codeThis error message appears if you try to change the numberof spares in an array when the configuration
Comment or clarificationError messageError codeThe scripted RAID Array ID is invalid. Use characters fromthe set a–z, A–Z, 0–9, !, @, #, *, (, ), ,, -
Comment or clarificationError messageError code—Invalid value for MNPDelay. Valid rangeis 0 (disabled) to 60 minutes.2882—Invalid controller configura
MeaningValueThere was no adapter or Emulex HBA found on this host.5There was an error retrieving the I/O address.6The WWID was invalid because of one
LO100CFG command-line argumentsDescriptionCommand-line argumentThis argument displays example XML to performconfiguration.-xThis argument outputs the
<serial_port mode="dedicated" /><nic mode="dhcp"><ipv4 address="10.10.10.18" mask="255.255.252.0&quo
HPQLAREP return codesMeaningValueThe command was completed successfully.0There was an invalid command line option.1There was a file open error.2There
You must then invoke the tool to load the contents of hba.ini input to the HBA NVRAM: hpqlarep–l hba.ini.Using HPONCFGHP offers support for the iLO fe
HPONCFG return codesMeaningValueThe script was sent successfully to the device.0The script could not be sent to the device. There is an errorin xml.1T
<DNS_NAME VALUE = "ILOD234KJ44D002"/><PRIM_DNS_SERVER value = "16.16.1.161"/><DHCP_ENABLE VALUE = "Y"/>
7 Documentation feedback...65Acronyms and abbreviations...
<F8_PROMPT_ENABLED VALUE="Y"/><REMOTE_CONSOLE_PORT_STATUS VALUE="3"/><REMOTE_CONSOLE_ENCRYPTION VALUE="N"
5 TroubleshootingTroubleshooting tableTroubleshootingIssueImproper use of the Toolkit utilities and modification of theCONREP data files can result in
6 Support and other resourcesInformation to collect before contacting HPBe sure to have the following information available before you contact HP:• So
Scripting Toolkit supportSupport for the Scripting Toolkit is available from the HP support website at www.hp.com/go/ProLiant/STK.Typographic conventi
HP Insight OnlineHP Insight Online is a capability of the HP Support Center portal. Combined with HP Insight RemoteSupport 7.x, it automatically aggre
7 Documentation feedbackHP is committed to providing documentation that meets your needs. To help us improve thedocumentation, send any errors, sugges
Acronyms and abbreviationsACU Array Configuration UtilityBIOS Basic Input/Output SystemCLI Command Linux InterfaceCONREP Configuration Replication uti
SSP Selective Storage PresentationSTATEMGR State Manager utilityTFTP Trivial File Transfer ProtocolUSB universal serial busVPD vital product dataWOL W
IndexAacronyms and abbreviations, 66anaconda-ks.cfgsample file, 19BBOOTEXTRACT, 26arguments, 26command-line syntax, 26return codes, 26Cclearing a conf
install_win.shsample script, 19installationoperating system, 11unattended operating system, 15ISO imagearguments, 10LLO100CFG, 53arguments, 54command
1 IntroductionScripting ToolkitThe Scripting Toolkit is a server deployment product for IT experts that delivers an unattendedautomated installation f
2 Deployment using the Scripting ToolkitDeployment overviewThe Scripting Toolkit includes a set of utilities for configuring and deploying servers in
Creating a network shareTo create a network share:1. Download the appropriate Scripting Toolkit package from the Scripting Toolkit website athttp://ww
Comments to this Manuals