HP Scripting Toolkit for Windows 9.60 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:Erasing array configurationsBefore beginning the deployment process, you
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
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
Notices© Copyright 2005, 2014 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice. The only
RBSURESET does not erase array configurations or logical storage volumes.RBSURESET command-line syntaxrbsureset [-h]RBSURESET command-line argumentsDe
DescriptionCommand-line argumentThis argument chooses the name and location of theconfiguration file. If the user does not pass in this–cparameter, th
IFHW command-line argumentsDescriptionCommand-line argumentThis argument specifies the hardware discovery file usedto run the query.[drive:][path]hpdi
ResultOperator or termThe hardware discovery file is searched for <string>, and the corresponding value is the valueof this term. <string>
HWQUERY return codesMeaningValueThe command was completed successfully.0N arguments were ignored because they were not in thevariable=<string> f
www.hp.com on the support page for each platform. You can use these files with the -x option toconfigure systems that are not supported by the default
CONREP screen outputA typical screen output generated by CONREP is similar to the following:conrep 3.00 - Scripting Toolkit Configuration Replication
Processor Manufacturer : IntelXML System Configuration : conrep_SL160zg6_20090728.xmlHardware Configuration : sl160zconrep.datLoading configuration fr
</Conrep_data>CONREP command file contentsA typical data file generated by the CONREP command is similar to the following:<?xml version="
Using HPRCU has the following features:• All system ROM settings and the current selections are listed together in one output/input XMLfile.• No updat
Contents1 Introduction...6Scripting Toolkit for Windows...
<informational> <product name>ProLiant DL380 Gen8</product_name> <system_rom_family>P64</ system_rom_family >
Using an Input scriptTo use an Input script to configure or reconfigure a system, first locate a suitable HP SSA script orsee “Creating an HP SSA scri
Controller = All | First | Slot [N][:N]| WWN [N]| SerialNumber [N]|IOCabinet [N],IOBay [N],IOChassis [N],Slot [N],Cabinet [N],Cell [N]ClearConfigurati
ConnectionName = UserDefinedNameHostMode = Default | Windows | Windows(degrade | openVMS | Tru64 |Linux | Solaris | Netware | HP | Windows Sp2 ; COMME
DescriptionOptionsCategoryParityGroupsAlthough the LogicalDrive option must begin this section of the script, youcan script the other options in this
• QueueDepth (page 37)• ReadCache (page 36)• RebuildPriority (page 36)• SSPState (page 36)• SurfaceScanDelay (page 37)• WriteCache (page 36)Controller
Not all controllers support this feature, and controllers in an active/standby configuration disregardthis option.• Auto is the default setting for ne
NOTE: The SSPState option is valid only for controllers that enable SSP on a controller basis,such as the MSA1000 or the Smart Array Cluster Storage c
If you use Custom method mode, choose one of the following methods to specify the drives to beused in the array. Different arrays on the same controll
ArrayAcceleratorThis option specifies whether the array accelerator is enabled or disabled for the specified logicaldrive. The default value is Enable
IFHW command-line syntax...21IFHW command-line arguments
SectorsThis option specifies the number of sectors that are to comprise each track. Enter 32 to disableMaxBoot or 63 to enable it.• For new logical dr
size, HP SSA attempts to migrate the logical drive to the stripe size that you specify. (If youintend to migrate the logical drive, back up all data b
Comment or clarificationError messageError codeAn error occurred during the configuration process, but HPSSA cannot identify the error because there i
Comment or clarificationError messageError codeThe script file has commands that require an array, but noarray is specified.Array not specified.2826Th
Comment or clarificationError messageError codeThe specified stripe size is invalid, or not supported by thecurrent RAID level, or not possible with t
Comment or clarificationError messageError codeThe <text> command does not belong in the Logical Drivesection of the script file.<text> is
DescriptionCommand-line argumentYour input or current value when read from HBABootDeviceWWID=22334455Your input, default LUN, or current value when re
You must then invoke the tool to load the contents of hba.ini input to the HBA NVRAM: hplpcfg /lhba.ini.Using LO100CFGNOTE: This section applies only
MeaningValueField in the XML file has invalid values. Valid fields stillapplied.102The Lights Out 100 returned a code the application didnot expect. S
HPQLAREP command-line argumentsDescriptionCommand-line argumentThis argument saves the HBA configuration to the filename.hpqlarep —s filenameThis argu
PreferredPath...39RAID...
HPQLAREP command-line exampleshpqlarep —s hba.ini generates hba.ini with the following content:[HBA0]WWID=11111111HostAdapterBiosEnable=1SelectBootEna
DescriptionCommand-line argumentThis argument sets the iLO configuration based on theinformation in the XML input file named filename.-f filenameThis
<DIR_OBJECT_DN VALUE = " "/><DIR_OBJECT_PASSWORD VALUE = ""/><DIR_USER_CONTEXT_1 VALUE = ""/><DIR_U
<GET_GLOBAL_SETTINGS /></RIB_INFO></LOGIN></RIBCL>The XML commands are read from the input fileget_global.xmland are processed
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
With specific authorization from you, an authorized HP Channel Partner can also view your ITenvironment remotely at HP Insight Online.For more informa
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
arguments, 47command file, 48command-line syntax, 47return codes, 47logical drive capacity extension, 40MMaxBoot setting, 40Nnetwork sharecreating, 8O
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 package 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