HP-UX之MP管理

发布时间:2020-08-08 10:40:18 作者:迷倪小魏
来源:ITPUB博客 阅读:259

HP-UX之MP管理

一、MP卡介绍:

HP Integrity Server中有一块有一张独立于主机和系统之外的集成卡,这张卡里面有小型的集成系统(是独立于系统的一个操作环境),该卡负责对系统的状态进行监视和控制。这张卡叫做GSP卡或者MP(老型号的机器叫做GSP(Guardian Service Processor (GSP)) ,新机器叫做MP)。该卡在系统插上电源后即被激活,无论操作系统是否启动,系统是否开机。该卡提供了两种接口的访问方式:

(1)通过串口的方式访问.(这个需要在机房操作)
(2)
通过网络的的方式访问,也就是lan console的登陆方式.(GSP卡和MP卡上都有串口和网络接口

下面以RX2660为例,介绍MP的管理,下图中9Console IOIOI)和12MP LAN)就是两种方式访问的接口。
HP-UX之MP管理

 

二、两种访问方式的介绍:

2.1 通过串口的方式进行连接

首先,通过串口线链接到RX2660上的控制台串行端口(即上图中的9),然后通过终端进行连接,波特率为9600,数据位为8,端口根据实际情况进行选择,具体如下图所示:
HP-UX之MP管理

根据提示,输入默认的用户名:Admin 密码:Admin(注意:首字母一定要大写),如下所示:

MP login: Admin

MP password: *****

              Hewlett-Packard Integrity Integrated Lights-Out 2

    (c) Copyright Hewlett-Packard Company 1999-2007.  All Rights Reserved.

                           MP Host Name: g6a0006-c

                              Revision F.02.17

 *************************************************************************

                         MP ACCESS IS NOT SECURE

  Default MP users are currently configured and remote access is enabled.

  Modify default users' passwords or delete default users (see UC command)

                                    OR

            Disable all types of remote access (see SA command)

 *************************************************************************

进入MP后,会看到如下菜单:

 

 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

[g6a0006-c] MP>

1、查看MP LAN的当前配置

[g6a0006-c] MP> CM

        (Use Ctrl-B to return to MP main menu.)

[g6a0006-c] MP> LS
LS

Current LAN Configuration:
     MAC Address                : 0x001cc4fca256
     DHCP Status                : Disabled 
     IP Address                 : 10.1.1.57
     MP Host Name               : comsys
     Subnet Mask                : 255.255.255.0
     Gateway Address            : 10.1.1.249
     Link State                 : 10BaseT
     Remote Serial Console Port : 2023
     SSH Access Port            : 22


LAN status: UP and RUNNING
 


2、配置MP LAN的相关信息,根据提示输入相关的信息

[g6a0006-c] MP:CM> lc
LC

Current LAN Configuration:
     - - MAC Address                : 0x001cc4fca256
     D - DHCP Status                : Disabled 
     I - IP Address                 : 16.230.1.80
     M - MP Host Name               : g6a0006-c
     S - Subnet Mask                : 255.255.252.0
     G - Gateway Address            : 16.230.0.1
     L - Link State                 : 10BaseT
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22


Enter parameter(s) to change, A to modify All, or [Q] to Quit: A
A

For each parameter, enter:
     New value, or
      to retain the current value, or
     DEFAULT to set the default value, or
     Q to Quit

//配置IP地址
IP Address:
   Current -> 16.230.1.80
              127.0.0.1 (default)
   Modifying this parameter may cause all present LAN and Web
   connections to be dropped.

Enter new value, or Q to Quit: 10.1.1.57
10.1.1.57

   -> IP Address will be updated

//配置主机名
Host Name:
   Current -> g6a0006-c
              mp001cc4fca256 (default)

Enter new value, or Q to Quit: comsys
comsys

   -> Host Name will be updated

//配置子网掩码
Subnet Mask:
   Current -> 255.255.252.0
              255.255.255.0 (default)
   Modifying this parameter may cause all present LAN and Web
   connections to be dropped.

Enter new value, or Q to Quit: 255.255.255.0
255.255.255.0

   -> Subnet Mask will be updated

//配置网关
Gateway Address:
   Current -> 16.230.0.1
              127.0.0.1 (default)
   Modifying this parameter may cause all present LAN and Web
   connections to be dropped.

Enter new value, or Q to Quit: 10.1.1.249
10.1.1.249

   -> Gateway Address will be updated

//配置远程连接端口
Remote Serial Console Port:
   Current -> 2023 (default)
              Options:  2000 to 2400

Enter new value, or Q to Quit: 2023
2023

   -> Current Remote Serial Console Port has been retained

//配置SSH连接端口
SSH Console Port Number:
   Current -> 22 (default)
              Options:  22, 2000 to 2400

