Configuring the Management Processor (MP)

 < Day Day Up > 

There is a built-in processor on most HP systems, including Integrity servers, that can be used for either local or remote system administration functions called the Management Processor (MP). Occasionally, you may hear it referred to as the Service Processor (SP) or Guardian Service Processor (GSP), but MP is by far the most commonly used name. MP functionality gets enhanced on a regular basis so what you'll see in the upcoming examples may not be the same as the MP functionality you see on your system. Still, it should be very close. This section provides a quick overview of MP, including listing the overview supplied with the tool. Note that initial MP configuration is important because the first person to gain access to MP before it has been configured is a MP administrator by default.

You gain access to the MP with ^b (ctrl b). If MP has not been configured, anyone who gets access to the console can type ^b and gain access to the system. Because of this, perform MP configuration as soon as possible after installing your system.

After you issue ^b, you see the MP> prompt. The following listing shows the output from the he ov (help overview) command:

 ------------------------------------------------------------------------- Service Processor login: Service Processor password:                       Hewlett-Packard Management Processor      (c) Copyright Hewlett-Packard Company 1999-2002. All Rights Reserved.                             System Name: uninitialized *************************************************************************                          MP ACCESS IS NOT SECURE      No MP users are currently configured and remote access is enabled.                Set up a user with a password (see SO command)                                      OR          Disable all types of remote access (see EL and ER commands) ************************************************************************* MP Host Name: uninitialized MP> he       Hardware Revision a1 Firmware Revision E.02.07 Aug 8 2002,23:00:38                         MP Help System      Enter a command at the help prompt:             OVerview  : Launch the help overview             LIst      : Show the list of MP commands             <COMMAND> : Enter the command name for help on individual command             TOPics    : Show all MP Help topics and commands             HElp      : Display this screen             Q         : Quit help ==== MP HELP: ov ov ==== MP Help Overview ===================================================== The Management Processor (MP) is an independent support processor for the system console. MP provides services that facilatate the management of the host system. Its major features are:   * Always-on capability: The MP is alive as long as the power cord is      plugged in.   * User/password access control: Supports operator and administrator users   * Multiple access methods:      Local Port        - use terminal or laptop computer for direct connect      Remote/modem Port - use dedicated modem RS-232 port and external modem      LAN               - use telnet or web to access MP LAN   * Mirrored console: the system console output stream is reflected to all      of the connected console users, and any user can provide input.   * Display and/or logging of:      The system console, System event logs (chassis codes), Virtual      Front Panel (VFP), and system power and configuration status   * An independent, non-mirrored session:      Available from local and modem ports for MP connection (CSP) or OS      login (SE).   * Power control, system reset, and TOC capabilities. MORE Help (Q to go back to main, <CR> for more): ==== MP Help ==============================================================                                 HELP TOPICS The following topics can be entered for general information:  * ADMINistrator           LIst of commands      PASSword resetting  * CHASsis codes         * MODEM               * PORT summary  * COMmand summary       * MODES of the MP     * SESsion  * CONSole               * OVERview            * TOPics  * HPterm and VT100                     (* topics which are included in the OVERview) The following commands can be entered for help on the command: AC  AR  CA  CL  CO  CSP  DC  DF  DI  EL  ER  EX  HE  IT  LC  LS  MR MS  PC  PG  PS  RS  SDM  SE  SL  SO  SR  SS  TC  TE  VFP WHO XD  XU MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                                  MP MODES THE MIRRORED MP SESSION:   When first logging on, the user is part of the mirrored MP session. The   mirrored MP session has three modes:      1) MP Command Mode   2) Console Mode   3)  VFP or Alert Mode   1.  You are in the MP Command Mode right now. In this mode all the MP       commands can be executed. Typically this mode is entered by typing       CTRL-B from console mode.   2.  In Console Mode the user gets access to the Unix console. This mode is       entered from the MP Command Mode using the CO command.   3.  In the VFP or Alert Mode the MP displays a representation of the front       pannel leds, called the Virtual Front Panel (VFP). This mode is entered       from MP Command Mode using the VFP command.   See the help on those commands for more information. LEAVING MIRRORED MP SESSION:   From the local or remote/modem ports, it is also possible to leave the   mirrored MP session and connect to either the OS (see the "SE" command)   or to another MP on the network (see the "CSP" command). MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                              MP COMMAND HELP The MP commands can be grouped into the following categories:    * STATUS COMMANDS- Provide status on the server and the MP.            CL, DF, LS, MS, PS, SL, SR, SS, VFP    * SERVER CONTROL- Alter the state of the server            MR, PC, RB, RS, TC    * GENERAL MP CONFIGURATION            AC, BP, CG, DC, IT, LOC, PR, SDM, SO, XD, XU    * MP PORT CONFIGURATION- Configure LAN/WEB, remote/modem, and local ports            CA, EL, ER, LC, PG    * CONNECTIONS- Examine and make connections or change mode            CO, CSP, DI, EX, SE, TE, VFP, WHO MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                      OPERATOR / ADMINISTRATOR HELP Administrators have more capabilities than Operators:   Administrator-Only Commands:   AR (Automatic system Restart), DC (Default Configuration), IT (Inactivity   Timeout), LC (LAN Configuration), PG (PaGing), SO (Security Options) The MP Command interface permission/access level:   The MP Command interface permission/access level is set by the first   user that types CTRL-B to initiate it. If that user is an operator-   user, then the command interface runs at operator access level. Even if an   administrator-user logs in later or the operator-user disconnects, the   access level stays the same. The access level can be changed by leaving MP   command mode and and typing CTRL-B again to return. MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                              CONSOLE MODE HELP Typing "CO" from the MP Command interface provides a mirrored version of the OS console. All mirrored users see the same output. At any time, only one of the mirrored users has write access to the console. To get write access to the console, type CTRL-e c f (not CTRL-e CTRL-c CTRL-f). SEE ALSO: CO (COnsole) MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                              SESSION MODE HELP Typing "SE" from the MP Command interface provides a non-mirrored, normal OS login. The session is not the console; it is a separate login to the OS, and the messages that the OS sends to the console will not be seen. RECOMMENDATION: Use the session for ASCII screen-oriented applications (SAM) or file transfer programs (ftp) from the local or modem ports. To use these applications from the LAN, telnet directly to the system for a private login. SEE ALSO: SE (SEssion) MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                              CHASSIS CODES Chassis codes are encoded data that provide system information to the user. Some well-known names for similar data would be Event Logs or Post Codes. Chassis codes are produced by intelligent hardware modules, the O/S, and system firmware. Use VFP to view the live chassis codes. Use SL to view the chassis code log. The following severity (or alert) levels are defined:   0) Minor Forward Progress   4) Reserved   1) Major Forward Progress   5) Critical   2) Informational            6) Reserved   3) Warning                  7) Fatal SEE ALSO: SL, VFP (Show Logs, Virtual Front Panel) MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                                 PORTS HELP The local, remote/modem, and LAN ports are actual connections on the back of the server.  All ports can be used even when the server is non-functional.   * Local port       : Provides serial port terminal access. To configure,                        see the CA (Configure Asynchronous) command.   * Remote/Modem port: Provides external modem access. Related commands                        are ER, MS, and MR (Enable Remote/modem, Modem                        Status, Modem Reset)   * LAN port         : Provides telnet and web access into the MP. Related                        commands are EL, LC, and LS (Enable LAN, LAN                        Configuration, and LAN Status). MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                          REMOTE/MODEM PORT HELP The remote/modem port can be used for dial-in access to the MP or the OS, and can be configured so that the OS or the MP can activate a pager. The remote/modem port is configured via the CA command. The ER command enables/disables the port and gives the modem control over to the MP or the OS. See the help on those commands for more details. SEE ALSO: CA, ER, DI, MR, MS, PG (Configure Asynchronous, Enable Remote,           DIsconnect remote or LAN, Modem Reset, Modem Status, PaGing) MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                             INTERNAL PORT HELP The Internal Port has been obsoleted. MORE Help (Q to go back to main, <CR> for more): ==== MP Help Overview =====================================================                             HPTERM & VT100 HELP RECOMMENDATION: Do not mix HP and vt100 terminal types at the same time. The MP mirrors the system console to the MP local, remote/modem, and LAN ports. One console output stream is reflected to all of the connected console users. If several different terminal types are used simultaneously by the users, some users may see strange results. HP-UX example: Applications which care about the terminal type (install, SAM, vi, etc.) running on HP-UX use three methods to determine the terminal type:   1) The application takes the terminal information from the OS. This      value is set in the CA command and takes effect for all MP ports.   2) The $TERM shell environment variable   3) The application directly queries the terminal (in this case, the      write enabled terminal will establish the terminal type.) Make sure that settings #1 and #2 agree with your terminal type. ==== (HE for main help, enter command name, or Q to quit) MP HELP: ==== MP Help ============================================(Administrator)===       Hardware Revision a1 Firmware Revision E.02.07 Aug 8 2002,23:00:38                         MP Help System     Enter a command at the help prompt:            OVerview : Launch the help overview            LIst : Show the list of MP commands            <COMMAND> : Enter the command name for help on individual command            TOPics : Show all MP Help topics and commands            HElp : Display this screen            Q : Quit help ==== MP HELP: 

