HP Scripting Toolkit for Windows 9.50 UserGuideAbstractThis document provides information about the Scripting Toolkit for Windows utilities and how be
3. For each additional device driver repeat steps 1 and 2. When you finish customizing theimage, prepare the image for deployment by using the peimg /
Configuring the target server and installing the operating system1. Boot the media (CD/DVD, USB drive key, or PXE) that contains the customized Window
3 Advanced topicsOverviewThe advanced topics addressed in this section cover some of the most common deployment tasksthat can be automated using the S
.\SSA\bin\hpssascripting.exe -i .\ArraySettings\SA6iArray.ini:NEXT2\ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array 5312"if errorlevel
System\ifhw hpdiscovery.xml System\allboards.xml HWQ:SystemName eq "ProLiant DL380 G2"if errorlevel 1 goto NEXT1REM ----REM This section per
NEXT3:REM ----REM DONEREM ----REBOOTREQUIRED:System\reboot PXEHWNOTFOUND:End:For more information about Online ROM Flash Smart Components, see the HP
4 Scripting Toolkit utilitiesSyntax conventionsSyntax refers to the way a command and parameters must be entered. Unless specified otherwise,enter com
The Scripting Toolkit utilities include:• REBOOT• SETBOOTORDER (Limited functionality for HP ProLiant 100 series servers)• STATEMGR (Utility is not su
Using SETBOOTORDERSETBOOTORDER enables you to set the order in which devices are booted, including diskettedrives, CD-ROM or DVD drives, hard drives,
STATEMGR command-line argumentsDescriptionCommand-line argumentThis argument reads the state of the environment variabledefined by [EVNAME]. The value
Notices© Copyright 2005, 2013 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice. The only
RBSURESET return codesMeaningValueThe BIOS settings have been successfully reset to the factorydefault.0The BIOS settings have not been reset.1Using H
HPDISCOVERY return codesMeaningValueThe command was completed successfully. A usagemessage might appear.0An error has occurred. See error message for
IFHW command line examplesDescriptionCommand-line argumentThis command returns the following error levels:ifhw hpdiscovery.xml allboards.xml "PCI
ResultExpression inputTrue if the system is a ProLiant DL380 G2 with a SmartArray 5i Controller present and a ROM date of11/12/2004HWQ:SystemName eq &
DescriptionCommand-line argumentMY_SYS_RAM=768For a hpdiscovery.xml file that indicates a Smart Array5i Controller is present, HWQUERY produces the fo
CONREP command line argumentsDescriptionCommand-line argumentThis argument saves the system configuration to a file.-sThis argument loads the system c
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"
<Index1>01 </Index1><Index2>03 </Index2><Index3>02 </Index3><Index4>04 </Index4><Index5>ff </
DescriptionCommand line argumentName of the input or output file. If not specified, the XMLconfiguration defaults to hprcu.xml.-f{file.xml}This argume
Contents1 Introduction...6Scripting Toolkit for Windows...
For more information, see the Configuring Arrays on HP Smart Array Controllers Reference Guideon the HP website at http://www.hp.com/support/CASAC_RG_
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 31)
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
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 37)• “Drive” (page 37)• “DriveType” (page 37)• “OnlineSpare” (page 38)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
IFHW command-line syntax...21IFHW command-line arguments
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
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
LogicalDriveSSPState...38ParityGroups...
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.1If the script itself fails
<DHCP_STATIC_ROUTE VALUE = "Y"/><DHCP_WINS_SERVER VALUE = "Y"/><REG_WINS_SERVER VALUE = "Y"/><PRIM_
<REMOTE_CONSOLE_PORT VALUE="23"/><TERMINAL_SERVICES_PORT VALUE="3389"/><VIRTUAL_MEDIA_PORT VALUE="17988"/
5 TroubleshootingTroubleshooting tableTroubleshootingIssueImproper use of the Scripting Toolkit utilities andmodification of the CONREP data files can
6 Support and other resourcesInformation to collect before contacting HPBe sure to have the following information available before you contact HP:• So
Typographic conventionsTable 1 Document conventionsElementConventionCross-reference links and e-mail addressesBlue text: Table 1 (page 56)Website addr
HP Insight OnlineHP Insight Online is a new capability of the HP Support Center portal. Combined with HP InsightRemote Support 7.x, it automatically a
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 UtilityADG Advanced Data Guarding (also known as RAID 6)API application program interfaceBIOS Basic
1 IntroductionScripting Toolkit for WindowsThe Scripting Toolkit for Windows is a server deployment product that delivers an unattendedautomated insta
WMI Windows Management InstrumentationWOL Wake-on LANWWID World Wide IDWWN World Wide NameWWPN worldwide port nameXML extensible markup language60 Acr
IndexAacronyms and abbreviations, 59array configurationserasing, 15Cclearing a configuration, 35configurationcapturing, 30target server, 11configurati
LLO100CFG, 46arguments, 47command file, 47command-line syntax, 46return codes, 47logical drive capacity extension, 39MMaxBoot setting, 39Nnetwork shar
2 Deployment using the Scripting Toolkit for WindowsDeployment overviewThe Scripting Toolkit includes a set of utilities for configuring and deploying
Creating a network shareTo create a network share:1. Download the appropriate Scripting Toolkit SoftPaq from the Scripting Toolkit website athttp://ww
is installed and the STK IO driver (hpsstkio.sys) is copied to the windows\system32\drivers directory.To add drivers offline:1. Mount the base image t
Komentáře k této Příručce