SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Microsoft Windows Server 2003 for Itanium-based Systems

HP Integrity Servers with Microsoft Windows
Server 2003 for Itanium-based systems
SmartSetup Scripting Toolkit Deployment
Guide
HP Part Number: 5992-0954
Published: December 2007

Summary of content (105 pages)

-
AutobootRetry
-
AutobootRetried
Return codes Table 5-4 conrep Return Codes Value Meaning Cause Action 0 conrep executed successfully 1 Permission denied The user is not a system administrator. Log in as root to run conrep. 2 Usage error An error occurred while using conrep for some unexpected reason, such as the wrong parameters.

  • PAGE 68

    cpqacuxe Synopsis • • • Capture: CPQACUXE -C FILENAME [-internal | -external] -E FILENAME Input: CPQACUXE -I FILENAME [-internal | -external] [reset] -E FILENAME Input with reset: CPQACUXE -reset FILENAME [-internal | -external] [reset] -E FILENAME Description The cpqacuxe utility operates on the configuration of storage array controllers. The cpqacuxe utility enables the array configuration on one server to be replicated on other servers with similar array storage resources.

  • PAGE 69

    StripeSize = 256 ArrayAccelerator = Enabled ; HBA SSP Specifications HBA_WW_ID= 10000000C9272B34 ConnectionName= TestConn HostMode= Windows Options Table 5-5 cpqacuxe Options Option Description -C FILENAME Specifies the capture file. The capture filename is optional. If no capture file is specified, the default capture file is acucapt.ini in the ACU working directory. -E FILENAME Specifies the error file. The error filename is optional. If no error file is specified, the default error file is error.

  • PAGE 70

    Controller, or HBA_WW_ID option are assumed to belong to the HBA being defined. These options can be specified in any order, but an option from another category of options cannot occur between any two options from this category. Automatic script file format The automatic script is used to apply automatic configuration rules to unconfigured or configured controllers.

  • PAGE 71

    Table 5-6 Automatic script file options (continued) Option Value Controller Identifies to which controllers to apply the configuration. This option is required. Slot [N][:N]: The internal controller with slot number N is used. External controllers can be identified by appending the Port Number. For example, an MSA1500 connected to a SA6402 might be found at “Slot 4:2,” where 4 is the internal Slot number and 2 is the SCSI port. WWN [N]: The external controller with World-Wide Name (WWN) N is used.

  • PAGE 72

    Table 5-6 Automatic script file options (continued) Option Value WriteCache Specifies the Write Cache percentage. This option is not required. If this option is not specified, the Read/Write cache ratio will remain unchanged. This value is a numeric value from 0 to 100. It must form a valid read/write cache ratio that is supported on the controller with the ReadCache option. RebuildPriority Specifies the Rebuild Priority. This option is not required.

  • PAGE 73

    Slot [N],Cabinet [N],Cell [N] ClearConfigurationWithDataLoss = Yes|No LicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX DeleteLicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX RaidArrayId = “XXXXXXXXXXXXXXXXXXXX” ReadCache = 0|10|20|25|30|40|50|60|70|75|80|90|100 WriteCache = 0|10|20|25|30|40|50|60|70|75|80|90|100 RebuildPriority = Low|Medium|High ExpandPriority = Low|Medium|High SurfaceScanDelay= N SSPState = Enable|Disable PreferredPathMode= Auto|Manual ; Array Options ; There can be multiple array specifications in th

  • PAGE 74

    Table 5-7 Custom script file options (continued) Option Value Controller Identifies to which controllers to apply the configuration. This option is required. Slot [N][:N]: The internal controller with slot number N is used. External controllers can be identified by appending the Port Number. For example, an MSA1500 connected to a SA6402 might be found at “Slot 4:2,” where 4 is the internal Slot number and 2 is the SCSI port. WWN [N]: The external controller with World-Wide Name (WWN) N is used.

  • PAGE 75

    Table 5-7 Custom script file options (continued) Option Value RebuildPriority Specifies the Rebuild Priority. This option is not required. If this option is not specified, the Rebuild Priority will remain unchanged. • Low • Medium • High ExpandPriority Specifies the Expand Priority. This option is not required. If this option is not specified, the Expand Priority will remain unchanged. • Low • Medium • High SurfaceScanDelay Specifies the Surface Scan Delay in seconds. This option is not required.

  • PAGE 76

    Table 5-7 Custom script file options (continued) Option Value DriveType Restricts the array and operations on the array to the specified type of physical drive. • SCSI: Use only SCSI drives. • SAS: Use only SAS drives. • SATA: Use only SATA drives. OnlineSpare Specifies the spare drives for the array. A comma separated list specifies the location of spare drives that are to be used in the array.

  • PAGE 77

    Table 5-7 Custom script file options (continued) Option Value Sectors Specifies the Max Boot setting (Sectors Per Track) for the logical drive. The Sectors option is not required. If the logical drive is new, the default is 32. If the logical drive already exists, then the default is the current Sectors setting on the logical drive. • 32: Disable Max Boot (32 sectors per track). • 63: Enable Max Boot (63 sectors per track). StripeSize Specifies the Stripe Size for the logical drive in KB.

  • PAGE 78

    Table 5-7 Custom script file options (continued) Option Value PreferredPath Specifies the preferred path for the logical drive when redundant array controllers are in an active-active redundancy mode and the preferred path mode is set to Manual. This option is only available for certain redundant array controllers. If the option is not specified, the preferred path remains unchanged for the logical drive.

  • PAGE 79

    Table 5-8 cpqacuxe Error Codes Code Error Reason 0 Success Success 1 General error Problem spawning ACU process (user is not authenticated to use ACU or ACU is already running). 2866 Failure opening capture file Error opening capture file. '%s' 2867 Failure opening input file '%s' Error opening input file. 2868 Failure opening error file '%s' Error opening error file. 2869 ‘%s’ command expected The specified command is missing or in the incorrect place in the file.

  • PAGE 80

    Table 5-8 cpqacuxe Error Codes (continued) 80 Code Error Reason 2826 Array not specified The array command is missing from the script file. Some commands were found that require an array to work on. 2827 New Array ID does not match The Array ID in the script file does not match the Array ID of the next available Array ID the newly created array. For example, if you have Array A already and the script file tries to create Array C (without Array B), the script generates this error.

  • PAGE 81

    Table 5-8 cpqacuxe Error Codes (continued) Code Error Reason 2839 Cannot migrate Logical Drive The controller does not support migration, or the current configuration of the controller does not allow migration to occur. Raid 2840 Cannot migrate Logical Drive The controller does not support migration, or the current configuration of the controller does not allow migration to occur.

  • PAGE 82

    Table 5-8 cpqacuxe Error Codes (continued) 82 Code Error Reason 2851 Invalid Raid Array ID The entered Raid Array ID is invalid. The Raid Array ID can only consist of the following characters: a-z, A-Z, 0-9, ! @ # * ( ) , - _ + : . / [space]. It cannot end with a space character or exceed the maximum number of characters allowed by the controller. 1091 Controller does not support The controller does not support SSP.

  • PAGE 83

    efibootmgr Synopsis efibootmgr [command]... [option]... Description The efibootmgr utility is used from a script file to manager the EFI Boot variables. The efibootmgr utility is used for creating or destroying the EFI BOOT variables and to update the BOOT NEXT, BOOT ORDER, and TIMEOUT variables. The BOOT ORDER variable defines the boot entries sequence to be shown in menu. The TIMEOUT sets the time-out to select automatically the boot variables, according to BOOT ORDER.

  • PAGE 84

    Table 5-10 Commands (continued) Commands Description -L | --label label Boot manager display label (defaults to “Linux”). -p | --part part Partition number that containing boot loader (defaults to 1). -q | --quiet Be quiet. --test filename Does not write to NVRAM; writes to filename. -u | --unicode | --UCS-2 Passes extra args as UCS-2 (default is ASCII). -U | --acpi_uid XXXX Sets the ACPI UID (used with -i). -v | --verbose Prints additional information.

  • PAGE 85

    efivar Synopsis efivar Description The efivar utility is used to set EFI variables from SSTK LinuxPE. Options Option Description -g | --guid The EFI variable GUID (default is 8be4df61-93ca-11d2-aa0d-00e098032b8c) -n | --name The EFI variable name -v | --value The EFI variable value -d | --delete Deletes EFI variable -U | --unicode Converts to Unicode when saving Example SSTK-v.2.7# ./efivar -n test1 -v "abc def" name: test1 SSTK-v.2.

  • PAGE 86

    gen-setupldr-options Synopsis gen-setupldr-options –d device [-p number] -w path [-o file] [-h] Description The gen-setupldr-options utility generates options for the setup loader, which launches the Windows installation process. Use gen-setupldr-options along with the efibootmgr utility. Options Table 5-12 gen-setupldr-options Options Options Description -d device Sets the device file. -w path Sets the working path. -p number Sets the partition number. -o file Sets the output file name.

  • PAGE 87

    getuuid Synopsis getuuid Description The getuuid utility retrieves the UUID (Universally Unique ID) used to identify a storage device or a single partition.

  • PAGE 88

    hpia64info Synopsis hpia64info -v Description The hpia64info utility displays information about management processor and system firmware. Options The hpia64info utility has one option, -v. This option displays the version of the hpia64info utility.

  • PAGE 89

    hplpcfg Synopsis hplpcfg Description The hplpcfg utility enables or disables the EFI or BIOS boot setting on Emulex 2 GB or 4 GB Fibre Channel Host Bus Adapters (FC HBA). Options Table 5-14 hplpcfg Options Option Description /se filename Saves the HBA configuration to filename. /le filename Loads the HBA configuration from filename Format The configuration file for the EFI boot setting has the following format.

  • PAGE 90

    hpqlarep Synopsis hpqlarep Description The hpqlarep utility enables or disable the EFI or BIOS boot setting on QLogic 2 GB or 4 GB HBAs. Options hpqlarep /s filename saves the HBA configuration to filename.

  • PAGE 91

    hpsetacpi Synopsis hpsetacpi Description The hpsetacpi tool sets the ACPI mode to Windows or Linux, according to command line parameter informed. Options Table 5-15 hpsetacpi Options Option Description Mode The new ACPI configuration mode. Available choices include Windows, Longhorn or Linux. -d Displays debug info -v Displays the version -h This help menu The following table details the relation between the MODE parameter and ACPIConfiguration Mode value.

  • PAGE 92

    hpshowdisk Synopsis hpshowdisk Description The hpshowdisk utility helps to identify disks recognized by the system. This utility can be useful when the system has a large number of disks, typically on SAN architectures. Besides device name and size, the utility includes information about disk controller, SAN storage devices WWIDs, and SAN logical disks LUNs. The hpshowdisk utility is internally used by SSTK scripts to display the Available Disks menu during installations.

  • PAGE 93

    Figure 5-1 hpshowdisk Utility hpshowdisk 93

  • PAGE 94

    hwdisc Synopsis hwdisc -f[path]filename Description The hwdisc utility provides an inventory of the server being configured or captured.

  • PAGE 95

    0E11001E 0 4 0 0E11B203 0E11B206 . . .

  • PAGE 96

    hwquery Synopsis hwquery [path]hwdiscfilename [path]allboards.xml variable=string ... Description The hwquery utility is executed from a script file, in conjunction with other utilities, to control the install process. The hwquery utility uses data from the hardware discovery file in your own scripts. The hwquery utility cannot alter environment variables directly. To set the variable, the output of hwquery must be used by the hosting script.

  • PAGE 97

    ifhw Synopsis ifhw [path]hwdiscfilename [path]allboards.xml expression Description The ifhw utility is executed from a script file, in conjunction with other utilities, to control the install process. The ifhw utility makes intelligent queries against the hardware discovery file. Queries take the form of a logical expression, and the result of the expression is returned as the exit status of the tool, which the hosting script can use to conditionally perform actions.

  • PAGE 98

    Table 5-20 ifhw Operators 98 Operator or term Result and True if both operands are true. or True if either operand is true. gt True if the first operand is greater than the second. lt True if the first operand is less than the second. gte True if the first operand is greater than or equal to the second. lte True if the first operand is less than or equal to the second. eq True if the two operands are equal. neq True if the two operands are not equal. not True if the operand is false.

  • PAGE 99

    parted Synopsis parted [-v | -i | -s | -h]... [DEVICE [COMMAND [PARAMETER]...] ...] Description The parted utility manages disk partitions. It allows you to make a GPT partition table and to create all the partitions needed. It is also able to create hidden partitions and change the partition GUID to HPSP, MSRES, MSDATA, and ESP. Options Table 5-21 parted Options Option Description -v Displays the version. -i Prompts for user intervention, when necessary. -s Never prompts for user intervention.

  • PAGE 100

    • To move a partition MINOR: move MINOR START END • To name a partition MINOR to NAME: name MINOR NAME • To display a partition table, or a partition: print [MINOR] • To exit: quit • To recovery a lost partition near START and END: rescue START END • To resize a file system on partition MINOR: resize MINOR START END • To delete partition MINOR: rm MINOR • To select the device to edit: select DEVICE • To change a flag on partition MINOR: set MINOR FLAG STATE The relevant flags are: boot Set

  • PAGE 101

    sstkencrypt Synopsis sstkencrypt Description The sstkencrypt utility is used to encrypt the repository password. After encrypted, it should be set in elilo.conf, resulting in a more secure connection over the network. Example SSTK-v.2.7-8# ./sstkencrypt Type the repository password: password Set the 'encryptpass' parameter in SSTK elilo.

  • PAGE 102

  • PAGE 103

    A Support Matrix This section defines the systems and hardware supported for deployment using SSTK.

  • PAGE 104

    Supported Emulex and QLogic Fiber Channel controllers Table A-3 QLogic controllers Controller Part Number QLogic 4GB 1P QLA2460 AB429A QLogic 4GB 2P QLA2462 AB379A QLogic 4GB 2P QLA2462 AB379B QLogic 4GB PCIe 1P AE311A QLogic 4GB DC PCIe 2P AE312A QLogic 4GB Mezz 403619-B21 Table A-4 Emulex controllers Controller Part Number FC LP982 A7298A FC LP9802 AB232A FC LP1050 AB467A FC LP1050DC AB466A FC Emulex 4GB AD167A Emulex 4GB DC AD168A Emulex 4GB PCIe 1P A8003A Emulex 4GB DC PCIe

  • PAGE 105

    Supported storage • • • • • • • • • • • • SW43xx MSA30/SW44xx MSA 50 MSA 60 MSA 70 MSA 600 MSA 700 MSA 1000 MSA 1500 EVA XP SB40c Supported storage 105