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

tonyzhou_cn發表於2012-12-02

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
      : Repeat previous +/- command
      : 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 (,,+,-,?,F,L,J,D,K,R,T,A,C,U,^B) > [7620_01] t
Switching to text format.
[7620_01] MP:VWR (,,+,-,?,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 到硬碟,以便再診

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27038344/viewspace-750399/,如需轉載,請註明出處,否則將追究法律責任。

相關文章