HP SmartStart Scripting Toolkit Windows Edition User Guide Part Number 415598-403 June 2010 (Twelfth Edition)
Deployment using the SmartStart Scripting Toolkit 10 Adding drivers to Windows PE 2.1 The SmartStart Scripting Toolkit contains HP drivers that are
Deployment using the SmartStart Scripting Toolkit 11 For example: dism /image:C:\SSSTK.TMP /Add-Driver /driver:C:\ssstk\hpDrivers\example.inf 3. Fo
Deployment using the SmartStart Scripting Toolkit 12 You cannot capture and apply Lights-Out settings using HPONCFG in the same fashion as CONREP an
Advanced topics 13 Advanced topics Overview The advanced topics addressed in this section cover some of the most common deployment tasks that can be
Advanced topics 14 RAID 5 ADG setting. The following example demonstrates how to use IFHW to detect a particular card or device: REM *** Configure t
Advanced topics 15 See the operating system documentation for a complete description of the options that can be modified in the unattended installat
Advanced topics 16 HPDISCOVERY utility to determine the server type, and then executes a typical deployment script (DEPLOYSERVER.CMD). REM @echo off
Advanced topics 17 rem @echo off cls echo [ SCRIPT FOR REMOTE INSTALL OF W2K3 ON TYPICAL SERVER ] REM pause echo Retrieving State Information...
Advanced topics 18 if errorlevel 1 GOTO NEXT2 %Tools%\ACU\bin\hpacuscripting.exe -i %GlobalData%\ArraySettings\pl-r1.ini GOTO NEXT5 :NEXT2 %Tools%\
Advanced topics 19 REM *** REBOOT if necessary %Tools%\System\reboot PXE :State2 REM=============================================================
© Copyright 2005, 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warr
Advanced topics 20 add mass-storage drivers, you must modify the [MassStorageDrivers] and the [OEMBootFiles] sections. You can also use Microsoft® S
Advanced topics 21 ADPU160M.SYS CPQARRY2.SYS CPQCISSM.SYS MegaIDE.sys Symmpi.sys LsiCsb6.sys HPCISSs2.sys AAC.sys TXTSETUP.OEM [GuiUnattended] Admi
Advanced topics 22 TSClients=On TSEnable=On [Networking] InstallDefaultComponents=Yes [Identification] JoinWorkgroup=WORKGROUP [NetOptionalCompon
Advanced topics 23 NOTE: Booting from a USB drive key is supported only on certain ProLiant servers. For more information, see the HP Insight Foun
Advanced topics 24 REM ---- if errorlevel 3 goto HWNOTFOUND if errorlevel 2 goto REBOOTREQUIRED if errorlevel 1 goto NEXT2 goto end NEXT2: REM ----
Advanced topics 25 2. Use ACU to erase the array configurations: hpacuscripting -i erase.ini The erase.ini file is provided in the Toolkit sample fi
Toolkit utilities 26 Toolkit utilities Syntax conventions Syntax refers to the way a command and parameters must be entered. Unless specified otherw
Toolkit utilities 27 Utility online help Most Toolkit utilities include usage instructions. To obtain help with the syntax, parameters, and switches
Toolkit utilities 28 Command line argument Description the next reboot, and the system is restarted. If no argument is provided, then the system is
Toolkit utilities 29 SETBOOTORDER return codes Value Meaning 0 The boot order was set successfully. SETBOOTORDER command-line example
Contents Introduction ...
Toolkit utilities 30 STATEMGR return codes Value Meaning 0 The command was completed successfully. n N arguments were
Toolkit utilities 31 • System name • ROM information • Processor information • NIC information • PCI devices present in the system • HP Smart
Toolkit utilities 32 NOTE: Before running HPDISCOVERY, you must install WMI. For details on installing extra packages in Windows® PE, see the Wind
Toolkit utilities 33 IFHW command line examples Command-line argument Description ifhw hpdiscovery.xml allboards.xml "PCI:Smart Array 5i"
Toolkit utilities 34 Expression input Result HWQ:SystemName eq "ProLiant DL380 G2" and "PCI:Smart Array 5i" and HWQ:ROMDate eq
Toolkit utilities 35 Command-line argument Description MY_SYS_RAM=TotalRAM <TotalRAM>768</TotalRAM>, HWQUERY produces the following: MY
Toolkit utilities 36 IMPORTANT: The file format for the DOS version of CONREP and the current version of CONREP are not compatible. CONREP comm
Toolkit utilities 37 CONREP screen output A typical screen output generated by CONREP is similar to the following: conrep 3.00 - SmartStart Scriptin
Toolkit utilities 38 helptext="Lists of PCI devices and their interrupts-not displayed if default" >EMPTY_DELETE</Section> <Se
Toolkit utilities 39 CONREP –l (Load from Data File) Example Usage for HP ProLiant 100 series servers To load the BIOS configuration settings from a
RBSURESET return codes ... 30 Using
Toolkit utilities 40 <Section name="System_APIC">Auto Set</Section> <Section name="System_COMA">COM1</Secti
Toolkit utilities 41 ACU reads the array configuration described in a specified script file. See "Creating an ACU script file (on page 41).&quo
Toolkit utilities 42 You can add blank lines and comments to any script to make it easier to read and understand. To create a comment, enter a semic
Toolkit utilities 43 Array = A|B|C|D|E|F|G|...Z|a|b|c|d|e|f OnlineSpare = None | N | Port:ID,Port:ID... | Box:Bay,Box:Bay... | Port:Box:Bay,Port:Bo
Toolkit utilities 44 Category Options Description Control Action Method These options define the overall behavior of ACU when it processes s
Toolkit utilities 45 • Method mode (on page 45) Action mode You must specify an Action mode: • In Configure mode, you can create new arrays, but
Toolkit utilities 46 • Slot [N][:M]—Configure the internal controller in slot number N, or the external controller at port M in slot N. • WWN [N]—
Toolkit utilities 47 ReadCache, WriteCache Enter a number between 0 and 100 to specify the percentage of cache that is to be allocated to drive read
Toolkit utilities 48 SurfaceScanDelay Enter a number between 1 and 30 to specify the duration of the surface scan delay in seconds. Video performan
Toolkit utilities 49 If you use Custom method mode, choose one of the following methods to specify the drives to be used in the array. (Different ar
LO100CFG return codes ... 64 LO100CF
Toolkit utilities 50 • Sectors (on page 51) • Size (on page 51) • SSPAdaptersWithAccess (on page 51) • StripeSize (on page 51) ArrayAccelerator
Toolkit utilities 51 RAID The value that you enter for this option specifies the RAID level of the logical drive. • When the Action mode is Config
Toolkit utilities 52 • For RAID 0, RAID 1, or RAID 1+0 arrays, you can enter any of the stripe size values listed in the sample script. • For RAI
Toolkit utilities 53 • Microsoft® Windows® • OpenVMS • Tru64 • Linux • Solaris • Netware • HP-UX ACU scripting error messages Error code
Toolkit utilities 54 Error code Error message Comment or clarification 1112 Controller has maximum number of license keys. — 1114 Controller requi
Toolkit utilities 55 Error code Error message Comment or clarification 2834 Invalid logical drive. — 2835 Logical drive not specified. The scri
Toolkit utilities 56 Error code Error message Comment or clarification 2851 Invalid RAID Array ID. The scripted RAID Array ID is invalid. Use cha
Toolkit utilities 57 Error code Error message Comment or clarification 2876 Invalid physical drive count. The script specifies more drives than a
Toolkit utilities 58 Command-line argument Description BootDeviceLUN[0]=1111 Your input, default LUN, or current value when read from HBA HPLPCFG
Toolkit utilities 59 You must then invoke the tool to load the contents of hba.ini input to the HBA NVRAM: hplpcfg /l hba.ini. Using HPONCFG The HP
Introduction 6 Introduction SmartStart Scripting Toolkit The SmartStart Scripting Toolkit is a server deployment product that delivers an unattended
Toolkit utilities 60 Command-line argument Description performing any additional actions. -mouse This argument causes HPONCFG to configure the serv
Toolkit utilities 61 <PRIM_DNS_SERVER value = "16.81.3.242"/> <DHCP_ENABLE VALUE = "Y"/> <DOMAIN_NAME VALUE = &qu
Toolkit utilities 62 </GET_GLOBAL_SETTINGS> Setting a configuration A specific configuration can be sent to the iLO, iLO 2, iLO 3, or RILOE I
Toolkit utilities 63 Command-line argument Description SelectBootEnable=1 Read-only variable BootDeviceWWID=22334455 Your input BootDeviceLUN[0]=11
Toolkit utilities 64 WWID=11111111 HostAdapterBiosEnable=1 SelectBootEnable=1 BootDeviceWWID=22222222 BootDeviceLUN[0]=3 You must then invoke the to
Toolkit utilities 65 LO100CFG command file contents A typical data file generated by LO100CFG is similar to the following: <lo100cfg> <s
Troubleshooting 66 Troubleshooting Troubleshooting table Issue Troubleshooting Data loss in Toolkit Improper use of the Toolkit utilities and modi
Technical support 67 Technical support Reference documentation For support software and drivers, see the HP software and drivers website (http://www
Acronyms and abbreviations 68 Acronyms and abbreviations ACU Array Configuration Utility ADG Advanced Data Guarding (also known as RAID 6) API app
Acronyms and abbreviations 69 HPDISCOVERY HP Discovery Utility HPONCFG HP Lights-Out Online Configuration utility HWQUERY Hardware Query Utility
Introduction 7 • Microsoft® Windows® Automated Installation Kit for Windows Vista® SP1 and Windows Server® 2008 (for the creation of Windows® PE 2.
Acronyms and abbreviations 70 NVRAM non-volatile memory PCI peripheral component interface PSP ProLiant Support Pack PXE Preboot Execution Enviro
Acronyms and abbreviations 71 SSP Selective Storage Presentation STATEMGR State Manager utility USB universal serial bus VPD vital product data
Index 72 A adding drivers 10 advanced topics 13 arguments, CONREP 36 arguments, HPDISCOVERY 31 arguments, HPLPCFG 57 arguments, HPONCFG
Index 73 examples 28, 29, 30, 31, 33, 34, 62 expression examples 33 expressions 33 F file contents 37, 60, 65 flashing the ROM 23 H Hardwa
Index 74 ROM, updating 23 S sample deployment procedure 8 screen output, CONREP 37 serverdetect.cmd 14 SETBOOTORDER utility 28 Setup Manag
Deployment using the SmartStart Scripting Toolkit 8 Deployment using the SmartStart Scripting Toolkit Deployment overview The SmartStart Scripting T
Deployment using the SmartStart Scripting Toolkit 9 process. For information on automating deployments, see the "Advanced topics (on page 13)&q
Komentáře k této Příručce