HP Integrity Superdome SX1000 SmartSetup Scripting Toolkit Deployment Guide: H
HP Integrity Superdome SX1000 Manual
View all HP Integrity Superdome SX1000 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Integrity Superdome SX1000 manual content summary:
- HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 1
SmartSetup Scripting Toolkit Deployment Guide HP Integrity Servers with Linux HP Part Number: 5991-6250 Published: July 2009 Edition: 8 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 2
Notice Confidential computer software. Valid license from HP required for possession, use or copying. HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 3
...9 Typographic Conventions...9 Publishing History...11 Related Information...12 HP Encourages Your Comments...12 1 Overview...13 Introduction...13 Manager Support...25 Configuring the Static IPv6 Address 25 3 Creating a Server Profile 27 Preparing the Workstation...27 Displaying Headless Server - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 4
Network Boot...43 Setting Up a Linux Network Boot Server 43 Setting Up a DHCP Server...43 Setting Up a TFTP Server...43 Populating the TFTP Directory 44 Setting Up the HP Integrity Server for PXE-Enabled Boot 44 Booting the HP Integrity Server From a PXE-Enabled NIC 44 6 Utilities Reference...47 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 5
Disk Drive Size Displayed 84 Capturing and Deploying an Image on the Same Server 84 cfggen Crashes on HP Integrity Virtual Machine 84 hpshowdisk Unknown Device Error 84 Invalid MP Version Displayed on sx1000 Servers 84 efibootmgr Utility Issues...85 SSTK Image Does Not Boot and LSI Driver - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 6
List of Tables 4-1 SSTK Variables...33 4-2 SSTK Configuration Variables...34 4-3 Global Options...34 4-4 Image Options...35 4-5 SSTK Command Line Options...35 5-1 The mkisofs Command Options 40 6-1 cfggen Commands...47 6-2 CLMChecking Options ...49 6-3 conrep Options ...50 6-4 conrep Return Codes - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 7
List of Examples 6-1 cfggen list Command...48 6-2 cfggen Display Command...48 6-3 Sample conrep.dat file...50 6-4 Sample conrep.xml File...50 6-5 Sample hpia64imfo Utility Output 71 7 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 8
8 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 9
instructions for configuring and using the SmartSetup Scripting Toolkit (SSTK) on HP Integrity servers running Linux. As of this publication, SSTK is supported 1. No testing occurs on older updates or service packs though every effort is made to maintain backward compatibility. Intended Audience 9 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 10
{} The contents are required in formats and command descriptions. If the contents are a list separated by |, you must choose one of the items. ... The preceding element can be repeated an arbitrary number of times. | Separates items in a list of choices. 10 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 11
or new editions, subscribe to the appropriate product support service. See your HP sales representative for details. For the latest version of this Hat Enterprise Linux (RHEL) RHEL4U4 (Backward 4 SUSE Linux Enterprise Server (SLES) compatible only1), RHEL4U5, RHEL4U6, and RHEL5U1 SLES9SP3 ( - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 12
EFI Web site: http://developer.intel.com/technology/efi/ - The HP Integrity server technical support information is located at: http://www.hp.com/support/itaniumservers/ - For additional information on HP products and services, visit: http://www.hp.com - For the location of the nearest sales office - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 13
you to deploy a large number of HP Integrity servers rapidly and efficiently. Using SSTK, you can develop custom scripts that simplify server deployments by automating various hardware configuration and software installation operations. SSTK can set specific Extensible Firmware Interface (EFI) boot - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 14
Linux for HP Integrity servers. This document guides you step-by-step through the typical tasks involved in deploying HP Integrity servers using the , hardware configuration files, OS files, and application files. • The operating system CD contains the OS setup files. • The SSTK software package - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 15
ways in which you can set up three components: a workstation, a boot mechanism, and a repository. The server Selecting a Boot Mechanism The SSTK supports three boot mechanisms-CD, USB servers at a time, you should invest in a PXE-enabled installation environment in which the HP Integrity servers - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 16
environment. If you host the repository on the workstation, the repository must be accessible to the HP Integrity servers being deployed. If, for example, your workstation is on a public network and the servers are on a private isolated network, the SSTK cannot work. If you host the repository on - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 17
is /dev/cdrom. 5. To use the default repository configuration skip to the next step, or use the following steps to configure specific repository information: a. Select Destination Directory and click OK. b. Select the destination directory by navigating to the correct directory, and then click - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 18
d. Select your CD/DVD device by navigating to the correct directory, and then click OK. 6. Select Make Repository and click OK. The script creates the necessary directories, files, and symbolic links. You are prompted to insert the OS distribution media, in order, during this process; an error - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 19
8. To exit the script, select Exit and click OK. The repository structure created in the /repository/SSTKLnx3.3 directory is as follows: SSTKLnx3.3/ |-- SSTK_DeploymentGuide.pdf |-- SSTK_DeploymentGuide.txt |-- boot_files | `-- efi | `-- boot | |-- bootia64.conf | |-- bootia64.efi | - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 20
solution is not limited to the previous examples. You can develop a hybrid solution if that works for you. For example, you can boot the model server from a USB flash device, host the repository on the workstation to read the configuration of the model - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 21
) for each supported distribution, which server, which is made easy using the SSTK. You can extend the unattended installation process to include the HP Integrity Essentials Foundation Pack for Linux. For installation instructions, see HP Integrity Essentials Foundation Pack for Linux User's Guide - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 22
remote installation server that would support a network boot and OS installation. Launching the Server Replication Launching the server replication process very similar to one another: similar hardware devices, similar operating system and supplemental software, and similar system configuration. - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 23
in sstk.conf to a different image file name before each operation. All files created are stored on the repository. Image Format and installed servers to a newer update without reinstalling and reconfiguring the server so that it is current with the most recent programs. This functionality supports - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 24
server model, etc.) as an index. For example, you can modify the deploy.sh script to apply a specific ACU configuration (acu-rx2620.ini, acu-rx4640.ini, etc.) to each server because it has been tested on all supported HP Integrity servers.Using the SSTK Deployment Workflow Resetting SELinux - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 25
SSTK so this situation does not exist when replicating this release and the correct SELinux extended attributes are in place. Logical Volume Manager Support SSTK v3.2 introduces a new Logical Volume Manager(LVM) feature that allows you to capture and deploy Linux residing on a disk with an LVM - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 26
26 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 27
page 32) Preparing the Workstation The workstation is the base of all SSTK operations. Before you can use it, you must make sure it is equipped HP Integrity server at a remote workstation, you must configure the Integrity server to use a particular console device. On HP Integrity servers running - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 28
to the same as the output console device. Or, at the HP Integrity server (the model server and each target server) using the Legacy interface, perform the following steps: 1. Select EFI Boot Manager > Boot Option Maintenance Menu. 2. Select Select Active Console Input Devices. Select only one Acpi - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 29
skeleton for the server profile: • Documentation includes this guide and a readme script is executed when an HP Integrity server boots. If the server is cell-based, the option is executed on a target server with a supported RAID controller. The acu.ini HP Service Partition Unpacking the Toolkit 29 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 30
is first loaded. Files placed under software\EFI_TOOLS are automatically copied to the HP Service Partition. • The os directory contains unattended configuration files for the Linux distributions. , specifying the Linux Setup boot option, and rebooting the server. 30 Creating a Server Profile - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 31
A utility that includes a list of EFI variables, which determine what data to retrieve from the server. You can edit this file to control the data collection. The array configuration utility, which operates in two modes. In the capture mode, it reads the configuration of a storage array controller - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 32
1 Red Hat Enterprise Linux 5 Update 2 Red Hat Enterprise Linux 5 Update 3 SUSE Linux Enterprise Server 10 Service Pack 1 SUSE Linux Enterprise Server 10 Service Pack 2 SUSE Linux Enterprise Server 11 NOTE: SSTK supports unattended OS installations on HP Integrity Virtual Machines. 32 Creating - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 33
up the toolkit environment involves editing scripts that control the boot and operation of the toolkit. The EFI loader launches the Linux boot loader, DISTRO="" Sets the target Linux distribution to be installed. The supported values are rhel4up4, rhel4up5, rhel4up6, rhel4up7, rhel5, rhel5up1, - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 34
script prompts you to select one of three tasks: start a bash shell, read the hardware configuration of the server, or write to the hardware configuration and install the operating system, drivers, and applications. The elilo.conf configuration file is an ASCII (not a UNICODE) file that controls the - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 35
be printed on the main screen (if this functionality is supported by the chooser). Specifies that the contents of a file the preboot image loading process. • The image options are specific to a particular kernel image. Each kernel image must be identified server). Editing the Linux Boot Loader 35 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 36
for 30 seconds. prompttimeout=300 • The first (default) entry boots the server to Linux and opens a console (label=linux). To change the default elilo default=nfs-sample. image=linux label=linux initrd=rootfs.gz root=/dev/ram append="rw ramdisk_size=524288 idebus=33" • The following entry boots the - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 37
}/acu.ini" - Run conrep to get the EFI environment variables from the server configuration. The script writes this data to the conrep.dat file. ./conrep --- Run the hplpcfg utility to enable or disable the EFI boot setting on HP Emulex HBA. The script writes this data to "hba-emulex.ini" file. - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 38
operations: 1. Creates four partitions: EFI System Partition (ESP), HP Service starts the Linux Setup process. 6. Reboots the server. NOTE: The parted utility uses decimal, instead . Also, you guarantee the integrity of the files which should NFS repository as to support your environment. The following - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 39
be available at the EFI level. Also, if a boot loader file named bootia64.efi is located in the \efi\boot directory, the HP Integrity server automatically executes that boot loader. To create a bootable disk image: 1. Create a directory for the bootable image, enter: mkdir ./bootable-image 2. Create - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 40
following files should appear on the CD or DVD if viewed from a Linux operating system: boot\boot.img boot\boot.cat Booting From the CD or DVD 1. Insert the media in the appropriate media drive on the HP Integrity server. 2. Reboot the machine. 3. Enter the EFI Boot Manager and select the Internal - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 41
enter the EFI shell and use the map -r command to find the DVD drive and execute \efi\boot\bootia64.efi. Using a USB Flash Device For HP Integrity servers to boot from a USB flash device, the boot loader and all other files needed to load the Linux image must be copied to the \efi - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 42
3. Enter the EFI Boot Manager Menu and select Boot Configuration. 4. Select Add Boot Option to add Removable Media Boot for the USB device. 5. In the EFI Boot Manager, select the Linux USB device to boot from. 42 Setting Up the Boot Mechanism - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 43
: The tftp server serves files using the \ # trivial file transfer protocol. The tftp protocol is \ # often used to boot diskless workstations, download \ # configuration files to network-aware printers and to \ # start the installation process for some operating systems. service tftp { socket_type - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 44
the root directory for all client access. To enable the TFTP service on your server, edit the disable line to read: disable = no Populating the HP Integrity Server for PXE-Enabled Boot Make sure the HP Integrity server has a PXE-compliant NIC and is physically connected to a configured DHCP server. - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 45
of the following actions: • Enter readhwconfig. This creates a configuration file in the repository to save the hardware configuration of the Linux server in the repository. Reboot the server. • Enter linux to execute the linux-setup.sh utility to install the Linux OS. • Enter bash to go to the bash - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 46
46 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 47
6 Utilities Reference This chapter contains reference information and usage examples for the utilities provided in the toolkit. In other words, the manpages associated with SSTK. You can get online help for each utility by using the -h or -? option. This chapter contains the following manpages: • " - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 48
IM/IME volumes). Bring a hard disk online. The are command specific values. To obtain command help, you can use cfggen - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 49
Target on ID #2 Device is a Hard disk Enclosure # : 1 Slot # : 2 Target ID : 2 State : Ready (RDY) Size (in MB)/(in sectors) : 57231/117210240 Manufacturer : ATA Model Number : FUJITSU MHT2060B Firmware Revision : 034E Serial No : NR0LT5625AAG Drive Type : SATA Enclosure - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 50
| -c | -d | -h ) [-v] | -m Description The conrep utility replicates the configuration data stored in the EFI variables. It reads the EFI variables from the NVRAM of the model server and writes the results to a DAT file. It also reads the DAT file and writes this data into the NVRAM of the target - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 51
not written and conrep continues to /sys/firmware/efi/vars/ execute. VAR_NAME-GUID directory. The conrep.xml file was There is no conrep.xml file in EFI /sys/firmware/efi/vars/ variable, this variable must be VAR_NAME-GUID directory. removed from conrep.xml. Error writing to the conrep.dat file - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 52
script expands the tar file before executing it. The cpqacuxe utility has three modes of operation: • In capture mode, it reads the configuration of all internal and external array controllers that are connected to a server and saves this data to a file. You can then use this file to replicate the - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 53
Sectors = 32 StripeSize = 256 ArrayAccelerator = Enabled ; HBA SSP Specifications HBA_WW_ID= 10000000C9272B34 ConnectionName= TestConn HostMode= Linux Table 6-5 cpqacuxe Options Option -C FILENAME -E FILENAME -internal -external -h Description Specifies the capture file. The capture filename is - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 54
is an automatic script file syntax: Action = Configure|Reconfigure Method = Auto ; Controller Options ; There can be multiple controller specifications in the file Controller = All | First | Slot [N][:N] | SerialNumber [N]| WWN [N] | IOCabinet [N],IOBay [N],IOChassis [N], Slot [N],Cabinet [N],Cell - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 55
the Read/Write cache ratio remains 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 WriteCache option. WriteCache Specifies the Write Cache percentage. This option is not required. If this option is not - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 56
option is not possible, the default RAID is the highest RAID level that is supported with the current state of the controller. This option is ignored in Reconfigure Custom ; Controller Options ; There can be multiple controller specifications in the file Controller = All|Slot [N][:N]|WWN [N]| First - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 57
N SSPState = Enable|Disable PreferredPathMode= Auto|Manual ; Array Options ; There can be multiple array specifications in the file Array = A|B|C|D|E|F|...Z|a|b|c|d|e|f OnlineSpare |Windows(degrade |OpenVMS|Tru64|Linux|Solaris|Netware|HP|Windows_SP2_and_ Table 6-7 Custom Script File Options Option - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 58
specified in the script file RAIDArrayID Specifies the RaidArrayID for controllers that support RaidArrayID. This is a user-defined string to identify controllers. Currently, RaidArrayIDs are only supported by Fibre and shared-storage controllers. "XXXXXXXXXXXXXXXXXXXX" Varying length string that - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 59
between 1 and 30 seconds. SSPState Specifies the SSP State for controllers that support SSP that is enabled/disabled on a controller basis. This option is controller dynamically load balances the logical drive paths. • Manual: Manually specify which logical drives are assigned to each active array - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 60
consumes all drives and makes adding spare drives impossible. Restricts the array and operations on the array to the specified type of physical drive. • SCSI: new logical drive, the RAID are the highest RAID level that is supported on the current Array. If the RAID is not specified for an existing - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 61
Table 6-7 Custom Script File Options (continued) Option Size Value Specifies the size of the logical drive. If the logical drive is new, the size is for the new logical drive. In Reconfigure mode, if the logical drive already exists and the size is different than the existing size of the logical - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 62
path mode is set to Manual. This option is only are device specific, and not all modes are available on all devices. Not all HBAs support a Host Mode. The following OS options might be available: • Default • Windows • Windows (degrade) • OpenVMS • TRU64 • Linux • Solaris • Netware • HP - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 63
2820 2818 2819 2822 2823 2824 2857 Error Reason Success Success General error Problem spawning ACU process (user is not authenticated to use ACU or ACU or in the incorrect place in the file. '%s' is not a supported command The specified command is not a valid scripting command. '%s' is - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 64
or logical drives has already been reached. Cannot expand Array The array could not be expanded. This could be because the controller does not support expansion, or the current configuration does not allow expansion to occur on the array. Cannot change Array Spare The spare state of the array - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 65
or is not supported with the current configuration. 290 Error communicating with Controller There was a problem communicating with one or There was a problem saving one or more controller configurations. 1065-1066 Too many coinciding expansion, migration, or extension operations This error is - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 66
. License key is not a controller The entered license key is not a controller feature license key. feature license key Controller does not support Raid The controller does not support Raid Array ID. Array ID Invalid Raid Array ID The entered Raid Array ID is invalid. The Raid Array ID can only - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 67
516 Error Reason Spare Request for RAID0 is Invalid Spares are not supported in RAID0-only Arrays. Reset and Reconfigure combined Mode is Reconfigure and This error should never occur. If it does, there is a problem with ACU, and some error is not being identified properly. efibootmgr - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 68
Table 6-10 efibootmgr Commands Commands -@ | --@ file -b | --bootnum XXXX -d | --disk disk -e | --edd [1|3|-1] -E | --device num -g | --gpt -H | --acpi_hid XXXX -l | --loader name -L | --label label -p | --part part -q | --quiet --test filename -u | --unicode | --UCS-2 -U | --acpi_uid XXXX -v | -- - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 69
a generic tool for setting EFI variables from SSTK LinuxPE. Table 6-12 efivar Options Options -g | --guid -n | --name -v | --value -d | --delete -U | --unicode Description EFI variable guid (default=8be4df61-93ca-11d2-aa0d-00e098032b8c). EFI variable name. EFI variable value. Delete EFI variable - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 70
Table 6-13 getuuid Options Options -p -t Description Disk to from which information will be retrieved. Partition number. Shows GUID of partition type (efi, hpsp, etc). hpacucli Description The hpacucli command is a disk configuration tool that can be used to configure and manage Smart - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 71
controller slot=3 logicaldrive 2 modify arrayaccelerator=enable ctrl all show status Please use hpacucli help for more information and usage or use the hpacucli help for a list of commands. hpia64info Synopsis hpia64info -v Description The hpia64info utility displays information about - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 72
Description The hplpcfg utility enables or disables the EFI or BIOS boot setting on Emulex 2G or 4G Fibre Channel Host Bus Adapter (FC HBA). Table 6-15 hplpcfg Options Options /se /le Description Saves the HBA configuration to filename. Loads the HBA configuration from - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 73
For 4G HBAs: BootDeviceWWPN=2200000000000000 ; input from customer - Boot Device Port name BootDeviceLUN[0]=0 ; input from customer - Boot Device LUN ID [HBA0] ; section for each HBA - HBA No WWID=11223344 ; read-only variable - HBA WWPN SelectiveLogin=1 ; input from customer - 1 (Enable) or 0 ( - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 74
:device:svendor:sdevice. -d Dump device name for device. -s Dump the disk size. Examples The following example shows the hpshowdisk output for an HP Integrity system with 19 disks of the following configuration: • 5 smart array disks (disks 15 to 19) • 3 SAN disks through q-logic HBA cards - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 75
. The hwdisc utility is executed by the server configuration script and captures the following information: • System Name • Serial Number • Asset Tag • EFI Firmware version • BMC Firmware version • MP Firmware version • Number of Cells • Total RAM size • Number of Processors • PCI devices present - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 76
0 1 2 103300E0 103300E0 0 2 0 10950649 10950649 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 77
the output of hwquery must be used by the hosting script. The most common way to use it is to write the output to an intermediate script file that is file. • To produce an hwdisc.xml file that contains 768 and 1.10, use the following input at the command line: hwquery - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 78
512 Returns True if the amount of RAM in the hardware discovery file is at least 512 • HWQ:EFIFw neq "1.10" Returns True if the EFI Firmware version in the hardware discovery file is not 1.10 • HWQ:SystemName eq "Server rx4640" True if the system name in the hardware discovery file exactly - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 79
Table 6-22 Expressions Operator or Term and or gt lt gte lte eq neq not PCI:string and to create all the partitions needed. It is also able to create hidden partitions and change the partition GUID to HPSP, SWAP, LINUX and ESP. Table 6-23 parted Options Option -v -i -s -h Description Displays the - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 80
] • To create a new disk label (partition table): mklabel PARTITION_TYPE The supported values for PARTITION_TYPE are: gpt, bsd, mac, dvh, msdos, pc98, are: - - boot : Set ESP Partition GUID - - hidden : Hidden partition - - hp-service : Set HPSP Partition GUID The accepted value to state is "on" or - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 81
MB, starting in LBA 0 and finalizing in LBA 100 in /dev/ cciss/c0d0 device: parted -s /dev/cciss/c0d0 mkpart 0 100 • To set the ESP partition GUID in the first partition on the table: parted -s /dev/cciss/c0d0 set 1 boot on • To set the name of the second partition of the /dev - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 82
82 - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 83
creates a partition table on the disk that is used to install the operating system. However, if there are any other disks in the system that information when executed on HP Integrity Superdome sx2000 server with a SmartArray P600 plugged in slot 0. In the controller specification section, the ACU - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 84
. HP recommends that you always use the MAX option. Specifying a size for logical volume is not supported. Capturing and Deploying an Image on the Same Server SSTK was not designed to allow the capture of a Linux image from one disk for deployment to another disk on the same server. This operation - HP Integrity Superdome SX1000 | SmartSetup Scripting Toolkit Deployment Guide: H - Page 85
an improper or defective device. The issue was observed on a LSI1030 that had an Ultra160 disk device improperly configured to at an Ultra320 speed. The problem was corrected by using the EFI driver configuration tool to set the maximum transfer rate to 160Mb/s, which is the speed that the device
SmartSetup Scripting Toolkit Deployment
Guide
HP Integrity Servers with Linux
HP Part Number: 5991-6250
Published: July 2009
Edition: 8