Hp Scripting Toolkit for Linux Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Hp Scripting Toolkit for Linux herunter. HP Scripting Toolkit for Linux User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 68
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
HP Scripting Toolkit for Linux User Guide
Abstract
This document provides information about the Scripting Toolkit for Linux utilities and how best to use the Scripting Toolkit for
Linux to configure HP ProLiant servers and BladeSystem infrastructure in a Linux environment. This document is intended for IT
experts with experience in scripting operating system installations and configuring HP ProLiant servers and BladeSystem
infrastructure.
HP Part Number: 415597-407
Published: October 2012
Edition: 16
Seitenansicht 0
1 2 3 4 5 6 ... 67 68

Inhaltsverzeichnis

Seite 1 - Abstract

HP Scripting Toolkit for Linux User GuideAbstractThis document provides information about the Scripting Toolkit for Linux utilities and how best to us

Seite 2

5. To add a new device driver name:modprobe —f hpsa6. Load the channel interface driver for iLO:insmod /opt/hp/hp-ilo/bin/`uname -r`/hp_ilo.ko7. Mount

Seite 3 - Contents

2. At the boot prompt, type bash and then press Enter. When the process is complete, a commandprompt appears.3. Load the network drivers using the loa

Seite 4 - 4 Contents

3 Booting and OS installationSYSLINUXSYSLINUX is a free third-party bootloader available on the SYSLINUX web page at http://syslinux.zytor.com/index.p

Seite 5 - Contents 5

Setting up a PXE boot environment requires the following general steps:1. Set up a DHCP server with the appropriate options.2. Set up a TFTP server wi

Seite 6 - 6 Contents

server = /usr/sbin/in.tftpdserver_args = -s /tftpbootdisable = yesper_source = 11cps = 100 2}In this example, disabled is the default setting, and /tf

Seite 7 - 1 Introduction

Booting from a USB drive keySome applications require the use of a writable medium. While booting from CD is not suitablefor this purpose, a USB drive

Seite 8 - Sample deployment procedure

The scripting for these steps must be adapted to your server deployment process. In particular, besure to change the IP address and path of the NFS se

Seite 9 - Creating a network share

./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Smart Array 6i Controller" 2> /dev/nullif [ $? = 0 ] ; thencd ${TOOLKIT}/hpacuscripting./hp

Seite 10 - Configuring the target server

echo ""echo "Rerun hardware discovery to find boot device"./hpdiscovery -f ${HPDISCOVERY_FILE}## use hwquery to fetch the boot dev

Seite 11

umount /mnt/dosumount ${NFS_MAIN}## unmount everything else#umount -a#echo "Rebooting"#sleep 5#/bin/reboot c:Microsoft Windows install_win.s

Seite 12 - 3 Booting and OS installation

Notices© Copyright 2005, 2012 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice. The only

Seite 13 - Setting up a TFTP server

keyboard "us"zerombr yesclearpart --Linuxpart /boot --size 30part swap --size 128part / --size 100 --growinstallmouse genericps/2timezone Et

Seite 14 - Setting up a DHCP server

authconfigautoconfautomakeyp-toolsypbindypservzlibzlib-devel%postThe previous example contains a limited list of packages to be installed. Add to this

Seite 15 - Booting from a USB drive key

4 Scripting Toolkit utilitiesNative package formatsThe Scripting Toolkit utilities are available as standalone RPM and DEB packages.The Scripting Tool

Seite 16

Using Scripting Toolkit utilitiesThe Scripting Toolkit utilities control the installation process, read the source server configuration,and duplicate

Seite 17

REBOOT command-line examplesDescriptionCommand-line argumentThis command reboots the system to the A: drive.REBOOT A:This command reboots the system b

Seite 18

NOTE: The STATEMGR utility is not supported on 100 series servers.STATEMGR command-line syntaxSTATEMGR [/R | -R] [EVNAME] [/?]- or -STATEMGR [/W | -W]

Seite 19

