HP-UX MP管理(RX7620 11.31为例)

来源:互联网 发布:mac word 文字竖排 编辑:程序博客网 时间:2024/05/16 19:55

1、连接MP端口
 1)先用串口线连接MP 口
 2)打开超级终端,选 com1,设置选“还原默认值”设置如下:9600、数据位8、
 3)连接后会提示MP Loing,输入帐号密码  Admin / Admin (注意在超级终端的 传送-》捕获文字 来保存你的信息到文件上)
 4)MP 登录后系统会提示“Console Login” ,这时直接按 CTRL+b CTRL+b CTRL+b 就进到MP 的模式了
 5)进入MP 模式后会看到菜单:
MP MAIN MENU:
         CO: Consoles
        VFP: Virtual Front Panel (partition status)
         CM: Command Menu
         CL: Console Logs
         SL: Show Event Logs
         HE: Help
          X: Exit Connection
 6)选 SL  SL  SL 进入,会有子菜单:
   EVENT LOG MENU:
     FPL: Forward Progress Log
     SEL: System Event Log
     LIVE: Live Events
     CLR: Clear FPL and SEL
     Q: Quit
 7)选 SEL SEL SEL ,进入下一级
 Welcome to the SEL (System Event Log) Viewer
   The following SEL navigation commands are available:
         D: Dump log starting at current block for capture and analysis
         F: Display first (oldest) block
         L: Display last (newest) block
         J: Jump to specified entry and display previous block
         +: Display next (forward in time) block
         -: Display previous (backward in time) block
      <cr>: Repeat previous +/- command
      <sp>: Repeat previous +/- command
         ?: Display help
        ^B: Exit viewer
   The following event format options are available:
         K: Keyword
         R: Raw hex
         T: Text
   The following event filter options are available:
         A: Alert level
         C: Cell
         U: Unfiltered
  然后按Enter Enter 或是Space Space 会列出日志信息
  [7620_01] MP:VWR (<cr>,<sp>,+,-,?,F,L,J,D,K,R,T,A,C,U,^B) > [7620_01] t
Switching to text format.
[7620_01] MP:VWR (<cr>,<sp>,+,-,?,F,L,J,D,K,R,T,A,C,U,^B) > [7620_01] 
Log Entry 5533:    12/02/2012 00:00:24
Alert level 2:  Informational
Keyword:  MP_TIMESTAMP
MP timestamp event.
Reporting Entity:  Management Processor located in cabinet 0
0x4b001a6600e00045 0x0100000050ba9a18
Log Entry 5532:    12/01/2012 21:18:25
Alert level 2:  Informational
Keyword:  IPMI Type-E0 Event
Event definition not found
Reporting Entity:  Unrecognized report entity type
Legacy PA HEX Code:  0x01001
0x5f801c2f02e00043 0x0000000000001001
0x4b001c2f02e00044 0x0100000050ba7421
 8)输入 ctrl+b ,然后再 q,回到主菜单:
 9)再入 CM  ,输入 ps 查看状态信息
  [7620_01] MP:CM> ps
Display detailed status of the selected MP bus device.
The following MP bus devices were found:
+---+----+----+-----+-----+-------+-----+
|   |    |    |     |     |       |     |
|   |    |LAN\| Sys |     |  IO   |     |
|Cab| MP |SCSI|Bkpln|Cells|Chassis| BPS |
| # |M  S|0  1|     | 0 1 | 0   1 | 0 1 |
+---+----+----+-----+-----+-------+-----+
| 0 |*   |   *|  *  |   * | *   * | * * |
+---+----+----+-----+-----+-------+-----+
You may display detailed power and hardware status for the following items:

    T - Cabinet
    S - System Backplane
    G - MP (Core I/O)---------------------------------------------这里可以选择自己想要查看的设备的信息
    P - IO Chassis
    C - Cell
        Select Device: t
HW status for rx7620 cabinet : FAILURE DETECTED
Power switch is on
Right Door is closed
Top Door is closed
Left Door is closed
Total Power Available 7200 VA
Total Power Needed 1535 VA
Power Redundancy : redundant
Power Viability : viable
 Power Status
---------------+-----+-----+-------+-----+
               |     |     |       |     |
               | Sys |     |  IO   |     |
               |Bkpln|Cells|Chassis| BPS |
               |     | 0 1 | 0   1 | 0 1 |