Enter new value, or Q to Quit: 22
22

   -> Current SSH Console Port Number has been retained

//是否启用DHCP
DHCP Status:
   Current -> D - Disabled 
              E - Enabled  (default)
   Modifying this parameter may cause all present LAN and Web
   connections to be dropped.

Enter new value, or Q to Quit: D
D

   -> Current DHCP Status has been retained

//配置Link状态
Link State:
              A - Auto Negotiate (default)
   Current -> T - 10BaseT
   Modifying this parameter may cause all present LAN and Web
   connections to be dropped.

Enter new value, or Q to Quit: T
T

   -> Current Link State has been retained


New LAN Configuration (* modified values):
     - - MAC Address                : 0x001cc4fca256
     D - DHCP Status                : Disabled 
   * I - IP Address                 : 10.1.1.57
   * M - MP Host Name               : comsys
   * S - Subnet Mask                : 255.255.255.0
   * G - Gateway Address            : 10.1.1.249
     L - Link State                 : 10BaseT
     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 may 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.


//验证配置是否成功
[comsys] MP:CM> ls
LS

Current LAN Configuration:
     - - MAC Address                : 0x001cc4fca256
     D - DHCP Status                : Disabled 
     I - IP Address                 : 10.1.1.57
     M - MP Host Name               : comsys
     S - Subnet Mask                : 255.255.255.0
     G - Gateway Address            : 10.1.1.249
     L - Link State                 : 10BaseT
     W - Remote Serial Console Port : 2023
     H - SSH Access Port            : 22

Enter parameter(s) to change, A to modify All, or [Q] to Quit: 

   -> Current LAN Configuration has been retained.


[comsys] MP:CM> sysrev

SYSREV

Current firmware revisions

 MP FW     : F.02.17
 BMC FW    : 05.23
 EFI FW    : ROM A 07.12, ROM B 07.12
 System FW : ROM A 04.03, ROM B 04.03, Boot ROM A
 PDH FW    : 50.07
 UCIO FW   : 03.0b
 PRS FW    : 00.08 UpSeqRev: 02, DownSeqRev: 01
 

3、查看系统的相关信息,如下为信息的分类
[comsys] MP> SL

Event Log Viewer Menu:

       Log Name            Entries    % Full      Latest Timestamped Entry
---------------------------------------------------------------------------
   E - System Event          190        24 %      03 Jan 1998 18:24:55
   F - Forward Progress     2641        66 %      03 Jan 1998 18:24:55
   B - Current Boot           96        32 % 
   P - Previous Boot          99        33 % 
   C - Clear All Logs
   L - Live Events

Enter menu item or [Ctrl-B] to Quit:
 

4、输入help 然后LIst 可以看到命令列表

[comsys] MP> HE

==== MP Help: Main Menu =======================================================

Hardware Revision M0  Firmware Revision F.02.17 Oct  5 2007,16:53:04

Integrated Lights-Out for HP Integrity - Management Processor (MP)

                        MP Help System

    Enter a command at the help prompt:
           OVerview  : Launch the help overview
           LIst      : Show the list of MP Main Menu commands
            : 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:HE> TOPics

==== MP Help: Topics ==========================================================

                                HELP TOPICS

COMmand menu            IPMI over lan                OVerview (all topics)
CONSole                 lICEnsing                    PORTs and connecting
Cmd Line Interface      LIst of commands             user PRIVilege levels
DHCP/DNS                user LOGIN authentication    SSH access
EVENT logs              MAIN menu
Group Actions           MODES
Directory-based Authentication and Authorization

The following commands can be entered for help on the command:

BP  CA  DATE  DC  DF  DI  DNS  FW  HE  ID  IT  LC  LDAP  LM
LOC  LS  MA   PC  PM  PR  PS  RB  RS  SA  SNMP  SO  SS  SYSREV
TC  TE  UC  WHO XD
 

5、查看电源和风扇的状态

[comsys] MP:CM> ps

PS
For System Processor Status see the SS command.
System Power state: On            
System Power usage: 270 Watts 
Temperature       : Normal        


Power supplies                State                         
----------------------------------------------------------- 
Power Supply 1                Normal                          
Power Supply 2                Normal                          

Fans                State               Fans                State              
-------------------------------------------------------------------------------
Fan  1 (Mem)        Normal              Fan  7 (CPU)        Normal             
Fan  2 (Mem)        Normal              Fan  8 (CPU)        Normal             
Fan  3 (Mem)        Normal              Fan  9 (I/O)        Normal             
Fan  4 (Mem)        Normal              Fan 10 (I/O)        Normal             
Fan  5 (CPU)        Normal              Fan 11 (I/O)        Normal             

Fan  6 (CPU)        Normal              Fan 12 (I/O)        Normal


6、查看网卡的状态

[comsys] MP:CM> ls
LS

