Lights Out1.70guide

Download Lights Out1.70guide

Post on 22-Oct-2014

62 views

Category:

Documents

2 download

Embed Size (px)

TRANSCRIPT

<p>HP Integrated Lights-Out 1.70 Scripting and Command Line Resource Guide</p> <p>February 2005 (First Edition) Part Number 382328-001</p> <p> Copyright 2005 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendors standard commercial license. The information contained herein is subject to change without notice. The only warranties for 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 shall not be liable for technical or editorial errors or omissions contained herein. Microsoft, Windows, Windows NT, and MS-DOS are U.S. registered trademarks of Microsoft Corporation. Linux is a U.S. registered trademark of Linus Torvalds. Java is a U.S. trademark of Sun Microsystems, Inc. UNIX is a registered trademark of The Open Group. HP Integrated Lights-Out 1.70 Scripting and Command Line Resource Guide February 2005 (First Edition) Part Number 382328-001</p> <p>Audience assumptions</p> <p>This document is for the person who installs, administers, and troubleshoots servers and storage systems. HP assumes you are qualified in the servicing of computer equipment and trained in recognizing hazards in products with hazardous energy levels.</p> <p>3</p> <p>ContentsIntroduction 11</p> <p>Guide overview.................................................................................................................................. 11 New in this version ............................................................................................................................ 11</p> <p>Command line</p> <p>13</p> <p>Command line interface overview ..................................................................................................... 13 Command line access......................................................................................................................... 13 Using the command line .................................................................................................................... 14 Escape commands .............................................................................................................................. 16 Base commands ................................................................................................................................. 17 Specific commands ............................................................................................................................ 18 User commands ...................................................................................................................... 19 Network commands ................................................................................................................ 20 iLO settings............................................................................................................................. 22 SNMP settings ........................................................................................................................ 24 License commands ................................................................................................................. 26 Directory commands............................................................................................................... 26 Virtual Media commands ....................................................................................................... 28 Start and reset commands ....................................................................................................... 32 Firmware update ..................................................................................................................... 34 Eventlog commands................................................................................................................ 35 Blade commands..................................................................................................................... 37 Boot commands ...................................................................................................................... 38 LED commands ...................................................................................................................... 39 Other commands..................................................................................................................... 40 System target and properties................................................................................................... 41</p> <p>Telnet</p> <p>45</p> <p>Telnet support .................................................................................................................................... 45 Using Telnet....................................................................................................................................... 45 Telnet simple command set .................................................................................................... 46 Telnet security ........................................................................................................................ 47 Supported key sequences ................................................................................................................... 47 iLO VT100+ key map............................................................................................................. 47 VT100+ codes for the F-keys ................................................................................................. 50 Linux codes for the F-keys ..................................................................................................... 51</p> <p>4</p> <p>HP Integrated Lights-Out 1.70 Scripting and Command Line Resource Guide</p> <p>Secure Shell</p> <p>53</p> <p>SSH overview .................................................................................................................................... 53 iLO supported SSH features............................................................................................................... 54 Using Secure Shell ............................................................................................................................. 54</p> <p>Group administration and iLO scripting</p> <p>57</p> <p>Lights-Out Configuration Utility ....................................................................................................... 57 Group administration using the Lights-Out Configuration Utility..................................................... 58 Using the Lights-Out Configuration Utility with Insight Manager 7...................................... 59 Lights-Out Configuration Utility for Systems Insight Manager ............................................. 61 Batch processing using the Lights-Out Configuration Utility............................................................ 63 Lights-Out Configuration Utility parameters ..................................................................................... 63</p> <p>Perl scripting</p> <p>65</p> <p>Using Perl with the XML scripting interface ..................................................................................... 65 XML enhancements ........................................................................................................................... 65 Opening an SSL connection............................................................................................................... 67 Sending the XML header and script body.......................................................................................... 68</p> <p>Virtual Media scripting</p> <p>71</p> <p>Using Virtual Media scripting............................................................................................................ 71 Using Virtual Media on Linux servers through an SSH connection .................................................. 72 Scripting Web server requirements .................................................................................................... 74 Virtual media image files ................................................................................................................... 74 CGI helper application ....................................................................................................................... 75</p> <p>HPONCFG online configuration utility</p> <p>77</p> <p>HPONCFG......................................................................................................................................... 77 HPONCFG supported operating systems........................................................................................... 77 HPONCFG requirements ................................................................................................................... 77 HPONCFG installation and usage ..................................................................................................... 79 Windows server installation ................................................................................................... 79 Linux server installation ......................................................................................................... 79 Using HPONCFG .............................................................................................................................. 80 Using HPONCFG on Windows servers.................................................................................. 81 Using HPONCFG on Linux servers ....................................................................................... 81 HPONCFG command line parameters ................................................................................... 82 Obtaining an entire configuration ........................................................................................... 83 Obtaining a specific configuration.......................................................................................... 84 Setting a configuration............................................................................................................ 85</p> <p>Lights-Out DOS Utility</p> <p>87</p> <p>Overview of the Lights-Out DOS Utility........................................................................................... 87</p> <p>Contents</p> <p>5</p> <p>CPQLODOS recommended usage..................................................................................................... 88 CPQLODOS general guidelines ........................................................................................................ 88 Command line arguments .................................................................................................................. 88 RIBCL XML commands for CPQLODOS ........................................................................................ 90 CPQLODOS ........................................................................................................................... 90 ADD_USER ........................................................................................................................... 91 SET_LICENSE....................................................................................................................... 92 MS-DOS error codes....................................................................................................................... 93</p> <p>Remote Insight command language</p> <p>95</p> <p>Overview of the Remote Insight Board Command Language ........................................................... 96 RIBCL and ProLiant BL p-Class Servers .......................................................................................... 96 RIBCL sample scripts ........................................................................................................................ 97 RIBCL general guidelines.................................................................................................................. 97 XML header ....................................................................................................................................... 97 Data types........................................................................................................................................... 97 String ...................................................................................................................................... 98 Specific string ......................................................................................................................... 98 Boolean string......................................................................................................................... 98 Response definitions .......................................................................................................................... 98 RIBCL................................................................................................................................................ 99 RIBCL parameters .................................................................................................................. 99 RIBCL runtime errors............................................................................................................. 99 LOGIN ............................................................................................................................................. 100 LOGIN parameters ............................................................................................................... 100 LOGIN runtime errors .......................................................................................................... 100 USER_INFO .................................................................................................................................... 101 USER_INFO parameter........................................................................................................ 101 USER_INFO runtime error................................................................................................... 101 ADD_USER..................................................................................................................................... 102 ADD_USER parameters....................................................................................................... 102 ADD_USER runtime errors.................................................................................................. 104 DELETE_USER .............................................................................................................................. 105 DELETE_USER parameter .................................................................................................. 105 DELETE_USER runtime errors ........................................................</p>