---------------+-----+-----+-------+-----+
 Populated     |  *  |   * | *   * | * * |
 Enabled       |  *  |   * |     * | * * |
 Power OK      |  *  |   * |     * | * * |
 Warning/Fault |     |     |       |     |
 Attention LED |     |     |       |     |
 AC Line status:
  Line A0 Present
  Line A1 Present
  Line B0 Present
  Line B1 Present

2、 管理MP
  CO    
 在主菜单模式下输入co,可以使屏幕脱离MP 管理状态进入到OS 的 Console 界面,可以进入到操作系统之中,然后操作和在普通的终端上操作并无区别。 需要从OS 的 console 界面退回到MP 管理界面中,需要输入“Ctrl+B”。因此co 和 Ctrl+B 是 MP 中最常用的两个命令,co 是从MP 切换到操作系统的console,而 Ctrl+B 是从操作系统console 切换到MP 的管理界面之中。

 VFP(Virtual Front Panel)
 可以显示当前系统的指示灯状态,显示系统的正常与否。

  CM     
  cm 是命令模式,输入cm 后系统进入到cm 模式中,该模式有很多命令可以对系统进行管理,其中最常用的为lc 和 pc,下面着重介绍这两个命令,其他命令可以使用输入help 查看。

 Lc (Lan config):
 是设置MP 上的网卡的IP 地址,以便通过远程方式访问MP,在输入lc 后系统应该显示,输入A 进行修改,按照命令的提示输入相应的IP,网关和主机名,最后保存即可,然后可以使用telnet 访问该MP。
 
 PE (V11.31)-----pc(Power Control):
 使用该命令可以远程给系统上电和下电,输入后应该显示。可以输入on/off 来控制系统的加电情况。 在主菜单中的其他命令,用法都比较简单,可以使用help 查看即可。  在11.31版本中使用的PE
 [7620_01] MP:CM> he    查出所有常用命令
Management Processor Firmware revision  7.008, Dec  1 2005 at 16:43:35
Detailed help on commands is available from the main menu (MP> he)
The following are the Service commands that are available

BO      : Boot a partition.
DATE    : Set the time and date
DF      : Display FRU information of an Entity.
FW      : Firmware Update Utility
DFW     : Duplicate Firmware
MA      : Return to the Main menu.
MR      : Modem Reset
OSP     : Online Scan Programming Utility
PE      : Power entities on or off.
PWRGRD  : Allows user to configure the power grid
RE      : Reset entity.
RR      : Reset a partition for reconfiguration.
RS      : Reset a partition.
SYSREV  : Returns all System Revisions

3、 清除全部的系统log
 当系统日志满的时候,需要清除旧的系统日志
[7620_01] MP> sl
     EVENT LOG MENU:
     FPL: Forward Progress Log
     SEL: System Event Log
     LIVE: Live Events
     CLR: Clear FPL and SEL
     Q: Quit

    [7620_01] MP:VW> clr
    Are you sure you want to clear the FPL and SEL logs? (Y/[N]) y
    Clearing all of the event logs.
4、 检查主机FW
 [7620_01] MP> cm
                Enter HE to get a list of available commands
[7620_01] MP:CM> sysrev
    Cabinet firmware revision report
PROGRAMMABLE HARDWARE :
System Backplane :   GPM          FM        OSP
                   -------     -------    -------
                     1.003       1.002      1.002
PCI-X Backplane  :   LPM          HS
                   -------     -------
                     2.000       1.000
Core IO          :  Master       Slave
                   --------     -------
                      2.011       0.000
                     LPM        PDHC
                   -------    -------
Cell 0 :             0.000      0.000  - not installed
Cell 1 :             1.002      1.010
FIRMWARE:
Core IO
  Master        :  A.007.008
  Event Dict.   :          1.015
  Slave         :  A.000.000  - not installed
  Event Dict.   :          0.000
Cell 0  - not installed
  PDHC          :  A.000.000
  Pri SFW       :      0.000    
  Sec SFW       :      0.000    
Cell 1
  PDHC          :  A.003.027
  Pri SFW       :     23.001 (PA)
  Sec SFW       :      3.096 (IA)

5、检查主机电源和风扇状态
 检查主机电源和风扇问题时可以使用cm 菜单中的命令ps

6、 做 TOC
 有时在系统故障诊断时,需要做TOC,生成dump 文件供响应中心诊断分析,找出故障原因。
 注意:TOC 会使系统shudown 并将内存中的信息dump 到硬盘,以便再诊


原创粉丝点击