Current LAN Configuration:
     MAC Address                : 0x001cc4fca256
     DHCP Status                : Disabled 
     IP Address                 : 10.1.1.57
     MP Host Name               : comsys
     Subnet Mask                : 255.255.255.0
     Gateway Address            : 10.1.1.249
     Link State                 : 10BaseT
     Remote Serial Console Port : 2023
     SSH Access Port            : 22

LAN status: UP and RUNNING

 

7Dump 全部的log

[comsys] MP> SL


Event Log Viewer Menu:

       Log Name            Entries    % Full      Latest Timestamped Entry
---------------------------------------------------------------------------
   E - System Event          190        24 %      03 Jan 1998 18:24:55
   F - Forward Progress     2641        66 %      03 Jan 1998 18:24:55
   B - Current Boot           96        32 % 
   P - Previous Boot          99        33 % 
   C - Clear All Logs
   L - Live Events

Enter menu item or [Ctrl-B] to Quit: E


       Log Name            Entries    % Full      Latest Timestamped Entry
---------------------------------------------------------------------------
   E - System Event          190        24 %      03 Jan 1998 18:24:55


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) >D
   Confirm? (Y/[N]): Y


#  Location|Alert| Encoded Field    |  Data Field    |   Keyword / Timestamp
-------------------------------------------------------------------------------
0     BMC      2  0x2047071EF4020010 0181A37000120300 CHASSIS_CONTROL_REQUEST
                                                      06 Oct 2007 05:36:52
1     BMC      2  0x2047071EF7020020 FFFF027000120300 SOFT_RESET
                                                      06 Oct 2007 05:36:55
2     BMC      2  0x2047071EF8020030 FFFF006FFA220300 ACPI_ON
                                                      06 Oct 2007 05:36:56
3     BMC      2  0x2047071EF8020040 FFFF010943090300 POWER_UNIT_ENABLED
                                                      06 Oct 2007 05:36:56
4     SFW      2  0xC147071F03020050 FFFF000A001D0300 CPU_START_BOOT
                                                      06 Oct 2007 05:37:07
5     SFW  0   2  0x5480006300E00060 0000000000000000 BOOT_START
                                                      06 Oct 2007 05:37:07
6     BMC      2  0x2034AB9E1C020080 FFFF0103FCC00300 TIME_SET
                                                      01 Jan 1998 13:46:04
7     BMC      2  0x2034AB9E1C020090 FFFF027000120300 SOFT_RESET
                                                      01 Jan 1998 13:46:04
8     SFW  0   2  0x548002C500E000A0 0000000000000000 BOOT_REBOOT
                                                      01 Jan 1998 13:46:13
9     SFW  0   2  0x40801CBB00E000C0 0000000000000000 BOOT_SWITCH_INSECURE_MODE
                                                      01 Jan 1998 13:46:38
10    HPUX 0   2  0x5F801C2F00E000E0 0000000000001001 HP-UX_BOOT_COMPLETE
                                                      01 Jan 1998 13:57:24
………(此处省略条记录)

182   HPUX 0   2  0x5F801C2F00E00ED0 0000000000001001 HP-UX_BOOT_COMPLETE
                                                      03 Jan 1998 12:40:44
183   HPUX 0   2  0x5F801C3000E00EF0 00000000001A100C HP-UX_OS_NORMAL_SHUTDOWN
                                                      03 Jan 1998 14:56:56
184   BMC      2  0x2034AE51C0020F10 FFFF027000120300 SOFT_RESET
                                                      03 Jan 1998 14:57:04
185   SFW      2  0xC134AE51C5020F20 FFFF000A001D0300 CPU_START_BOOT
                                                      03 Jan 1998 14:57:09
186   SFW  0   2  0x5480006300E00F30 0000000000000000 BOOT_START
                                                      03 Jan 1998 14:57:09
187   SFW  0   2  0x40801CBB00E00F50 0000000000000000 BOOT_SWITCH_INSECURE_MODE
                                                      03 Jan 1998 14:57:35
188   HPUX 0   2  0x5F801C2F00E00F70 0000000000001001 HP-UX_BOOT_COMPLETE
                                                      03 Jan 1998 14:58:52
189   MP   0   2  0x5E800A7A00E00F90 0000000000000006 MP_SELFTEST_RESULT
                                                      03 Jan 1998 18:24:55

   -> This is the last entry in the selected log.

 

8、检查主机FW

[comsys] MP> CM

        (Use Ctrl-B to return to MP main menu.)

[comsys] MP:CM> sysrev

SYSREV

Current firmware revisions

 MP FW     : F.02.17
 BMC FW    : 05.23
 EFI FW    : ROM A 07.12, ROM B 07.12
 System FW : ROM A 04.03, ROM B 04.03, Boot ROM A
 PDH FW    : 50.07
 UCIO FW   : 03.0b
 PRS FW    : 00.08 UpSeqRev: 02, DownSeqRev: 01

 