It is important to note that neither a login name or password were required to log in after the ^b was issued. This is because at startup, no MP users have yet been configured. At this point, any user can get access to this menu by typing ^b at the system console. Newer versions of the MP require a login name and password.

The MP overview provides a wealth of information. Although this was a long output, I included it because it describes many MP commands and functions. As previously mentioned, at startup any user can get access to the MP menu. Because you don't want unauthorized users to have access to many of theses commands, the first step we'll take is to set up security options using the Security Options command, SO. SO begins by summarizing its parameters after which it asks you a series of security related questions. I have listed them here. In the example, I answered y when asked if I wanted to modify the parameters so that we could see each one individually. I answered n when asked if I wanted to modify each individual parameter. Your answers should reflect your own security preferences:

 MP> SO This command allow you to modify the security options and access control. MP wide parameters are:    . Login Timeout: 1  minutes.    . Number of Password Faults allowed: 3    . Flow Control Timeout: 5  minutes.    . SSL for Web Access: Disabled    . Contact Information:        ->contact person :        ->contact phone number :        ->contact email address :        ->contact pager number :    . Location Information:        ->server location :        ->server rack ID :        ->server position : Do you want to modify the MP wide parameters? (Y/[N]) y    Current Login Timeout: 1 minutes.    Do you want to modify it? (Y/[N]) n    Current Number of Password Faults allowed: 3    Do you want to modify it? (Y/[N]) n    Current Flow Control Timeout: 5 minutes.    Do you want to modify it? (Y/[N]) n    Current SSL for Web Access: Disabled    Do you want to modify it? (Y/[N]) n    Do you want to modify the contact information? (Y/[N]) n    Do you want to modify the location information? (Y/[N]) n User number 1 parameters are:    . User's Name:    . User's Login:    . Organization's Name:    . Dial-back configuration: Disabled    . Access Level: Operator    . Mode: Single    . User's state: Disabled Do you want to modify the user number 1 parameters? (Y/[N]/Q to quit) q MP Host Name:  uninitialized MP> 

