2013년 9월 4일 수요일

HP UX EFI 구동 절차

삼성 SDS 김현모님의 글에서 발췌함.


=======================================================================

□ 부팅절차

Low-level init                        Mid Level Init                                       High Level Init
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PAL  ->  SAL  ->  EFI Image Load  ->  EFI Boot Manager  ->   O/S Boot Loader(hpux.efi) ->        O/S


□ 세부설명

1. PAL ( Platform Abstraction Layer ) : CPU Check , CELL 정보변경여부등 점검
                                        변경정보가 있으면 MP - CELL 간 정보 Update

2. SAL ( System Abstraction Layer )   : Bootstrap processor 선택 및 메모리 initialize, fabric&plaform devices Inititialize

3. EFI(Extensible Firmware Interface) Image Load :  storage,network devices등 인식하고..Boot Manager Load
                                                    ※ 물리적은 MP에 존재 함.

4. EFI Boot Manager : 2가지로 나눌수 있음...
  - Firmware  : Boot Manger & EFI Shell 가지고 있음  -> ※ MP에 있는것 같음.
   여기서 EFI Shell을 선택하면....shell) prompt로 떨어짐.
 Shell) map -r  -> 물려있는 SCSI 디스크를 보여준다...만약에 F/C를 볼려면..driver를 enable하고 다시 봐야 함.
 - Boot DISK : Boot loader                             -> ※ Boot DISK의 Partition #1번에 설치되어 있음.
                                                                            O/S 영역은 Partition #2번에 설치됨
                                                                           진단용 Program은 Partition #3번에 설치됨.

5. Boot Loader : OS 디스크 Partition #1에 존재하는...hpux.efi 임.
                       - hpux.efi를 실행하면 : 우리가 알고 있는 /stand가 마운트된 상태임...
                         -> HPUX) prompt가 됨..여기서...boot backup, boot vmunix 명령어를 실행시킴.
                       - AUTO를 실행하면 : vmunix -lq가 들어가 있고..실행됨.

rp 2470 서버 셋팅후 o/s Disk 미러링

HP-UX/Operating System 2008/04/30 22:55
http://cafe.naver.com/ghson/307  
rp 2470 서버 셋팅후 o/s Disk 미러링 과정 정리내용 입니다.
1. Disk 상태 확인
omni->root:/>ioscan -fnkC disk
Class     I  H/W Path      Driver S/W State   H/W Type     Description
======================================================================
disk      0  0/0/1/0.3.0   sdisk CLAIMED     DEVICE       HP      DVD-ROM 305
                          /dev/dsk/c0t3d0   /dev/rdsk/c0t3d0
disk      1  0/0/1/1.15.0  sdisk CLAIMED     DEVICE       COMPAQ  BD03664553
                          /dev/dsk/c1t15d0   /dev/rdsk/c1t15d0
disk      2  0/0/2/1.15.0  sdisk CLAIMED     DEVICE       COMPAQ  BD03664553
                          /dev/dsk/c3t15d0   /dev/rdsk/c3t15d0      
현재 /dev/dsk/c1t15d0 와 /dev/dsk/c3t15d0 2개의 disk가 연결되어 있음을 확인할수 있다.

2.booting volume group 상태확인
mni->root:/>lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
Boot: lvol1     on:     /dev/dsk/c1t15d0
Root: lvol3     on:     /dev/dsk/c1t15d0
Swap: lvol2     on:     /dev/dsk/c1t15d0
Dump: lvol2     on:     /dev/dsk/c1t15d0, 0
/dev/dsk/c1t15d0 <== disk가 boot disk로 되어있음

3. mirror(script실행)
omni->root:/>vi root_mirror.sh
pvcrate -B -f /dev/rdsk/c3t15d0
vgextend /dev/vg00 /dev/dsk/c3t15d0
mkboot /dev/rdsk/c3t15d0
mkboot -a "hpux -lq" /dev/rdsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t15d0
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -r /dev/vg00/lvol3
lvlnboot -R
:wq!
omni->root:/>root_mirror.sh
위의 경우처럼 쉘스크립트를 돌려서 미러링을 하거나 수동으로 하나씩 command를 쳐서 한다.