9、打开或关闭电源

[comsys] MP> CM

        (Use Ctrl-B to return to MP main menu.)

[comsys] MP:CM> pc

PC

Current System Power State: On 

Power Control Menu:
     C   - Power Cycle
     ON  - Power On
     OFF - Power Off
     G   - Graceful Shutdown

Enter menu item or [Q] to Quit: off
off

System will be powered off.

   You must shut down the OS manually before this command is executed.
   Failure to do this can cause problems when the OS is restarted.
   Confirm? (Y/[N]): Y
Y

   -> System is being powered off.


 
10、显示所有固件的修订版本

[comsys] MP> CM

        (Use Ctrl-B to return to MP main menu.)

[comsys] MP:CM> sysrev

SYSREV

Current firmware revisions

 MP FW     : F.02.17
 BMC FW    : 05.23
 EFI FW    : ROM A 07.12, ROM B 07.12
 System FW : ROM A 04.03, ROM B 04.03, Boot ROM A
 PDH FW    : 50.07
 UCIO FW   : 03.0b
 PRS FW    : 00.08 UpSeqRev: 02, DownSeqRev: 01

 

2.2 通过网络的方式进行连接

1、通过SSH方式登录MP

上面已经配置好了IP地址,接下来就是连接上MP LAN管理口(上图的10口),然后进行连接,(注意:端口号为上面设置的22如下图所示:
HP-UX之MP管理

              Hewlett-Packard Integrity Integrated Lights-Out 2

    (c) Copyright Hewlett-Packard Company 1999-2007.  All Rights Reserved.

                           MP Host Name: comsys

                              Revision F.02.17

 *************************************************************************
                         MP ACCESS IS NOT SECURE
  Default MP users are currently configured and remote access is enabled.
  Modify default users' passwords or delete default users (see UC command)
                                    OR
            Disable all types of remote access (see SA command)
 *************************************************************************

   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

[comsys] MP> 
 

2、通过Telnet方式登录MP

通过Telnet方式进行连接,(注意:端口号为上面设置的23),如下图所示:
HP-UX之MP管理

 *************************************************************************
  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.
 *************************************************************************

 *************************************************************************
  Only default users are configured.   
  Use one of the following user/password pairs to login:
  
  Admin/Admin
  Oper/Oper
 *************************************************************************

MP login: Admin
MP password: *****


              Hewlett-Packard Integrity Integrated Lights-Out 2

    (c) Copyright Hewlett-Packard Company 1999-2007.  All Rights Reserved.

                           MP Host Name: comsys

                              Revision F.02.17


 *************************************************************************
                         MP ACCESS IS NOT SECURE
  Default MP users are currently configured and remote access is enabled.
  Modify default users' passwords or delete default users (see UC command)
                                    OR
            Disable all types of remote access (see SA command)
 *************************************************************************

   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

[comsys] MP>
 

3、通过web方式登录MP

在浏览器中输入之前配置好的IP地址,如下所示:
HP-UX之MP管理HP-UX之MP管理HP-UX之MP管理HP-UX之MP管理

 

三、MP相关命令说明

命令

BP

BMC 口令

CA

配置端口参

CE

历史区内录维修情况

CL

示控制历史

CG

成器

CO

返回重定向控制

CSP

连接其他服务处理

CT

配置跟踪

DATE

日期

DC

配置

DF

FRUID

DI

断开与LAN 控制连接

FW

MP

BP

BMC 口令

CA

配置端口参

CE

历史区内录维修情况

CL

示控制历史

HE

单或命令的帮助信息

ID

信息

IT

修改 MP 动计时器

LC

LAN 配置

LOC

定位器 LED 控制

LS

LAN 状态

MA

返回主菜

MR

解调

MS

解调状态

PC

电源控制

PG

配置分页

PR

电源配置

PS

电源管理模块状态

RB

通过 GPIO BMC

RS

BMC 通过 RST 号重置系

SA

配置解调器) LAN Telnet Web 访问选项

SE

在定位器端口激活

SL

日志

SO

安全选项和访问控制

SYSREV

示所有件的修版本

SS

处理模块的系状态

TC

控制转移 通过 INIT 进行系统重

TE

Tell 向其他用户发送消

UC

用户配置

VT

跟踪

VFP

虚拟前面板

WHO

示已连接管理处理器用户

XD

MP 诊断和(或)




作者:
SEian.G
(苦练七十二变,笑对八十一难)



 

推荐阅读:
  1. Docker 之 镜像管理
  2. MySQL之账号管理

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

hp-ux mp 管理

上一篇:Kettle:Oracle多表格批量同步数据=》mysql

下一篇:Linux基础命令---ls

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》