HP-UX之MP管理
一、MP卡介紹:
在HP Integrity Server中有一塊有一張獨立於主機和系統之外的整合卡,這張卡里面有小型的整合系統(是獨立於系統的一個操作環境),該卡負責對系統的狀態進行監視和控制。這張卡叫做GSP卡或者MP卡(老型號的機器叫做GSP(Guardian Service Processor (GSP)) 卡,新機器叫做MP卡)。該卡在系統插上電源後即被啟用,無論作業系統是否啟動,系統是否開機。該卡提供了兩種介面的訪問方式:
(1)透過串列埠的方式訪問.(這個需要在機房操作)
(2)透過網路的的方式訪問,也就是lan console的登陸方式.(在GSP卡和MP卡上都有串列埠和網路介面)
下面以RX2660為例,介紹MP的管理,下圖中9(Console IOIOI)和12(MP LAN)就是兩種方式訪問的介面。
二、兩種訪問方式的介紹:
2.1 透過串列埠的方式進行連線
首先,透過串列埠線連結到RX2660上的控制檯串列埠(即上圖中的9),然後透過終端進行連線,波特率為9600,資料位為8,埠根據實際情況進行選擇,具體如下圖所示:
根據提示,輸入預設的使用者名稱: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)如下圖所示:
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),如下圖所示:
*************************************************************************
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地址,如下所示:
三、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(苦練七十二變,笑對八十一難)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31015730/viewspace-2146166/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- HP-UX MP管理(RX7620 11.31為例)UX
- HP-UX lvm管理UXLVM
- HP-UX邏輯卷管理UX
- HP-UX系統管理員手冊UX
- HP-UX磁碟管理與檔案系統UX
- HP-UX系統管理員的日常工作(轉)UX
- HP-UX KCWEBUXWeb
- hp-ux oracleUXOracle
- AIX,HP-UX,LINUX,SOLARIS磁碟與卷管理常用命令AILinux
- win10怎麼把mp4改mp3_win10如何把mp4改mp3Win10
- MP總結
- hp-ux點滴UX
- 做HP-UX技術多年的感悟:IT人士之成功之6大步驟(轉)UX
- MP3編碼器:MP3 Encoder for MacMac
- ubuntu mp3Ubuntu
- MP3、MP4國家標準年底出臺 MP5國標開始定框架框架
- [HP-UX] vgcfgrestore 恢復UXGCREST
- hp-ux rman 使用nfsUXNFS
- hp-ux system management homepageUX
- HP-UX教材下載UX
- HP-UX常見命令UX
- HP-UX基本常識UX
- HP-UX安全手冊UX
- MP3 Cutter Joiner for Mac(mp3剪輯合併工具)Mac
- mp3錄音軟體: MP3 Audio Recorder for MacMac
- asynchronous i/o (aio) on HP-UXAIUX
- HP-UX下做磁碟映象UX
- [HP-UX] HA切換命令UX
- HP-UX重置root密碼UX密碼
- HP-UX系統備份UX
- HP-UX 建立邏輯卷UX
- HP-UX常用命令UX
- HP-UX ServiceGuard雙機命令UX
- 啟動 HP-UX 系統UX
- HP-UX TOP用法--轉載UX
- 【轉】HP-UX基本常識UX
- hp-ux tar命令測試UX
- HP-UX 系統概述(轉)UX