处理HP-UNIX面板灯报警及配置MP - AIX - olivenan

来源:百度文库 编辑:神马文学网 时间:2024/04/30 00:56:58
处理HP-UNIX面板灯报警及配置MPHP rs6600面板左侧第2、3个等有桔灯告警
一、查看报警日志
#/usr/sbin/diag/contrib/slview -f /var/stm/logs/os/fp1.log.00
>a
>3
二、处理报警日志
小机告警灯闪烁桔黄色说明MP日志里面有3级告警,告警日志被读过以后告警等就会自动消失
1、通过串口连接主机与控制终端(如果没有控制终端可以找一个带串口的笔记本,通过串口线连接主机的console口)
超级终端速率设置为9600。
注意:根据需要设置 超级终端 属性->设置->功能键、箭头键和ctrl健用作
其它默认
2、连接以后按ctrl+b切换到MP,默认用户名和密码是Admin/Admin  *************************************************************************
  This is a private system.
  Do not attempt to login unless you are an authorized user. 
  Any authorized or unauthorized access or use may be monitored and can
  result in criminal or civil prosecution under applicable law.
 *************************************************************************MP login: Admin
MP password: *************
            Hewlett-Packard Integrated Lights-Out HP Integrity    (c) Copyright Hewlett-Packard Company 1999-2006.  All Rights Reserved.                           MP Host Name: rx660001                              Revision F.01.58    MP MAIN MENU:         CO: Console
        VFP: Virtual Front Panel
         CM: Command Menu
      SMCLP: Server Management Command Line Protocol
         CL: Console Log
         SL: Show Event Logs
         HE: Main Help Menu
          X: Exit Connection[rx660001] MP> sl
Event Log Viewer Menu:       Log Name            Entries    % Full      Latest Timestamped Entry
---------------------------------------------------------------------------
   E - System Event          226        30 %      15 Feb 2008 02:06:59
   F - Forward Progress     4000       100 %
   B - Current Boot          114        38 %
   P - Previous Boot         114        38 %
   C - Clear All Logs
   L - Live EventsEnter menu item or [Ctrl-B] to Quit: e
       Log Name            Entries    % Full      Latest Timestamped Entry
---------------------------------------------------------------------------
   E - System Event          225        30 %      13 Nov 2007 09:05:10
Event Log Navigation Help:   +       View next block     (forward in time,  e.g. from 3 to 4)
   -       View previous block (backward in time, e.g. from 3 to 2)
       Continue to the next or previous block
   D       Dump the entire log
   F       First entry
   L       Last entry
   J       Jump to entry number
   H       View mode configuration - Hex
   K       View mode configuration - Keyword
   T       View mode configuration - Text
   A       Alert Level Filter options
   U       Alert Level Unfiltered
          Display this Help menu
   Q       Quit and return to the Event Log Viewer Menu
   Ctrl-B  Exit command, and return to the MP Main Menu
MP:SL (+,-,,D, F, L, J, H, K, T, A, U, ? for Help, Q or Ctrl-B to Quit) >
#  Location|Alert| Encoded Field    |  Data Field    |   Keyword / Timestamp
-------------------------------------------------------------------------------
224   OSA      2  0x21473968C6021340 FF0F066F001F0300 BOOT_FINISHED
                                                      13 Nov 2007 09:05:10
223   SFW  0   2  0x40801CBB00E01320 0000000000000000 BOOT_SWITCH_INSECURE_MODE
                                                      13 Nov 2007 09:03:23
222   SFW  0   0  0x548002C500E01300 0000000000000000 BOOT_REBOOT
                                                      13 Nov 2007 09:02:44
221   BMC      2  0x20473968270212F0 FFFF027000120300 SOFT_RESET
                                                      13 Nov 2007 09:02:31
220   OSA     *7  0x21473967C20212E0 FF0F016F00200300 OS_CRITICAL_SHUTDOWN
                                                      13 Nov 2007 09:00:50
219   SFW  6  *7  0xF480007906E012C0 0000000000000006 INIT_INITIATED
                                                      13 Nov 2007 09:00:48
218   SFW     *7  0xC1473967C00212B0 003FA36F00130300 INIT_INTERRUPT_INITIATED
                                                      13 Nov 2007 09:00:48
217   SFW  4  *7  0xF480007904E01290 0000000000000004 INIT_INITIATED
                                                      13 Nov 2007 09:00:48
216   SFW     *7  0xC1473967C0021280 003FA36F00130300 INIT_INTERRUPT_INITIATED
                                                      13 Nov 2007 09:00:48