You can see that there are many Security Options. Because you have unlimited access to the system through the console, you will want to review these to ensure that they meet your requirements. You can add users and perform other security-related tasks.

In addition to configuring users and security, there are many useful features of MP. I encourage you to experiment with it. One command I often use is cl. I use cl to display a console history, as shown in the following listing for the rx2600 system used throughout the examples in this chapter:

 MP> cl EFI Boot Maintenance Manager ver 1.10 [14.60] Select the Console Output Device(s)       Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(PcAnsi)       Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100)       Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100+)       Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(VtUtf8)       Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(PcAnsi)       Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100)     * Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100+)       Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(VtUtf8)     * Acpi(HWP0002,700)/Pci(2|0)     Save Settings to NVRAM     Exit EFI Boot Maintenance Manager ver 1.10 [14.60] Select the Console Output Device(s) Press Q/q to quit, Enter to continue: 

This listing shows the last console task we completed, which was to enable the graphics console (the second entry with an * in front of it), which you did at the end of the last section.

You can also use MP to obtain the status of power modules with ps, as shown in the following listing:

 MP> ps PS System Power state: On            Power Switch      : On Temperature       : Low OverTemp  Selected fan state: Normal           Power supplies          | Fan  #  State               Type      | States ----------------------------------------------------------- 0  Normal               Type 0    | Normal 1  Not Installed           -      | Normal 2    -                     -      | Normal 3    -                     -      | Normal 4    -                     -      | Normal 5    -                     -      | Normal 6    -                     -      | Normal 7    -                     -      | Normal MP Host Name: uninitialized MP> 