omni->root:/>pvcrate -B -f /dev/rdsk/c3t15d0          <==물리적 볼륨생성 (-B옵션으로 부팅가능)
omni->root:/>vgextend /dev/vg00 /dev/dsk/c3t15d0      <==Root vg에 pv추가
omni->root:/>mkboot -l /dev/rdsk/c3t15d0              <==LIF area 생성
omni->root:/>mkboot -a "hpux -lq" /dev/rdsk/c3t15d0   <==Auto file 생성
omni->root:/>lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t15d0
omni->root:/>lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t15d0
omni->root:/>lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t15d0
<==루트볼륨에 속해 있는 논리볼륨을 미러링한다.-m 1' 옵션은 미러 카피본을 하나 생성한다는 뜻

**LE(logical extend)갯수가 많을수록 current되는 시간이 많이걸리므로 다음의 명령어로 진행사항을 확인할수 있다**
mni->root:/>lvdisplay -v /dev/vg00/lvol1 | grep stale | wc -l   <==wc를 사용하여 stale갯수확인
1234                                                                                   <==1234 ea가 남은 갯수

4.display 명령어로 정상적인 미러링 상태를 확인한다
omni->root:/>lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
        /dev/dsk/c3t15d0 (0/0/2/1.15.0) -- Boot Disk
Boot: lvol1     on:     /dev/dsk/c1t15d0
                        /dev/dsk/c3t15d0
Root: lvol3     on:     /dev/dsk/c1t15d0
                        /dev/dsk/c3t15d0
Swap: lvol2     on:     /dev/dsk/c1t15d0
                        /dev/dsk/c3t15d0
Dump: lvol2     on:     /dev/dsk/c1t15d0, 0
omni->root:/>strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t15d0
/dev/dsk/c3t15d0
omni->root:/>lvdisplay -v /dev/vg00/lvol1 | more
--- Logical volumes ---
LV Name                     /dev/vg00/lvol1
VG Name                     /dev/vg00
LV Permission               read/write  
LV Status                   available/syncd          
Mirror copies               1           
Consistency Recovery        MWC                
Schedule                    parallel    
LV Size (Mbytes)            512            
Current LE                  64       
Allocated PE                128        
Stripes                     0      
Stripe Size (Kbytes)        0                  
Bad block                   off         
Allocation                  strict/contiguous        
IO Timeout (Seconds)        default          
   --- Distribution of logical volume ---
   PV Name            LE on PV  PE on PV 
   /dev/dsk/c1t15d0   64        64       
   /dev/dsk/c3t15d0   64        64      
   --- Logical extents ---
   LE    PV1                PE1   Status 1 PV2                PE2   Status 2
   00000 /dev/dsk/c1t15d0   00000 current  /dev/dsk/c3t15d0   00000 current 
   00001 /dev/dsk/c1t15d0   00001 current  /dev/dsk/c3t15d0   00001 current 
   00002 /dev/dsk/c1t15d0   00002 current  /dev/dsk/c3t15d0   00002 current 
   00003 /dev/dsk/c1t15d0   00003 current  /dev/dsk/c3t15d0   00003 current

5.추가된 디스크가 alternate boot path 로 설정된 것을 확인
omni->root:/>setboot
Primary bootpath : 0/0/1/1.15.0
Alternate bootpath : 0/0/2/1.15.0
Autoboot is ON (enabled)
Autosearch is OFF (disabled)           
**Primary , Alternate bootpath를 "ioscan -fnkC disk" 의 정보와비교해서 확인 한다.
omni->root:/>ioscan -fnkC disk
Class     I  H/W Path      Driver S/W State   H/W Type     Description
======================================================================
disk      0  0/0/1/0.3.0   sdisk CLAIMED     DEVICE       HP      DVD-ROM 305
                          /dev/dsk/c0t3d0   /dev/rdsk/c0t3d0