MP:SL (+,-,,D, F, L, J, H, K, T, A, U, ? for Help, Q or Ctrl-B to Quit) >.....
日志读取完毕后,报警消除三、为了管理方便配置 MP lan[rx660001] MP> cm (Use Ctrl-B to return to MP main menu.)
1、将DHCP Status改为disabled,只有将其改为disabled我们才可以修改ip
[rx660001] MP:CM> lc
LC
At each prompt you may type DEFAULT to set default configuration or Q to Quit
Current LAN Configuration:
     - - MAC Address                : 0x0014c29c3755
     D - DHCP Status                : Enabled
     - - IP Address                 : 0.0.0.0
     M - MP Host Name               : rx660001
     - - Subnet Mask                : 0.0.0.0
     - - Gateway Address            : 0.0.0.0
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22
     - - IPMI / LAN Port            : 623Enter parameter(s) to change, A to modify All, or [Q] to Quit: d
dFor each parameter, enter:
     New value, or
     to retain the current value, or
     DEFAULT to set the default value, or
     Q to Quit
DHCP Status:
              D - Disabled
   Current -> E - Enabled  (default)
   Modifying this parameter will cause all present LAN and Web
   connections to be dropped.Enter new value, or Q to Quit: d
d   -> DHCP Status will be updated
New LAN Configuration (* modified values):
     - - MAC Address                : 0x0014c29c3755
   * D - DHCP Status                : Disabled
   * I - IP Address                 : 127.0.0.1
     M - MP Host Name               : rx660001
   * S - Subnet Mask                : 255.255.255.0
   * G - Gateway Address            : 127.0.0.1
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22
     - - IPMI / LAN Port            : 623   -> Check all LAN parameters to ensure they are correct before commit.
   -> All LAN and Web connections will be dropped if you confirm the changes.Enter Parameter(s) to revise, Y to confirm, or [Q] to Quit: i y
y   -> LAN Configuration has been updated.
   -> Reset MP (XD command option 'R') for configuration to take effect.
2、配置IP,subnet mask,gateway[mp0014c29c370f] MP:CM> lc
LC
At each prompt you may type DEFAULT to set default configuration or Q to Quit
Current LAN Configuration:
     - - MAC Address                : 0x0014c29c370f
   * D - DHCP Status                : Disabled
   * I - IP Address                 : 127.0.0.1
     M - MP Host Name               : mp0014c29c370f
   * S - Subnet Mask                : 255.255.255.0
   * G - Gateway Address            : 127.0.0.1
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22
   -> Check all LAN parameters to ensure they are correct before commit.
   -> All LAN and Web connections will be dropped if you confirm the changes.Enter Parameter(s) to revise, Y to confirm, or [Q] to Quit: i
iFor each parameter, enter:
     New value, or
     to retain the current value, or
     DEFAULT to set the default value, or
     Q to Quit
IP Address:
   Current -> 0.0.0.0
              127.0.0.1 (default)
   Modifying this parameter will cause all present LAN and Web
   connections to be dropped.Enter new value, or Q to Quit: 192.168.131.241
192.168.131.241   -> IP Address will be updated
New LAN Configuration (* modified values):
     - - MAC Address                : 0x0014c29c370f
   * D - DHCP Status                : Disabled
   + I - IP Address                 : 192.168.131.241
     M - MP Host Name               : mp0014c29c370f
   + S - Subnet Mask                : 255.255.255.0
   + G - Gateway Address            : 127.0.0.1
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22
+ indicates inconsistent parametersEnter parameter(s) to revise, or [Q] to Quit: s
sFor each parameter, enter:
     New value, or
     to retain the current value, or
     DEFAULT to set the default value, or
     Q to Quit
Subnet Mask:
   Current -> 0.0.0.0
              255.255.255.0 (default)
   Modifying this parameter will cause all present LAN and Web
   connections to be dropped.Enter new value, or Q to Quit: 255.255.0.0
255.255.0.0   -> Subnet Mask will be updated
New LAN Configuration (* modified values):
     - - MAC Address                : 0x0014c29c370f
   * D - DHCP Status                : Disabled
   + I - IP Address                 : 192.168.131.241
     M - MP Host Name               : mp0014c29c370f
   + S - Subnet Mask                : 255.255.0.0
   + G - Gateway Address            : 127.0.0.1
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22
+ indicates inconsistent parametersEnter parameter(s) to revise, or [Q] to Quit: g
gFor each parameter, enter:
     New value, or
     to retain the current value, or
     DEFAULT to set the default value, or
     Q to Quit
Gateway Address:
   Current -> 0.0.0.0
              127.0.0.1 (default)Enter new value, or Q to Quit: 192.168.131.1
192.168.131.1   -> Gateway Address will be updated
New LAN Configuration (* modified values):
     - - MAC Address                : 0x0014c29c370f
   * D - DHCP Status                : Disabled
   * I - IP Address                 : 192.168.131.241
     M - MP Host Name               : mp0014c29c370f
   * S - Subnet Mask                : 255.255.0.0
   * G - Gateway Address            : 192.168.131.1
     L - Link State                 : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22
   -> Check all LAN parameters to ensure they are correct before commit.
   -> All LAN and Web connections will be dropped if you confirm the changes.Enter Parameter(s) to revise, Y to confirm, or [Q] to Quit: y