This shows output that you have one power supply and that our many fans are operating Normal. The second power supply is not installed.

You can view processor status with ss, as shown in the following listing:

 MP> ss       (This command will not run on Integrity               Superdome in the future) SS System Processor Status:    Monarch Processor: 0    Processor 0 is : Installed and Configured    Processor 1 is : Installed and Configured MP Host Name: uninitialized MP> 

This listing shows that there are two processors installed and the Monarch Processor is 0. This is the main controlling processor from the perspective of the operating system. This processor is designated as CPU 0. The Low Priority Machine Check (LPMC) monitor will not deactivate or replace a failing monarch processor.

Although they weren't shown in any examples, you can power on or off the system using the PC command, for Power Control.

After you complete your MP-related work you can return to console mode from the MP prompt simply by issuing co, as shown in the following listing:

 MP> co 

Anytime that you are on the console, you can issue ^b and get access to MP and then get back to console mode using co.

Table 1-3 contains a list of high-level MP commands available on Integrity servers at the time of this writing. The commands in this table include co to select the console and vfp to select the virtual front panel. These are high-level commands and descriptions only. A more detailed list of commands is included in later tables. Keep in mind the MP commands for your Integrity system may be somewhat different from those listed.

Table 1-3. Management Processor Commands

Command (Function)

Explanation

AC

Alert display configuration

CA

Configure asynchronous and modem parameters

CL

View console log

CO

Return to console mode

CSP

Connect to remote management processor

DC

Default configuration

DI

Disconnect remote or LAN console

EL

Enable or Disable LAN or Web access

ER

Enable remote or LAN console access

EX

Exit MP and disconnect

HE

Display help for menu or command

IT

Set inactivity timeout settings

LC

Configure LAN connected and PPP console

LOC

Locator LED control

LS

LAN status

MR

Modem reset

MS

Display the status of the modem

PC

Remote power control

PG

Configure paging

PR

Power restore policy configuration

PS

Display the status of the power

RB

Reset BMC through the toggle CPIO pin

RS

Request BMC to reset system through RST signal

SE

Activate a system session on local or remote port

SL

Display status logs

SO

Configure security options and access control

SS

Display the status of the system processors

TC

Request BMC to reset with a TOC

TE

Send a message to other terminals

VFP

Virtual Front Panel (VFP)

WHO

Display a list of connected MP users

XD

Diagnostics and/or reset of MP

XU

Upgrade the MP firmware


The following three tables (1-4 through 1-6) provide more detail about the commands that are issued at the MP:CM> prompt for specific users. Tables 1-7 through 1-9 provide detailed information about additional boot topics such as Cell Local Memory (CLM) and the HPUX boot loader.

Table 1-4. MP:CM> Commands for Single PD User-Commands Unique to User Serv

Command

Expansion

Description

----------------------------------------------------------------------------------------------------------------------------------------------------

BO - Boot Protection Domain: Ensures that all the cells assigned to the target partition have valid complex profiles and then releases Boot-Is-Blocked (BIB).

CP - Cells Assigned by Partition: Displays a table of cells assigned to partitions and arranged by cabinets.

DE - Display Entity Status: Displays the specified entity's status:

C-CLU, D-CIO, M-MP, P-PM, S-PDHC.

RP8400/7410: B-BPS, U-CLU, A-CIO, G-MP, P-PM, H-PDHC.

DF - Display FRUID: Displays the FRUID data of the specified FRU: A-ALL, B-CPB, C-CIO, D-DIMM, G-UGUY, H-SBCH, I-IOB M-PRM, O-IOPB, P-BPB, R-L(R)SB, S-SBC, T-PDH, W-CB, X-BPS, U-CPU (cpu only available on legacy pa-risc).

