HP Scripting Toolkit for Linux User GuideAbstractThis document provides information about the Scripting Toolkit for Linux utilities and how best to us
insmod /opt/hp/hp-ilo/bin/`uname -r`/hp_ilo.ko6. Mount the network share:mkdir /mnt/toolkit_share7. Capture a hardware discovery report using the HPDI
3. Load the network drivers using the loadnet script:/loadnet.sh4. Load appropriate storage controller drivers:modprobe -f cciss5. Load the channel in
3 Booting and OS installationSYSLINUXSYSLINUX is a free third-party bootloader available on the SYSLINUX web page at (http://syslinux.zytor.com/index.
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}/hpacuscripting./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, 2012 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
The utility displays information about its command line syntax, argument, and switches.Using Scripting Toolkit utilitiesThe Scripting Toolkit utilitie
REBOOT command-line examplesDescriptionCommand-line argumentThis command reboots the system to the A: drive.REBOOT A:This command reboots the system b
NOTE: The STATEMGR utility is not supported on 100 series servers.STATEMGR command-line syntaxSTATEMGR [/R | -R] [EVNAME] [/?]- or -STATEMGR [/W | -W]
RBSURESET command-line syntaxrbsureset [/?]RBSURESET command-line argumentsDescriptionCommand-line argumentThis argument displays help information.[/?
• Processor information• NIC information• PCI devices present in the system• HP Smart Array controller informationUser process decisions can be made b
DescriptionCommand-line argumentdiscovery into device names, such as "Smart Array 5iController."This argument specifies the query expression
Expression examplesResultExpression inputTrue if the Smart Array 5i Controller is found in the system"PCI:Smart Array 5i"True if the amount
Contents1 Introduction...7Scripting Toolkit...
HWQUERY command-line examplesDescriptionCommand-line argumentFor a hpdiscovery.xml file that contains<TotalRAM>768</TotalRAM>, HWQUERY pro
CONREP command-line syntaxconrep [-s | -l] [-xhardware_definition_file] [-fsystem_configuration_file] [-?]CONREP command line argumentsDescriptionComm
CONREP -s (Store to Data file) Example usage for HP ProLiant servers not using theOxx ROM familyTo extract the BIOS settings from an SL160z G6 server
<Slot1>00 </Slot1><BusDev1>00 78 </BusDev1><Rest1>c1 </Rest1></Section><Section name="Language"
<Index0>00 </Index0><Index1>01 </Index1><Index2>03 </Index2><Index3>02 </Index3><Index4>04 </
HPRCU command line argumentsDescriptionCommand line argumentThis argument saves the system configuration to a file.-sThis argument loads the system co
Using HPACUSCRIPTINGStarting with version 8.28.13.0, ACU Scripting is now a standalone application that is distributedwith the ACU CLI application. In
Creating an ACU script fileTo create a valid ACU script file, use one of the following methods:• Modify the sample custom input script (page 37).• Cre
PreferredPathMode = Auto|Manual; COMMENT: the following five entries are used to optimize thecontroller performance for videoMNPDelay = 0|1|2|...|60 ;
The options for each category are listed in the following table and described in more detail in theremainder of this section.DescriptionOptionsCategor
Using HPDISCOVERY...26HPDISCOVERY command-l
Control categoryThe Control category has the following options:• “Action mode” (page 40)• “Method mode” (page 40)Action modeYou must specify an Action
• WWN [N]—Configure the external controller that has the World Wide Name N.• SerialNumber [N]—Configure the shared storage controller that has serial
A "+" indicates that the specified cache ratio is allowed for that type of controller, while a "–"indicates that the ratio is not
In addition, do the following:• Set the MNPDelay to any integer value from 1 to 60 (units are minutes). If you want to disablethis option, set a value
OnlineSpareThe value for this option determines whether the array specified previously in the script will beconfigured with spare drives.Default value
LogicalDriveSSPStateThis option is valid only for controllers that enable SSP on a logical drive basis. Other controllersthat support SSP use the SSPS
SizeEnter the capacity that you want the logical drive to have, in megabytes. The default size settingfor new logical drives is MAX. In this case, ACU
ConnectionNameThis option is a user-defined string used as the connection name for the specified HBA.The string can consist of the following:• A maxim
Comment or clarificationError messageError codeACU does not support multiple simultaneous expansions,migrations, or extensions without saving the conf
Comment or clarificationError messageError codeThis error message appears if you try to change the numberof spares in an array when the configuration
Drive...43DriveType...
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
NOTE: For a complete list of all command-line parameters, execute the /? utility.HPONCFG return codesMeaningValueThe script was sent successfully to t
<SUBNET_MASK VALUE = "255.255.252.0"/><GATEWAY_IP_ADDRESS VALUE = "16.100.240.1"/><DNS_NAME VALUE = "ILOD234KJ
<SESSION_TIMEOUT VALUE="30"/><ILO_FUNCT_ENABLED VALUE="Y"/><F8_PROMPT_ENABLED VALUE="Y"/><REMOTE_CO
7 Documentation feedback...64Acronyms and abbreviations...
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 supportE-mail support for the Scripting Toolkit is available from the HP support website at (http://h18013.www1.hp.com/products/serv
proactive notification but do not need proactive service delivery and integration with amanagement platform.• HP Insight Remote Support Advanced: For
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 SystemCONREP Configuration Replication utilityCPQACUXE Array Configur
TFTP Trivial File Transfer ProtocolUSB universal serial busVPD vital product dataWOL Wake-on LANWWID World Wide IDWWN World Wide NameWWPN worldwide po
IndexAacronyms and abbreviations, 65ACU script file, 37anaconda-ks.cfgsample file, 19BBOOTEXTRACT, 26arguments, 26command-line syntax, 26return codes,
return codes, 28install_win.shsample script, 19installationoperating system, 11unattended operating system, 15ISO imagearguments, 10LLO100CFG, 52argum
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 at(http://w
Komentarze do niniejszej Instrukcji