RBSURESET command-line syntaxrbsureset [/?]RBSURESET command-line argumentsDescriptionCommand-line argumentThis argument displays help information.[/?

Seite 20

• Processor information• NIC information• PCI devices present in the system• HP Smart Array controller informationUser process decisions can be made b

Seite 21

DescriptionCommand-line argumentdiscovery into device names, such as "Smart Array 5iController."This argument specifies the query expression

Seite 22 - 4 Scripting Toolkit utilities

Expression examplesResultExpression inputTrue if the Smart Array 5i Controller is found in the system"PCI:Smart Array 5i"True if the amount

Seite 23 - Using REBOOT

Contents1 Introduction...7Scripting Toolkit...

Seite 24 - Using SETBOOTORDER

HWQUERY command-line examplesDescriptionCommand-line argumentFor a hpdiscovery.xml file that contains<TotalRAM>768</TotalRAM>, HWQUERY pro

Seite 25 - Using RBSURESET

CONREP command-line syntaxconrep [-s | -l] [-xhardware_definition_file] [-fsystem_configuration_file] [-?]CONREP command line argumentsDescriptionComm

Seite 26 - Using HPDISCOVERY

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

Seite 27 - Using IFHW

<Slot1>00 </Slot1><BusDev1>00 78 </BusDev1><Rest1>c1 </Rest1></Section><Section name="Language"

Seite 28 - IFHW command-line examples

<Index0>00 </Index0><Index1>01 </Index1><Index2>03 </Index2><Index3>02 </Index3><Index4>04 </

Seite 29 - Using HWQUERY

HPRCU command line argumentsDescriptionCommand line argumentThis argument saves the system configuration to a file.-sThis argument loads the system co

Seite 30 - Using CONREP

</hprcu>Using HPACUSCRIPTINGStarting with version 8.28.13.0, ACU Scripting is now a standalone application that is distributedwith the ACU CLI a

Seite 31 - CONREP screen output

Creating an ACU script fileTo create a valid ACU script file, use one of the following methods:• Modify the sample custom input script (page 37).• Cre

Seite 32

PreferredPathMode = Auto|Manual; COMMENT: the following five entries are used to optimize thecontroller performance for videoMNPDelay = 0|1|2|...|60 ;

Seite 33 - Using CONREP 33

The options for each category are listed in the following table and described in more detail in theremainder of this section.DescriptionOptionsCategor

Seite 34 - Using HPRCU

Using HPDISCOVERY...26HPDISCOVERY command-l

Seite 35 - HPRCU sample XML format

Action modeYou must specify an Action mode:• In Configure mode, you can create new arrays, but you cannot modify existing arrays. Thecontroller must b

Seite 36 - Using HPACUSCRIPTING

ChassisNameEnter the user-defined character string that identifies the controller. You can use any of the followingcharacters in the string:a–z, A–Z,

Seite 37 - Creating an ACU script file

All other controllerswithoutbattery-backed writecacheAll other controllerswith battery-backedwrite cacheRA4x00 with 48MBcacheRA4x00 with 16MBcacheRead

Seite 38 - Script file options

Array categoryThe Array category has the following options:• “Array” (page 43)• “Drive” (page 43)• “DriveType” (page 43)• “OnlineSpare” (page 44)Array

Seite 39 - Control category

OnlineSpareThe value for this option determines whether the array specified previously in the script will beconfigured with spare drives.Default value

Seite 40 - Controller category

The following defaults apply:• For new logical drives, the default value is Disabled.• For existing logical drives, the default value is the current l

Seite 41

array, as long as the operating system supports logical drive extension. You cannot reduce thesize of the logical drive.CAUTION: Back up all data befo

Seite 42 - IRPEnable = No

The string can consist of the following:• A maximum of 16 characters• Embedded space characters but cannot end with a space character• Any of the foll

Seite 43 - Array category

Comment or clarificationError messageError codebetween operations. Limit the number of such configurationchanges in the script.—Controller does not su

Seite 44 - Logical Drive category

Comment or clarificationError messageError codeThis error message appears if you try to change the numberof spares in an array when the configuration

Seite 46 - HBA category

Comment or clarificationError messageError codeThe scripted RAID Array ID is invalid. Use characters fromthe set a–z, A–Z, 0–9, !, @, #, *, (, ), ,, -

Seite 47 - ACU scripting error messages

Comment or clarificationError messageError code—Invalid value for MNPDelay. Valid rangeis 0 (disabled) to 60 minutes.2882—Invalid controller configura

Seite 48

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

Seite 49

LO100CFG command-line argumentsDescriptionCommand-line argumentThis argument displays example XML to performconfiguration.-xThis argument outputs the

Seite 50

<serial_port mode="dedicated" /><nic mode="dhcp"><ipv4 address="10.10.10.18" mask="255.255.252.0&quo

Seite 51 - Using HPLPCFG

HPQLAREP return codesMeaningValueThe command was completed successfully.0There was an invalid command line option.1There was a file open error.2There

Seite 52 - Using LO100CFG

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

Seite 53 - LO100CFG return codes

HPONCFG return codesMeaningValueThe script was sent successfully to the device.0The script could not be sent to the device. There is an errorin xml.1T

Seite 54 - Using HPQLAREP

<DNS_NAME VALUE = "ILOD234KJ44D002"/><PRIM_DNS_SERVER value = "16.16.1.161"/><DHCP_ENABLE VALUE = "Y"/>

Seite 55 - HPQLAREP return codes

<F8_PROMPT_ENABLED VALUE="Y"/><REMOTE_CONSOLE_PORT_STATUS VALUE="3"/><REMOTE_CONSOLE_ENCRYPTION VALUE="N"

Seite 56 - Using HPONCFG

7 Documentation feedback...64Acronyms and abbreviations...

Seite 57 - HPONCFG command file contents

5 TroubleshootingTroubleshooting tableTroubleshootingIssueImproper use of the Toolkit utilities and modification of theCONREP data files can result in

Seite 58

6 Support and other resourcesInformation to collect before contacting HPBe sure to have the following information available before you contact HP:• So

Seite 59 - HPONCFG command-line examples

Scripting Toolkit supportE-mail support for the Scripting Toolkit is available from the HP support website at http://h18013.www1.hp.com/products/serve

Seite 60 - 5 Troubleshooting

can be easily integrated to work with a supported version of HP Systems Insight Manager.HP Insight Remote Support 7.x provides anytime, anywhere perso

Seite 61 - 6 Support and other resources

7 Documentation feedbackHP is committed to providing documentation that meets your needs. To help us improve thedocumentation, send any errors, sugges

Seite 62 - Typographic conventions

Acronyms and abbreviationsACU Array Configuration UtilityBIOS Basic Input/Output SystemCONREP Configuration Replication utilityCPQACUXE Array Configur

Seite 63

TFTP Trivial File Transfer ProtocolUSB universal serial busVPD vital product dataWOL Wake-on LANWWID World Wide IDWWN World Wide NameWWPN worldwide po

Seite 64 - 7 Documentation feedback

IndexAacronyms and abbreviations, 65ACU script file, 37anaconda-ks.cfgsample file, 19BBOOTEXTRACT, 26arguments, 26command-line syntax, 26return codes,

Seite 65 - Acronyms and abbreviations

return codes, 28iLO, 56install_win.shsample script, 19installationoperating system, 11unattended operating system, 15ISO imagearguments, 10LLO100CFG,

Seite 66 - 66 Acronyms and abbreviations

1 IntroductionScripting ToolkitThe Scripting Toolkit is a server deployment product for IT experts that delivers an unattendedautomated installation f

Seite 67

2 Deployment using the Scripting ToolkitDeployment overviewThe Scripting Toolkit includes a set of utilities for configuring and deploying servers in

Seite 68 - 68 Index

Creating a network shareTo create a network share:1. Download the appropriate Scripting Toolkit package from the Scripting Toolkit website athttp://ww

Kommentare zu diesen Handbüchern

Keine Kommentare