RP8400/7410: S-BACKPLANE, G-MP/CIO, P-PCI BACKPLANE, M-MASS STORAGE BACKPLANE, I-PCI POWER MODULE, B- BPS, C-CELL, D-DIMM, H-PDHC, U-CPU.

DU - Display USB Topology: A "*" indicates communication with Gsp bus (usb - superdome) or (I2C -RP8400/7410). Cells must past IODISC for a "*" to appear in the MP Core IOs or IO Chassis field.

HE - Display Available Commands: Lists all commands available to the user level: Admin, Oper or Serv - if defined.

ID - Configure System ID data: Configures system ID info: model number&string, serial # (see MP>he id). Use MP>CM:CC commad first.

LS - LAN Status: Displays all parameters and the current status of connections of the MP LAN ports (cu lan = sbch, privlan = sbc).

MA - Return to Main menu: Returns the user from the command menu (MP>CM:) to their main menu (MP>).

PS - Power Status: Displays hardware status: B-CABINET*, C-CELL, G-MP, I-CIO. 8400/7410: T-CABINET*, S-SYSTEM BACKPLANE, G-MP/CIO, P-IO CHASSIS, C-CELL (*cabinet option shows present, availble, and power status of all entities.

RR - Reset Partition for Reconfiguration: Resets the specified partition, but does not automatically boot it. Sets BIB flag.

RS - Reset Partition: Shut down the OS before issuing this command. Execution of this command halts all system processing and I/O activity and restarts the partition. (Similar to a power cycle - a hard reset).

TC - Partition Reset through INIT or TOC: Same effect as MP>CM:RS command but the processors are signaled to dump state on way down. (Replaces legacy TOC button.)

SYSREV - System Revisions: Displays revisions of all firmware entities in the complex. devices. RP8400/74xx requires Admin access.

MP> SL (Show Event Logs): Displays event logs.

FPL - Forward progress log: Was activity log. Alerts 0 and up.

SEL - System event log::= Was error log. Alerts 2 and up.

Note: (d)ump option is new. It cancels pager function and dumps from the current location to the end of the log. Use script or other logging command before using this.

LIVE (U, K then P) Useful to determine partition heartbeat/status

TE - Broadcast a Message to all Users at GSP(MP): CM> Up to 80 characters can be typed in and the message is broad cast to the other users in the command menu. Users in the main menu are not shown the message.

WHO - Display GSP Connected Users: Displays the login name of the connected console client user and the port on which they are connected. For LAN console clients the remote IP address is displayed.

MR - Modem Reset: Sends an AT Z to the system modem connected to the remote port. Any modem connections will be lost.

MS - Modem Status: Displays the state of the modem lines connected to the remote/modem serial port. Status signals DCD, CTS, DSR, RI and the last state of DTR, RTS are displayed. (Use "q" to exit).

IO - IO Chassis Display: Shows Cell to I/O chassis relationship to determine physica location of I/O chassis. Read line vertically under Cell Slot. For example, Slot 0 is usually connected to cab 0, bay 1, chassis 3 -rear facing right.

Chassis Code format: Cabinet,Cell,Cpu


Table 1-6. MP:CM> Commands Unique to Admin (Includes Serv and Oper Commands)

Command

Expansion

Description

----------------------------------------------------------------------------------------------------------------------------------

DATE - Change the MP Time and Date: Changes the value of the real time clock on the MP. This controls chassis log timestamps. Not DST aware so GMT time is used most.

CA - Configure Async local & remote parms: Changes the communications parameters of the local and remote RS232 ports.

DC - Reset Parameters to Default Configuration: Can reset all or a subset of the following parameters: CA, EL, ER, IT, LC, and SO.

SA - Display and set MP Remote Access

T - Enable or disable telnet access

M - Enable or disable modem access - enabled lights "secure light'

N - Enable or disable network diagnostics - was GSP>CM:ND

D - Enable or disable DIAG menu - Lockword needed to activate

I - Enable or disable IPMI lan access - Enable for sms "ipmiacqd" and hpux "parstatus -g" option.

EL - Enable LAN Console Access: Enables telnet access to MP LANs. Use ND to enable diag access over LANs also.

ER - Enable Remote Console Serial Port Access: Enables or disables remote console serial port access. Dome - Secure light on remote serial access denied. RP8400/7410 - Remote access is enabled.

IF - Network Interface Information: Displays information about the network interfaces on the MP. Brief or Verbose. SBC = priv lan = Lan 1, SBCH = customer lan = Lan 0.

LC- LAN Configurations: Modifies the LAN configuration for the MP LAN(s). The user can set the IP, host name, mask and gateway.

ND - Enable/Disable Network Diagnostics: Enable to allow JUST/JET offline diags and FW(UU) to operate. See MP>CM:SA also

OSP - Onboard Scan Programming Utility: RP8400/74xx only.

PWRGRD - RP8400/74xx Pwr Grid: 1 = A0 + A1, 2 = B0 + B1, 3 = Both 1 & 2 (74xx:4=A0+B0, 5=A1+B1)

Rear View: B1 A0 B0 A0.

SO - Security Options and Access Control: Modifies security options and access control to the MP: 1=MP Wide Parameters; 2=User Edit, Add or Del Parameters;. 3=IPMI passwd. sms "ipmiacqd" uses this. Users Admin and Oper are by default. User "Serv" has to be added.

MP MAIN MENU: - Two options only accessible by user Admin:

FW: Firmware Update (Connects to ftp server - usually SMS)

Enter new server IP Address:

Enter new firmware source directory:

Ener new user name:

DIAG: Diagnostic Menu (Wtec can grant lockword on needed basis.)

DM: Diagnostic Message Viewer

DE: Diagnostic event viewer

DS: Diagnostic shell

Q: Quit

MFG - Enter Manu. Level Command Mode: These commands are intended for HP internal use only. Need lockword to access.


Table 1-7. Filesystem, Memory, Shell, and Boot Commands

Filesystem Commands

Commands Requrired to Select a Volume First. i.e., fs0: fs1: fs2: or fs3

attrib - Display attributes of directories of fs0: - fs3: Shell>attrib fs1:\efi\*.

cd - Change directory. Cd by itself shows current working directory.

comp file1 file2 - Compares two files.

cp [-r] [-q] src dst - Classic cp command (-r recursive, -q quiet).

edit - text based editor (Esc 3 to quit).

eficompress [infile] [outfile] - Compresses "infile" to "outfile."

efidecompress [infile] [outfile] - Uncompresses "infile" to "outfile."

hexedit [[-f] [file | [ -d diskname offset size] | [-m offset size]].

ls - list contents of directories (see "help ls" for options) S.

mkdir name [ name] - Creates a directory.

mount blkdevice [sname] - Mounts a fs on a block device.

rm [-q] file | directory - Deletes a file or directory.

setsize newsize file - Changes the file size in bytes.

touch [-r] file | directory - Updates a file or directory. Must exist first.

type [-a | -u] file [file...] - b Similiar to cat command. Use -b to pause.

vol [filesystem] [label] - Display or change name of filesystem volume.

Memory Commands

default [clear] - Resets NVRAM to default settngs. Including boot options.

dmem [address] [size] [:MMIO] - Display memory contents.

dmpstore - Views all the EFI variables.

memmap - Shows how physical memory is mapped out.

mm - Memory Modify (see "help mm" for complete details).

pdt [cell] [clear] - Displays or clears the PDT table. Use "reset" aftewards.

Shell Commands

alias [-d | -v | -b] [sname] [ value] - Displays/creates/del aliases.

cls [color #] Clears standard out and changes background color.

exit - Exits EFI shell and returns to EFI boot manager.

getmtc - Diplays monotonic counter (See "help getmtc" for info).

help [-a] [cmdclass] - Displays help (cmd /? also works).

set [-d | -v] [sname [value]] [-b] - Displays, changes, or deletes variables.

xchar [on | off] - Displays/sets extended char. feature. Default is on.

Boot Commands

autoboot [on|off] | [time [value]]

time = 2 - 65535 second. Also "My computer -> Properties Advanced -> Startup & Recovery" System startup options.

bcfg boot [dump [-v]] | [add # file "desc"] | [rm#] | [mv # #]

"bcfg boot dump" then "bcfg boot mv ori new" | "bcfg boot add"

Easier to use "boot maintenance mgr." Type Shell> exit

Windows use fs#:\msutil\nvrboot.efi. Remember to change acpi.

boottest [on|off] | [[test] [on | off]

early_cpu, late_cpu, platform, chipset, io_hw, mem_init, mem_test

In hpux use "setboot -v" or setboot -T to change settings.

lanboot [select] Use "lanboot select" to search for LANs.

reconfigreset Same as MP>CM: RR Use after cpu/cell config.

reset Resets the partition and boots to EFI. Same as MP>CM:RS.

selp [-a] [cmd | class] - Displays help. (cmd /? also works).

search <cells> [pcislot] | all Useful to find scsi targets:

cell = Cell number (0-15)

pcislot = pci slots (0-11) Use "info io" to determine occupied slots

all: Load the drivers for all possible boot devices in the partition.


Table 1-9. Cell Local Memory (CLM), HPUX Bootloader, and SAC> Commands

Cell Local Memory (CLM)

parstatus - V -p <par # > -g <ipmi passwd> -h <hostname of gsp lan0>

parmodify - p <par # > -m <Cell #>::::<# %> -g <ipmi passwd> -h <gsp hostname lan0>

HPUX> Bootloader Commands

boot [kernel] Boot hpux kernel. hpux vmunix.prev is now "backup."

help [-d] Show help. "-d" shows debug commands.

ls [-b] [dir] Lists directory of /stand.

ll [-b] [dir] Long listing of /stand directory.

mmap Displays current EFI memory map.

setauto [-d] [str] Sets autofile. Same as Shell> type \efi\hpux\auto.

showauto - Display contents of \efi\hpux\auto.

ver - Shows bootloader, hpux, efi, fw vendor, fw rev and cpu rev.

what - Shows vmunix details. Use "what /stand/vmunix."

exit - Exits back to Shell> or fs#.

hpux [-lm] [-vm] [-tm] [-lq] [ -a [C|R|S|D] devicefile] [-fnumber] [-istring] [boot] [devicefile] see "man

hpux" lm = LVM, vm = VXVM and tm = Tunable maintenance mode

lq = Quorum override, C = console, R = root, S = swap and D = dump

SAC> Commands

ch - Lists all channels. Use cmd first to create channel. See ch -?.

cmd - Creates a command prompt channel. "SAC> cmd" then ch -sn cmd0001."

d - Dump the current kernel log.

f - Toggle detailed or abbreviated tlist info.

i | [ <#> <ip> <subnet>] Displays or sets IP addr, subnet, and gw info.

id - Display computer identification info. Shows version and uptime.

k <pid> - Kills the given process.

l <pid> - Lowers the priority of a processs to the lowest possible.

lock - Locks access to the command prompt channels.

m <pid> <MB-allow> Limits a process memory usage.

p - Toggle display paging. Similar to "scroll on" in BCH.

r <pid> - Raises the priority of a process by one.

s | [ mm/dd/yyyy hh:mm] - Sets the time and date. 24-hour format.

t - Thread list. Nice! Sort of like hpux "ps -ef and swapinfo -tam" Also nice to use during headless install to view progress of "setup.exe" pid.

restart - Restarts the system immediately.

shutdown - Shuts down the system immediately.

crashdump - "INIT" the system. You must have crashdump enabled.

Windows "shutdown /r" same as hpux "shutdown -R" ./s optionsets BIB


Table 1-5. MP:CM> Commands Unique to Oper (Includes Serv Commands)

Command

Expansion

Description

----------------------------------------------------------------------------------------------------------------------------------

CC - Complex Configuration: Used to create an single cell partition. "G" uses lowest cell slot # connected to a I/O chassis with CIO. Cell must be at BIB. "L" or restore option retieves last successfully downloaded profile.

DI - Disconnect Remote/Modem or LAN Console: Disconnects all remote/modem or LAN users from the MP. Caution!

IT - Inactivity Timeout Settings: Prevents a user from inadvertently keeping the MP command menu locked in a MP>:CM command Default is 3 minutes (3-1440). Useful if extra time needed for ID command.

PARPERM: Enables or Disables partition (Npar) reconfiguration.

PCIOLAD: Add/insert or remove/eject a pci card. Cab-Bay-Ch-Slot.

PD - Partition Number Default: Sets the default partition number used by commands, which require a partition number (e.g. RS). The user "serv" partition is default and cannot select other partitions.

PE - Power Entity: Allows the user to switch the power ON or OFF to a cabinet, cell or an I/O chassis. B-CABINET, C-CELL, I-HIOB.

RP8400/7410: T-CABINET, C-CELL, D-DVD or TAPE, P-I/O CHASSIS

(0 = Front Right, 1 = Front Left) **For I/O chassis always power cell off**

RE - Reset Entity: Resets the specified entity: C-CELL, I-HIOB, M-MAIN BACKPLANE. RP8400/7410: C-CELL, P-IO Chassis, S-SYSTEM BACKPLANE. Special use only; use RS or RR instead.

RL - Rekey Complex Profile Lock: Rekeys the complex profile lock. This command should only be used to recover from an error where the holder of the lock terminates before releasing the lock. Rarely used. A=Stable, B= Dynamic, C=Partition Config data.

XD - Diagnostics and/or Reset of MP: Diagnostics and/or Reset of GSP(MP). 1=Parameter Chksum, 2=Ping, R=Reset, RP8400/7410: 1 and 2 same as Superdome, 3=Soft Reset Master MP, 4=Soft Reset Slave MP. Note: bottom button on MP is reset. Holding button longer than five seconds resets LC and SO parameters.

ALERT LEVELS

 

0 = Minor fwd progress

3 = Warning

6 = Reserved

 

1 = Major fwd progress

4 = Reserved

7 = Fatal

 

2 = Informational

5 = Critical

 


Table 1-8. Configuration Commands

Configuration Commands

acpiconfig [windows | default]

default is for linux and hpux. (Reset is required to take effect).

cellconfig [cell] [on | off] Note: MP>CM:mfg must be enabled

cell = Cell number (0-15)

on|off : Specifes to configure or deconfgure a cell (Reset required).

cpuconfig [cell] [module] [on | off]

cell = Cell number (0-15)d

module : Specifies which cpu module to configure (0-3)

on | off : Specifies to configure or deconfigure a cpu module.

date [mm/dd/[yy]yy] - Displays or sets the date.

dimmconfig [cell] [dimm] [on | off]

dimm = XY where X = Echelon (0-15) Y = Side format (a-f)

cell = Cell number (0-15).

err [errorlevel] - Display or set bitmask error reporting.

errdump <cell> | all <logtype> | clear | clear <logtype> [-n ]

cell = Cell number (0-15)

all = Use all instead of cell # to retrieve/clear logs for all cells in pd.

logtype = mca, init, cmc, drr or all. drr is deadlock recovery reset

-n = no interactive prompts.

fru [cell] [frutype]

cell = Cell number (0-15) & frutype = only "mem" is available.

info [cell] [target] cell = Cell number (0-15)

target = all, boot, cache, cell, chiprev, cpu, fabric, fw, io, mem, sys.

monarch [cell] [module] [cpu]

cell = Cell number (0-15) & module = module number (0-3)

cpu = which cpu on the module (0-1).

palproc - Make a PAs call (see help for additional info).

romdrivers - (see help) shows vendor vs. hp partnumber.

rootcell [clear] [[c0] [c1] [c2] [c3]] c = Cell number (0-15).

salproc - Sal procedure call (see help for additional info).

tftp [select] Use select option to select a LAN card.

time [hh:mm[:ss]] Displays or sets time Accepts 24 hour format.

variable <-s | -r > [filename] Similar to nvrboot export/import.

ver - Displays EFI, Sal, Pal, and module version information.


Tables 1-4 through 1-6 provide a lot of information about the com- mands that specific users can issue at the MP:CM> prompt. Although the commands issued in Tables 1-7 through 1-9 are beyond the scope of this book, I have found that these tables are an excellent reference for Integrity servers especially when running additional operating systems beyond Linux.

The next chapter discusses loading Linux on an Integrity server.

     < Day Day Up > 


    Linux on HP Integrity Servers. A System Administrator's Guide
    Linux on HP Integrity Servers: A System Administrators Guide
    ISBN: 0131400002
    EAN: 2147483647
    Year: 2004
    Pages: 100

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net