disk      1  0/0/1/1.15.0  sdisk CLAIMED     DEVICE       COMPAQ  BD03664553
                          /dev/dsk/c1t15d0   /dev/rdsk/c1t15d0
disk      2  0/0/2/1.15.0  sdisk CLAIMED     DEVICE       COMPAQ  BD03664553
                          /dev/dsk/c3t15d0   /dev/rdsk/c3t15d0
                         
**만약 H/W Path 정보가 틀리다면 수정해 줄수 있다.**
ex)omni->root:/>setboot -p 0/0/1/1.15.0        <==0/0/1/1.15.0  를 Primary로
   omni->root:/>setboot -a 0/0/2/1.15.0         <==0/0/2/1.15.0  를 Alternate로
**Autosearch ON이 enabled 인것을 확인
omni->root:/>setboot
Primary bootpath : 0/0/1/1.15.0
Alternate bootpath : 0/0/2/1.15.0
Autoboot is ON (enabled)
Autosearch is OFF (disabled)              <== Autosearch 가 disabled로 되어 있으므로 enabled로 바꿔준다.
omni->root:/>setboot -b on                 <==boot on
omni->root:/>setboot -s on                 <==search on

omni->root:/>setboot
Primary bootpath : 0/0/1/1.15.0
Alternate bootpath : 0/0/2/1.15.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)                <== enabled로 바뀜

6.Halt mode로 셧다운후 Primary를 빼고 Alternate Disk로 부팅해본다.
omni->root:/>shutdown -hy 0
SHUTDOWN PROGRAM
09/12/07 14:01:09 KST
Broadcast Message from root (pts/tb) Wed Sep 12 14:01:09...
PLEASE LOG OFF NOW ! ! !
        System maintenance about to begin.
All processes will be terminated in 0 seconds.

Broadcast Message from root (pts/tb) Wed Sep 12 14:01:09...
SYSTEM BEING BROUGHT DOWN NOW ! ! !

