大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

HP-UX之MP管理


HP-UX之MP管理

一、MP卡介绍:

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

我们提供的服务有:成都网站设计、成都网站建设、外贸网站建设、微信公众号开发、网站优化、网站认证、丰顺ssl等。为超过千家企事业单位解决了网站和推广的问题。提供周到的售前咨询和贴心的售后服务,是有科学管理、有技术的丰顺网站制作公司

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

下面以RX2660为例,介绍MP的管理,下图中9(Console IOIOI)和12(MP 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

 

7、Dump 全部的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


网站栏目:HP-UX之MP管理
URL分享:http://dzwzjz.com/article/ihiesi.html
在线咨询
服务热线
服务热线:028-86922220
TOP