y   -> LAN Configuration has been updated.
   -> Reset MP (XD command option 'R') for configuration to take effect.
3、检查MP Lan状态
[rx660001] MP:CM> ls
LSCurrent LAN Configuration:
     MAC Address                : 0x0014c29c3755
     DHCP Status                : Disabled
     IP Address                 : 192.168.131.240
     MP Host Name               : rx660001
     Subnet Mask                : 255.255.0.0
     Gateway Address            : 192.168.131.1
     Link State                 : Auto Negotiate
     Remote Serial Console Port : 2023
     SSH Access Port            : 22
     IPMI / LAN Port            : 623
LAN status: UP and RUNNING 备注:虽然这提示LAN status: UP and RUNNING,我们仍然需要对 MP进行重启,否则网络无法ping通。
4、开启远程访问
SAThis command allows you to modify MP access configuration.Current Set Access Configuration:
     T - Telnet        : Enabled
     W - Web SSL       : Enabled
     H - SSH           : Enabled
     I - IPMI over LAN : Disabled
     C - Command Mode  : MP MenuEnter parameter(s) to change, A to modify All, or [Q] to Quit: I
I
For each parameter, enter:
     New value, or
     to retain the current value, or
     DEFAULT to set the default value, or
     Q to QuitIPMI over LAN  Port Access Configuration:   Current -> D - Disabled  (default)
              E - Enabled Enter new value, or Q to Quit: e
e   -> IPMI over LAN Port Access Configuration will be updatedNew Set Access Configuration (* modified values):
     T - Telnet        : Enabled
     W - Web SSL       : Enabled
     H - SSH           : Enabled
   * I - IPMI over LAN : Enabled
     C - Command Mode  : MP MenuWarning: enabling IPMI over LAN will allow an anonymous user login
(an IPMI user with null name and password).  To secure access please
set the password of the null user using an IPMI tool.Enter Parameter(s) to revise, Y to confirm, or [Q] to Quit: y
y
   -> Set Access Configuration has been updated.
5、重启MP
[mp0014c29c370f] MP:CM> XD
XD
Diagnostics Menu:
Non destructive tests:
     P - Parameter checksum
     I - I2C access (get BMC Device ID record)
     L - LAN access (PING)
     H - History
Destructive tests:
     R - Restart MPEnter menu item or [Q] to Quit: R
R   Confirm? (Y/[N]): Y
YMP is now being reset...
测试到网关的连通性
[mp0014c29c370f] MP:CM> xd
XD
Diagnostics Menu:
Non destructive tests:
     P - Parameter checksum
     I - I2C access (get BMC Device ID record)
     L - LAN access (PING)
     H - History
Destructive tests:
     R - Restart MPEnter menu item or [Q] to Quit: l
l
   Enter IP Address: 192.168.131.1
192.168.131.1
   64 bytes received from 192.168.131.1   -> Test result: PASS to continue...网络联通,远程维护ok了。
6、接下来修改密码
 *************************************************************************
  This is a private system.
  Do not attempt to login unless you are an authorized user. 
  Any authorized or unauthorized access or use may be monitored and can
  result in criminal or civil prosecution under applicable law.
 *************************************************************************MP login: Admin
MP password: *************
            Hewlett-Packard Integrated Lights-Out HP Integrity    (c) Copyright Hewlett-Packard Company 1999-2006.  All Rights Reserved.                           MP Host Name: rx660001                              Revision F.01.58    MP MAIN MENU:         CO: Console
        VFP: Virtual Front Panel
         CM: Command Menu
      SMCLP: Server Management Command Line Protocol
         CL: Console Log
         SL: Show Event Logs
         HE: Main Help Menu
          X: Exit Connection[rx660001] MP> cm         (Use Ctrl-B to return to MP main menu.) [rx660001] MP:CM> uc
UCThis command allows you to modify the user configuration.
User Configuration Menu:
     L - List current users
     N - Add a New user
     C - Change a current user
     D - Delete a current userEnter menu item or [Q] to Quit: c
c
Current User Configuration:
       Login ID             User Name               Access Rights   Enabled
  --------------------------------------------------------------------------
   1 - Admin                Default Admin           C, P, M, U, V   Yes
   2 - Oper                 Default Operator        C, V            YesSelect User to modify by number, or [Q] to Quit: 1
1
Current User Parameters:
     L - User Login ID         : Admin
     P - User Password         : ************
     U - User Name             : Default Admin
     W - User Workgroup        :
     R - User Access Rights    : Console access, Power control,
                                 MP configuration, User administration,
                                 Virtual Media
     - - User Operating Mode   : Multiple
     - - User Enabled/Disabled : Enabled Enter parameter(s) to change, A to modify All, or [Q] to Quit: p
pFor each parameter, enter:
     New value, or
     to retain the current value, or
     Q to Quit
User Password:
   6-24 characters
     to retain current passwordEnter New Password:
修改密码后会自动断开连接