/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
    
     System shutdown in progress
     ___________________________
     Stopping OVCtrl... ................................................. OK
      ................................................................... OK
     Stopping OVTrcSrv... ............................................... OK
     Error 386: Insufficient arguments. wccproxy [start|stop|status] .... OK
     Stop CDE login server .............................................. OK
     Stopping HP-UX Apache-based Web Server ............................. OK
     Stopping HP-UX Tomcat-based Servlet Engine. ........................ OK
     Stopping HP-UX Webmin-based Admin .................................. OK
     Stopping the HPUX Webproxy subsystem ............................... OK
     Stopping HP-UX XML Web Server Tools ................................ OK
     Shutting down the System Management HomePage server ................ OK
     Stop X print server(s) ............................................. N/A
     usage: /sbin/rc2.d/K300shcschedulerd {start|stop} .................. OK
     Stop NFS server subsystem .......................................... OK
     Shutting down CIFS Client .......................................... N/A
     Stopping Event Monitoring Service .................................. OK
     Shutting down the Winbind Daemon ................................... OK
     Unload/Uninstall XF86 DLKM Helper Modules .......................... OK
     Stopping the gWLM Agent ............................................ OK
     Stopping ObAM Application Server ................................... OK
     Shutting down OVPA performance software ............................ OK
     Stopping USB hub daemon ............................................ OK
     Stopping Distributed Single Logical Screen daemon .................. OK
     Stopping audio server daemon ....................................... OK
     Stop auditing subsystem ............................................ N/A
     Stop environment monitoring daemon ................................. OK
     Stop diagnostic subsystem .......................................... OK
     Stop clock daemon .................................................. OK
     Stopping HP Distributed Print Service .............................. OK
     Stop print spooler ................................................. OK
     Stopping HP Disk Array Manager daemons. ............................ OK
     Stopping disk array monitor daemons. ............................... OK
     Stop accounting .................................................... N/A
     Stopping time synchronization ...................................... OK
     Stopping UDC server ................................................ N/A
     Stop vt daemon ..................................................... OK
     Terminating X Font Server .......................................... OK
     Stop remote boot daemon ............................................ OK
     Stopping HP-UX Secure Shell ........................................ OK
     Stopping Instant Capacity .......................................... N/A
     Stop CIM cimserver subsystem ....................................... OK
     Stop Isogon License Server Daemon .................................. OK
     Stop RPC daemon .................................................... OK
     Stopping SNMP PCI FDDI Network Management subAgent ................. OK
     Stop DCE daemons ................................................... OK
     Stopping OSPF MIB Network Management subAgent ...................... N/A
     Stopping SNMP HP-UNIX Network Management subAgent .................. OK
     Stopping SNMP MIB-2 Network Management subAgent .................... OK
     Stopping SNMP Trap Dest Network Management subAgent ................ OK
     Stopping SNMP Master Network Management daemon ..................... OK
     Stopping outbound connection daemons for DDFA software ............. N/A
     Stopping mail daemon ............................................... OK
     Stopping remote system status daemon ............................... N/A
     Stopping RARP protocol daemon ...................................... N/A
     Stop PPP configuration ............................................. OK
     Stopping router discover protocol daemon ........................... N/A
     Stopping dynamic routing daemon .................................... N/A
     Stopping Internet services daemon .................................. OK
     Stopping multicast routing daemon .................................. N/A
     Stop the Trusted Mode with NIS+ subsystem .......................... OK
     Stopping Internet Services ......................................... OK
     Stop NFS client subsystem .......................................... OK
     Stop NIS client subsystem .......................................... OK
     Stop ldap client daemon ............................................ OK
     Stop NIS/LDAP server subsystem ..................................... N/A
     Stop NIS server subsystem .......................................... OK
     Stop NIS+ client subsystem ......................................... OK
     Stop NIS+ server subsystem ......................................... OK
     Stop NFS core subsystem ............................................ OK
     Stop Runner ........................................................ OK
     Stopping ISEE hpservices mad daemon. ............................... OK
     Stopping name server daemon ........................................ N/A
     Unconfigure LAN interfaces ......................................... OK
     Unconfigure HP Gigabit Ethernet interfaces ......................... OK
     Unconfigure HP iether Gigabit Ethernet interfaces .................. OK
     Unconfigure HP igelan Gigabit Ethernet interfaces .................. OK
     Stop network tracing and logging daemon ............................ OK
     Stop pty allocator daemon .......................................... OK
     Stop system message logging daemon ................................. OK
     Stop Software Distributor agent daemon ............................. OK
     Unconfigure Loopback interfaces (lo0) .............................. OK
     Stopping VERITAS Enterprise Administrator Service (vxsvc) .......... OK
     Stop syncer daemon ................................................. OK
     Stop Kernel Logging facility ....................................... OK
     Killing user processes ............................................. OK
     Unload loadable modules ............................................ OK
     Update kernel and loadable modules ................................. N/A
     Unmount file systems ............................................... OK
     Stopping all Volume Manager I/O Daemons ............................ OK
Transition to run-level 0 is complete.
Executing "/sbin/reboot -h         ".
Shutdown at 14:02 (in 0 minutes) reboot: Couldn't write to /etc/utmp entry: /dev/pts/ta

        *** FINAL System shutdown message from root@omni ***
System going down IMMEDIATELY
reboot: Couldn't write to /etc/utmp entry: /dev/pts/tc


*주의 : HP Server는 Halt mode로 부팅할경우 reset을 시켜줘야 함.
Ctrl+b   -> GSP>rs(reset) -> GSP>co

2013년 9월 3일 화요일

HP UX GSP MP MODE

