HP Scripting Toolkit for Windows UserGuideAbstractThis document provides information about the Scripting Toolkit for Windows utilities and how best to
2. Copy and then paste the STK IO driver to the windows\system32\drivers directory.NOTE: If the HPSTKIO.SYS driver is not installed, some utilities do
3. Run HPACUSCRIPTING to configure the storage of the target server with the captured settings:a. Change to the directory where HPACUSCRIPTING resides
3 Advanced topicsOverviewThe advanced topics addressed in this section cover some of the most common deployment tasksthat can be automated using the S
.\ACU\bin\hpacuscripting.exe -i .\ArraySettings\SA6iArray.ini:NEXT2\ifhw .\hpdiscovery.xml allboards.xml PCI:"Smart Array 5312"if errorlevel
1. Using a standard text editor, create or modify the following additional Scripting Toolkit filesfor the unattended installation:a. Edit the STARTDEP
goto end:NEXT2%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml HWQ:SystemName eq "ProLiant ML570"if errorlevel 1 goto NEXT3c
c. Edit the DEPLOYSERVER.CMD file for your specific environment.NOTE: The IFHW and HWQUERY utilities can be used to assist in customizing theDEPLOYSER
:NEXT4%Tools%\System\ifhw hpdiscovery.xml %Tools%\System\allboards.xml PCI:"Smart Array P600 Controller"if errorlevel 1 GOTO NEXT5%Tools%\AC
%Tools%\System\reboot c::State42. Using a standard text editor, modify the Windows Server 2003 SP1 UNATTEND.TXT samplefile to fit your deployment requ
CPQCISSM.SYSMegaIDE.sysSymmpi.sysLsiCsb6.sysHPCISSs2.sysAAC.sysTXTSETUP.OEM[GuiUnattended]AdminPassword=passwordAutoLogon=YesAutoLogonCount=1OEMSkipRe
Notices© Copyright 2005, 2012 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice. The only
Accept_CommunityName=publicSend_Authentication=yes[TerminalServices]ApplicationServer=0PermissionsSetting=0[Display]AutoConfirm=1BitsPerPel=16Configur
REM This section performs the System ROM Flash. Online Flash componentsREM are kept in a directory called RomsREM ----Roms\cp004648.exe /INSTPATH:S:\R
REM ----REBOOTREQUIRED:System\reboot PXEHWNOTFOUND:End:For more information about Online ROM Flash Smart Components, see the HP Online ROM FlashUser G
4 Scripting Toolkit utilitiesSyntax conventionsSyntax refers to the way a command and parameters must be entered. Unless specified otherwise,enter com
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
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.[/?
DescriptionCommand-line argumentfilename is not in the current directory, then the full pathmust be specified.This argument chooses the name and locat
IFHW return codesMeaningValueThe expression is true.0The expression is false.1The expression was not understood or an argument was invalid.2IFHW comma
Contents1 Introduction...6Scripting Toolkit for Windows...
ResultExpression inputTrue if the ROM date in the hardware discovery file is not11/12/2004HWQ:ROMDate neq "11/12/2004"True if the system nam
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"
<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
Users familiar with the previous versions of ACU Scripting must now install the ACU CLI applicationto obtain the scripting executable. The new ACU scr
Creating an ACU script fileTo create a valid ACU script file, use one of the following methods:• Modify the sample custom input script (page 38).• Cre
PreferredPathMode = Auto|Manual; COMMENT: the following five entries are used to optimize thecontroller performance for videoMNPDelay = 0|1|2|...|60 ;
Using IFHW...28IFHW command-li
The options for each category are listed in the following table and described in more detail in theremainder of this section.DescriptionOptionsCategor
Control categoryThe Control category has the following options:• “Action mode” (page 41)• “Method mode” (page 41)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
LogicalDrive...45LogicalDriveSSPState...
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
NOTE: For a complete list of all command-line parameters, execute the /? utility.HPONCFG return codesMeaningValueThe script was sent successfully to t
<DOMAIN_NAME VALUE = "americas.cpqcorp.net"/><DHCP_GATEWAY VALUE = "Y"/><DHCP_DNS_SERVER VALUE = "Y"/>
1 IntroductionScripting Toolkit for WindowsThe Scripting Toolkit for Windows is a server deployment product that delivers an unattendedautomated insta
<PREFER_TERMINAL_SERVICES VALUE="N"/><HTTPS_PORT VALUE="443"/><HTTP_PORT VALUE="80"/><REMOTE_CONSOL
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 63)Website addr
installing the latest HP Insight Remote Support Advanced software. This software providescomprehensive remote monitoring and proactive service support
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
WOL Wake-on LANWWID World Wide IDWWN World Wide NameWWPN worldwide port nameXML extensible markup language67
IndexAacronyms and abbreviations, 66ACU script file, 38array configurationserasing, 22Cclearing a configuration, 42configurationcapturing, 37target se
command-line syntax, 53return codes, 54logical drive capacity extension, 47Mmass storage driversadding, 13MaxBoot setting, 46Microsoft Setup Manager,
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 at(http://w
1. Apply the base image (Winpe.wim) by adding imagex to a local Windows PE directory.For example:imagex /apply WinPE.wim 1 c:\winpe_x86\mount\orimagex
Kommentare zu diesen Handbüchern