HP-UX  GSP(Guardian Service Processor),  MP(Management Processor) 에 대해서
Features:
* Enables remote server management over the web regardless of the system state.
* In the unlikely event that the operating system in not running,the GSP/MP port can be accessed to power cycle the
server,view event logs and status logs,enable console re-direction,and more.
* Always-on capability: GSP/MP is alive if the power cord is plugged in.
* User/Password access control: Supports operator and administrator users
* Multiple access methods to GSP/MP:
Local port
Remote/modem port
LAN
*Mirrored console:System console output stream is reflected to all of the connected console users
*Display and/or logging of:
The system console,system event logs (chassis codes),Virtual Front Panel (VFP),and system power and configuration
status.
*GSP/MP provides power control,system reset,and Transfer Of Control (TOC) capabilities.
Note: This GSP/MP is similar to Sun™ Advanced Lights Out Manager (ALOM)
1. 접속방법
1. MP에 IP설정시 telnet 접속가능 - MP LAN 포트에 연결
2. MP 시리얼 포트에 직접 연결
MP Card Default IP : 172.0.0.1/255.255.255.0
Default Password : Admin/Admin
2. GSP/MP 사용법
(c)Copyright 2000 Hewlett-Packard Co.,  All Rights Reserved.
Welcome to
Superdome's Management Processor
Utility Subsystem FW Revision Level: 14.22
MP MAIN MENU:
CO: Consoles
VFP: Virtual Front Panel
CM: Command Menu
CL: Console Logs
SL: Show Event Logs
FW: Firmware Update
HE: Help
X: Exit Connection
메뉴 설명
MP MAIN MENU:
CO: Consoles                        : MP모드에서 console모드로 접속
VFP: Virtual Front Panel        : 전면 패널 상태를 확인 (시스템부팅 과정 확인가능)
CM: Command Menu           : Command Mode
CL: Console Logs                  : Console Log 확인
SL: Show Event Logs            : Event Log 확인
FW: Firmware Update           : 펌웨어 업데이트
HE: Help                                : 명령어 리스트 확인
X: Exit Connection                : 뛰쳐나가기
MP> co => MP모드에서 console모드로 접속.
다중 파티션 환경이라면 파티션 목록이 나오고 접속할 파티션을 선택할 수 있음.
Ctrl + b를 눌러 MP모드로 다시 갈수 있다.
MP> vfp  => partition별로 시스템 부팅과정이나 전면 패널 상태를 확인할 수 있다.
Entering Virtual Front Panel
Select terminal type:
[1] hpterm, 70092, 70094, 2392
2  vt100, vt220, ansii, xterm
MP:VFP>
Welcome to the Virtual Front Panel (VFP).
Use ^B to exit.
MP> cm  => Command Mode (CM)으로 간다.
Enter HE to get a list of available commands
(Use ^B to return to main menu.)
* CM모드에서 할 수 있는 명령어
MP:CM> he  => 명령어 리스트 확인
Management Processor (MP) - FW Revision 14.22, Dec  9 2003 at 15:00:01
Utility Subsystem FW Revision Level: 14.22
The following are the service commands that are available
BO      : Boot a partition.
DF      : Display FRU information of an Entity.
MA      : Return to the Main menu.
MR      : Modem Reset
PCIOLAD : Activate/Deactivate a PCI card.
PE      : Power entities on or off.
RE      : Reset entity.
RR      : Reset a partition for reconfiguration.
RS      : Reset a partition.
TC      : Send a TOC signal to a partition.
TE      : Broadcast a message to all users of the MP Command Handler.
VM      : Margin the voltage in a cabinet
WHO     : Display a list of MP connected users
CP      : Display partition cell assignments
HE      : Display the list of available commands
IO      : Display IO chassis/cell connectivity
LS      : Display LAN connected console status
MS      : Display the status of the Modem
PS      : Display detailed power and hardware configuration status.
SYSREV  : Display revisions of all firmware entities in the complex.
CA      : Configure Asynchronous and Modem parameters
CC      : Initiate a Complex Configuration
CP      : Display partition cell assignments
DATE    : Set the time and date
DC      : Reset parameters to default configuration
DI      : Disconnect Remote or LAN Console
ID      : Change certain stable complex configuration profile fields
IO      : Display IO chassis/cell connectivity
IT      : Modify command interface inactivity timeout
LC      : Configure LAN connections
LS      : Display LAN connected console status
PARPERM : Enable/Disable Partition Reconfiguration
PD      : Modify default Partition for this login session.
RL      : Rekey Complex Profile Lock
SA      : Display and Set MP Remote Access
SO      : Configure Security Options and Access Control
XD      : MP Diagnostics and Reset
MP:CM> ps => power및 hw구성상태 확인
This command displays detailed power and hardware configuration status.
The following MP bus devices were found:
+----+-----+-----------+----------------+-----------------------------------+
|    |     |           |                |              Core IOs             |
|    |     |           |                | IO Bay | IO Bay | IO Bay | IO Bay |
|    |     |   UGUY    |     Cells      |    0   |    1   |    2   |   3    |
|Cab.|     |           |                |IO Chas.|IO Chas.|IO Chas.|IO Chas.|
| #  | MP  | CLU | PM  |0 1 2 3 4 5 6 7 |0 1 2 3 |0 1 2 3 |0 1 2 3 |0 1 2 3 |
+----+-----+-----+-----+----------------+--------+--------+--------+--------+
|  0 |  *  |  *  |  *  |* * * * * * *   |  *   * |  *   * |        |        |
You may display detailed power and hardware status for the following items:
B - Cabinet (UGUY)
C - Cell
G - MP
I - Core IO
Select Device: b
Enter cabinet number: 0  => 0번 cabinet선택
HW status for SD32A compute cabinet #0: NO FAILURE DETECTED
Power switch: on;  Power: enabled, good;  Door: closed
Fan speed: normal;  Temperature state: normal
Redundancy state: fans and blowers redundant, BPSs redundant
| Main BP|                 |    IO Backplanes    |
| Power  |                 | IO Bay 0 | IO Bay 1 |
| Main | Boards |      Cells      | Chassis  | Chassis  |
| BP   | 0 1 2  | 0 1 2 3 4 5 6 7 | 0 1 2 3  | 0 1 2 3  |
+--------------+------+--------+-----------------+----------+----------+
Populated     |  *   | * * *  | * * * * * * *   |   *   *  |   *   *  |
Power Enabled |  *   | * * *  | * * * * * * *   |   *   *  |   *   *  |
Powered On    |  *   | * * *  | * * * * * * *   |   *   *  |   *   *  |             => power on상태이면 정상
Power Fault   |      |        |                 |          |          |                             => fault에 표시없으면 정상
Attention LED |      |        |                 |          |          |
| Cabinet |    IO     |
|     BPS     | Blowers |   Fans    |
| 0 1 2 3 4 5 | 0 1 2 3 | 0 1 2 3 4 |
+-----------+-------------+---------+-----------+
Populated | * * * * * * | * * * * | * * * * * |
Failed    |             |         |           |                                                       =>  표시가 없으면 정상
-- Press <CR> to continue, or 'Q' to Quit --
Voltage margin: nominal;  Clock margin: nominal
CLU Status    PM Status    CLU POST
UGUY LEDs:    ***_____      ****         ____
| Parity   | Connected  | Location      |
Flex connections | Connected | error    | to cabinet | (Upper/Lower) |
+-----------------+-----------+----------+------------+---------------+
XBC [7-0]       | NYNYNYNY  | NNNNNNNN | 00000000   | N/A           |
RC [7-0]        | NNNNNNNN  | NNNNNNNN | 00000000   | LLLLLLLL      |
PM  firmware rev 14.6, time stamp: TUE SEP 30 12:18:17 2003
CLU firmware rev 14.4, time stamp: WED JUL 09 14:57:57 2003
MP:CM> ps
This command displays detailed power and hardware configuration status.
The following MP bus devices were found:
+----+-----+-----------+----------------+-----------------------------------+
|    |     |           |                |              Core IOs             |
|    |     |           |                | IO Bay | IO Bay | IO Bay | IO Bay |
|    |     |   UGUY    |     Cells      |    0   |    1   |    2   |   3    |
|Cab.|     |           |                |IO Chas.|IO Chas.|IO Chas.|IO Chas.|
| #  | MP  | CLU | PM  |0 1 2 3 4 5 6 7 |0 1 2 3 |0 1 2 3 |0 1 2 3 |0 1 2 3 |
+----+-----+-----+-----+----------------+--------+--------+--------+--------+
|  0 |  *  |  *  |  *  |* * * * * * *   |  *   * |  *   * |        |        |
You may display detailed power and hardware status for the following items:
B - Cabinet (UGUY)
C - Cell
G - MP
I - Core IO
Select Device: c  => cellboard별 status확인
Enter cabinet number: 0
Enter slot number: 0
HW status for Cell 0 in cabinet 0: NO FAILURE DETECTED
Cell power Status: enabled, good, no fault, NVRAM battery good
Boot is NOT blocked; PDH shared memory is Initialized
Cell Attention LED is off, PDH status LEDs:  _***
Cell enabled by PDHC
Core cell is cabinet 0, cell 0
RIO cable status: connected
RIO cable connection physical location: cabinet 0, IO bay 1, IO chassis 3
|    CPU Modules    |                        |Cell Power Board |
|         |         |       Cell Board       |Converter Faults |
|Populated| Faulted | Power Converter Faults | MEM | JAB | IB  |
| 0 1 2 3 | 0 1 2 3 |CLK|L2C|LNK|CORE|FSB|48V|0 1 2| 0 1 |0 1 2|
+---------+---------+---+---+---+----+---+---+-----+-----+-----+
| * * * * |         |   |   |   |    |   |   |     |     |     |
|                 |   Side: |        A       |        B       |
|  DIMM Presence  | Echlon: |0123456789ABCDEF|0123456789ABCDEF|
|                 |         |*****___________|*****___________|
Cell Compatibility: Complex - B, Partition - C; CPU Compatibility: C
PA System firmware rev 20.8
MP:CM> sysrev => system firmware level 확인
Utility Subsystem FW Revision Level: 14.22
|   Cabinet #0    |
-----------------------+-----------------+
| SYS FW |  PDHC  |
Cell (slot 0)          |  20.8  |  14.18 |
Cell (slot 1)          |  20.8  |  14.18 |
Cell (slot 2)          |  20.8  |  14.18 |
Cell (slot 3)          |  20.8  |  14.18 |
Cell (slot 4)          |  20.8  |  14.18 |
Cell (slot 5)          |  20.8  |  14.18 |
Cell (slot 6)          |  20.8  |  14.18 |
Cell (slot 7)          |        |        |
|                 |
MP                     |      14.22      |
ED                     |       2.2       |
CLU                    |      14.4       |
PM                     |      14.6       |
CIO (bay 0, chassis 1) |      14.4       |
CIO (bay 0, chassis 3) |      14.4       |
CIO (bay 1, chassis 1) |      14.4       |
CIO (bay 1, chassis 3) |      14.4       |
MP:CM> pe => 시스템 cabinet / cell / IO chassis단위로 power on/off
This command controls power enable to a hardware device.
B - Cabinet
C - Cell
I - IO Chassis
Select Device: b
Enter cabinet number: 0  => 0번 cabinet선택
The power state is ON for Cabinet 0.
In what state do you want the power? (ON/OFF) q  => off하면 0번 cabinet power off. q는 취소
MP:CM> io => Chassis 연결 상태 확인io chassis (io cardcage)와 cellboard간의 연결상태 확인명령어, cab-bay-chassis 순서로 확인된다.
이 번호는 전,후면 EMI panel 그림에서 확인 가능.
--------------------------+
Cabinet |   0    |   1    |
--------+--------+--------+
Slot    |01234567|01234567|
--------+--------+--------+
Cell    |XXXXXXX.|........|
IO Cab  |000.0...|........|
IO Bay  |101.0...|........|
IO Chas |311.3...|........|
MP:CM> ls => GSP LAN 구성 확인. customer LAN console및 private LAN console의 구성상태를 확인
Current configuration of MP customer LAN interface
MAC address : 00:30:6e:f3:23:c1
IP address  : 172.0.0.1       0xac000001
Name        : AP                     (Flash : AP)
Subnet mask : 255.255.255.0   0xffffff00
Gateway     : 172.0.0.3       0xac000003
Status      : UP and RUNNING
Current configuration of MP private LAN interface
MAC address : 00:a0:f0:00:f5:4b
IP address  : 172.0.0.1       0xac000001
Name        : DB
Subnet mask : 255.255.255.0   0xffffff00
Gateway     : 172.0.0.1       0xac000001
Status      : UP and RUNNING
MP:CM> who => lan console접근 사용자 검색
User Login         Port Name      IP Address
Admin                LOCAL
Admin                LAN        172.  0.  0.  2
MP:CM> cp => partition별로 할당된 cellboard 확인
-------------------------------+
Cabinet      |   0    |   1    |
-------------+--------+--------+
Slot         |01234567|01234567|
-------------+--------+--------+
Partition  0 |XX.X.XX.|........|
Partition  1 |..X.X...|........|
MP:CM> date  => MP 모드의 시간설정
This command sets the date and time on the MP.
Current date is: 01/01/09
Do you want to modify it? (Y/[N]) q
MP:CM> tc  => partition상에 hang같은 문제가 발생시 OS 강제 dump를 받기위해 TOC할 때
This command TOCs the selected partition.
WARNING: Execution of this command irrecoverably halts all system
processing and I/O activity and restarts the selected
partition.
#   Name
---  ----
0)  AP
1)  DB
Select a partition number: q => 해당 partition을 지정. 취소시 q.
MP:CM> rs => partition을 hard reset할 때 사용
This command resets the selected partition.
WARNING: Execution of this command irrecoverably halts all system
processing and I/O activity and restarts the selected
partition.
#   Name
---  ----
0)  AP
1)  DB
Select a partition number: q => partition number 지정. 취소시 q.
MP> cl => console log확인 (console에서 작업했던 내용 trace시 필요)
lume groups and Activating (if any exist)
Volume group "/dev/vg00" has been successfully changed.
Activated volume group
Volume group "/dev/vg01" has been successfully changed.
Activated volume group
(F)irst, (L)ast, (N)ext or <cr>, (P)revious, ^B to exit to menu
MP> sl   => 시스템상에 발생된 HW chassis log을 볼 때 사용
EVENT LOG MENU:
FPL: Forward Progress Log
SEL: System Event Log
LIVE: Live Events
CLR: Clear FPL and SEL
Q: Quit
MP:VW> sel  => System Event Log
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
<cr>: Repeat previous +/- command
<sp>: 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
MP:VWR (<cr>,<sp>,+,-,?,F,L,J,D,K,R,T,A,C,U,^B) >
19847 SFW  0,4,0  2 4b000f6240e000ca 01000000418ecb21 FABRIC_XIN_TRY_LINK_INIT
19847                                                 11/08/2004 01:25:53
19846 SFW  0,2,0  2 4b000f6220e000c9 01000000418ecb1b FABRIC_XIN_TRY_LINK_INIT
19846                                                 11/08/2004 01:25:47
19845 SFW  0,4,5  2 578003dd45e000c7 0000000000000003 ERR_TOC_TASK
19845                                                 11/08/2004 01:23:27
MP:VWR (<cr>,<sp>,+,-,?,F,L,J,D,K,R,T,A,C,U,^B) >
MP> x   => MP 뛰쳐나가기



[출처] HP MP 접속 관련|작성자 고슈