Efi en
Efi en
Martin Vorländer
PDV-Systeme GmbH
Dörntener Straße 2A
D-38644 Goslar
1
HP Integrity Servers and their Consoles
Martin Vorländer
PDV-Systeme GmbH
Dörntener Straße 2A
D-38644 Goslar
2
Agenda
3
Agenda
4
Disambiguation: IA64 – Itanium – IPF – Integrity
5
Intel Itanium 2
L3 Cache / Core Family,
Code name released CPU (GHz) Cores
(MB) Model
Kittson 2014? ? ? ? ?
7
HP Integrity Server
8
Agenda
10
HP Integrity: Consoles
11
Agenda
12
Accessing MP
rx2660
rx2800 i2
13
Connecting to 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:
14
MP: Main Menu
MP MAIN MENU:
CO: Console
VFP: Virtual Front Panel
CM: Command Menu
CL: Console Log
SL: Show Event Logs
…
HE: Main Help Menu
X: Exit Connection
[nodename] MP>
15
MP: Console
• MP> CO
connects the MP session to the system console
• Switch from system console to MP: Ctrl+B
• If another console session is open already,
upon entering the first character:
[Read only - use Ctrl-Ecf for console write access.]
16
MP: Command Menu
[nodename] MP> CM
[nodename] MP:CM> HE LI
17
MP: Command PC – Power Control
[nodename] MP:CM> HE PC
==== MP Help: Server Control ==================================================
PC : Power Control
Command access level: Power Control access.
PC command provides the following options for remote control of the system power:
"ON" - turns system power on (it has no effect if power is already on).
"OFF" - turns system power off.
This command is roughly equivalent to turning the system power off
with the front panel power switch- there is no signal sent to the OS
to bring the software down before power is turned off. For proper
system shutdown, shutdown the OS before issuing this command.
"CYCLE" - turns system power off and on. The delay between off and on
is 30 seconds.
"GRACEFUL SHUTDOWN - BMC send a signal to the OS to shutdown prior to
turning off system power
SEE ALSO: PR, PS (Power Restore policy configuration, Power Status)
[nodename] MP:CM> 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: Q
18
MP: Command LC – LAN Configuration
[nodename] MP:CM> HE LC
SEE ALSO: DNS, LS, SA (DNS Configuration, LAN Status, Set Access)
19
MP: Event Logs
[nodename] MP> SL
20
MP: System Event Log
21
MP: System Event Log (cont.)
22
MP: System Event Log (cont.)
23
Agenda
24
Extensible Firmware Interface (EFI)
25
EFI: Characteristics
• modular design
• EFI Byte Code (also for drivers!)
• new partitioning scheme for harddisks
• GPT (GUID Partition Table)
• max. disk/partition size: 9.4 Zettabyte (1 ZB = 1,000,000,000 TB)
• PC-BIOS: MBR, max. disk/partition size 2.2 TB
• Boot Manager
• primary OS bootloader is an EFI Application
26
EFI implementations
• HP
• all HP Integrity Server
• “POSSE“ (Pre-OS System Environment)
• includes commands compatible with PA-RISC BCH
27
Examples of EFI Boot Managers
28
Booting under EFI
29
GPT formatted bootable disk
30
Agenda
31
Accessing the EFI Shell
32
EFI Shell: General
• Command help
• configuration
• Changing and retrieving system information
• device
• Getting device, driver and handle information
• memory
• Memory related commands
• shell
• Basic shell navigation and customization
• scripts
• EFI shell-script commands
33
EFI Shell – Command help
Shell> help
List of classes of commands:
boot -- Booting options and disk-related commands
configuration -- Changing and retrieving system information
device -- Getting device, driver and handle information
memory -- Memory related commands
shell -- Basic shell navigation and customization
scripts -- EFI shell-script commands
Use 'help <class>' for a list of commands in that class
Use 'help <command>' for full documentation of a command
Use 'help -a' to display list of all commands
34
EFI Shell – Command class boot
35
EFI Shell – Command class configuration
36
EFI Shell – Command class device
37
EFI Shell – Command class memory
38
EFI Shell – Command class shell
39
EFI Shell – Command class script
40
EFI Shell – BCH Commands
41
Agenda
42
EFI: System Information
43
EFI: Configuring CPUs
Note:
1. Cpu status will not change until next boot.
2. Specifying a cpu number without a state will display
configuration status.
…
Shell> cpuconfig
# of L3 L4 Family/
CPU Logical Cache Cache Model Processor
Module CPUs Speed Size Size (hex.) Rev State
------ ------- -------- ------ ------ ------- --- ------------
0 2 1.6 GHz 9 MB None 20/00 C2 Active
1 2 1.6 GHz 9 MB None 20/00 C2 Active
44
EFI: Configuring the system console(s)
45
EFI Devices & Mappings
Shell> map
fs0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig8E89981A-0B97-11D7-9C4C-AF87605217DA)
blk1: Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)
blk2: Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig8E89981A-0B97-11D7-9C4C-AF87605217DA)
blk3: Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,SigC9D7945C-0BA7-11D7-9B31-FBA1AECDAF7E)
Acpi(HWP0002,100)
Device type HWP0002 (= Logical Block Address (LBA) device)
PCI host number 100 ("ROPE“ = circuitry handling I/O for PCI; defines I/O card slot)
Pci(1|0)
device/slot number 1
function number 0
Scsi(Pun0,Lun0)
Pun: Physical Unit (SCSI address)
Lun: Logical Unit
HD(PartX,SigY)
Partition X on a disk with signature Y
fsX:
→ EFI has found a FAT partition
46
EFI Devices (cont.)
Shell> map fs*
Device mapping table
fs0 :HardDisk - Alias hd39dvsaamxfagryjo281474976710656b blk0
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x0)/Fibre(0x5001438011374778,0x1000000000000)/-
HD(1,GPT,3BA4B191-F8D0-11E0-83D0-AA000400FEFF)
fs1 :HardDisk - Alias hd39dvsaamxfagryjo562949953421312b blk1
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x0)/Fibre(0x5001438011374778,0x2000000000000)/-
HD(1,GPT,88D32451-FA3E-11E0-BFE5-AA000400FEFF)
fs2 :HardDisk - Alias hd39dvsaamxfagryjo562949953421312d blk2
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x0)/Fibre(0x5001438011374778,0x2000000000000)/-
HD(3,GPT,88D32450-FA3E-11E0-BFE6-AA000400FEFF)
fs3 :HardDisk - Alias hd39dvsaamxfagryjs281474976710656b blk3
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x0)/Fibre(0x500143801137477C,0x1000000000000)/-
HD(1,GPT,3BA4B191-F8D0-11E0-83D0-AA000400FEFF)
fs4 :HardDisk - Alias hd39dvsaamxfagryjs562949953421312b blk4
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x0)/Fibre(0x500143801137477C,0x2000000000000)/-
HD(1,GPT,88D32451-FA3E-11E0-BFE5-AA000400FEFF)
fs5 :HardDisk - Alias hd39dvsaamxfagryjs562949953421312d blk5
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x0)/Fibre(0x500143801137477C,0x2000000000000)/-
HD(3,GPT,88D32450-FA3E-11E0-BFE6-AA000400FEFF)
fs6 :HardDisk - Alias hd40dvsaamxfagryjq281474976710656b blk6
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x1)/Fibre(0x500143801137477A,0x1000000000000)/-
HD(1,GPT,3BA4B191-F8D0-11E0-83D0-AA000400FEFF)
fs7 :HardDisk - Alias hd40dvsaamxfagryjq562949953421312b blk7
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x1)/Fibre(0x500143801137477A,0x2000000000000)/-
HD(1,GPT,88D32451-FA3E-11E0-BFE5-AA000400FEFF)
fs8 :HardDisk - Alias hd40dvsaamxfagryjq562949953421312d blk8
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x1)/Fibre(0x500143801137477A,0x2000000000000)/-
HD(3,GPT,88D32450-FA3E-11E0-BFE6-AA000400FEFF)
fs9 :HardDisk - Alias hd40dvsaamxfagryju281474976710656b blk9
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x1)/Fibre(0x500143801137477E,0x1000000000000)/-
HD(1,GPT,3BA4B191-F8D0-11E0-83D0-AA000400FEFF)
fsA :HardDisk - Alias hd40dvsaamxfagryju562949953421312b blkA
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x1)/Fibre(0x500143801137477E,0x2000000000000)/-
HD(1,GPT,88D32451-FA3E-11E0-BFE5-AA000400FEFF)
fsB :HardDisk - Alias hd40dvsaamxfagryju562949953421312d blkB
PcieRoot(0x30304352)/Pci(0x7,0x0)/Pci(0x0,0x1)/Fibre(0x500143801137477E,0x2000000000000)/-
HD(3,GPT,88D32450-FA3E-11E0-BFE6-AA000400FEFF)
fsC :Removable HardDisk - Alias hd16a0b blkC
PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)/-
HD(1,GPT,06936371-FA38-11E0-84EF-AA000400FEFF)
fsD :Removable CDRom - Alias cd66d0a blkD
PcieRoot(0x30304352)/Pci(0x1D,0x7)/USB(0x3,0x0)/CDROM(0x0)
47
EFI: Booting OpenVMS
48
EFI: Configuring devices
Shell> drivers
lists drivers loaded
column DRV: “Driver Handle“
column CFG has an X
→ driver supports the configuration protocol
column #D: number of devices managed
Shell> drvcfg drv_hdl
lists devices/controllers managed by drv_hdl
→ controller handle
Shell> drvcfg -s drv_hdl [ctl_hdl]
configures the device drv_hdl / ctl_hdl
49
Example: Switching a USB keyboard to german layout
Shell> drivers
T D
D Y C I
R P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
== ======== = = = == == =================================== ===================
…
23 00001010 ? X - 1 1 Usb Keyboard Driver UsbKb
…
Shell> drvcfg -s 23
Set Configuration Options
===========================================
USB Keyboard Language Configuration
===========================================
0. U.S. English
1. Europe - English w/ Euro
2. German
…
Current language selection = 0
Please enter a number followed by a <CR> : 2
New Keyboard Language = 2
Drv[23] Ctrl[ALL] Lang[eng] - Options set. Action Required is none
50
Example: Accessing a FC boot device
Shell> drivers
T D
D Y C I
R P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
== ======== = = = == == =================================== ===================
…
28 00000109 B X X 1 8 HP 4 Gb Fibre Channel Driver PciROM:06:00:01:003
29 00000109 B X X 1 8 HP 4 Gb Fibre Channel Driver PciROM:06:00:00:003
…
Shell> drvcfg 28
Configurable Components
Drv[28] Ctrl[2C] Lang[eng]
Shell> drvcfg -s 28 2c
Set Configuration Options
Drv[28] Ctrl[2C] Lang[eng]
Fibre Channel Driver Configuration Utility
NOTE: Do not redirect console output to a file.
Main Menu
NVRAM Parameters
1. Edit Adapter Settings
2. Edit Advanced Settings
3. Edit Database
4. Edit Boot Settings
Information
5. Show Database
6. Show Translation
7. Show NVRAM Buffer
8. Info
9. Help
Operation
10. Abandon
11. Write
12. Quit
Enter a Selection:
…
51
Example: Accessing a FC boot device (cont.)
Enter a Selection: 4
Edit Boot Settings
0. Previous Menu
1. Help
2. Enable Alternate Boot Device [n]
3. Enable Selective Login [n]
4. Enable Selective Lun Logins [n]
5. OS Mode [HP-UX/OpenVMS]
6. EFI Variable EFIFCScanLevel [?]
7. Enable World Login [n]
Enter a Selection: 6
EFI Variable EFIFCScanLevel [?]? 1
Edit Boot Settings
0. Previous Menu
1. Help
2. Enable Alternate Boot Device [n]
3. Enable Selective Login [n]
4. Enable Selective Lun Logins [n]
5. OS Mode [HP-UX/OpenVMS]
6. EFI Variable EFIFCScanLevel [1]
7. Enable World Login [n]
Enter a Selection: 0
Main Menu
…
Enter a Selection: 12
Exiting...
Drv[28] Ctrl[2C] Lang[eng] - Options set. Action Required is None
Shell> reconnect -r
Shell> map –r –fs
52
Example: Accessing a FC boot device (cont.)
53
VMS EFI Command vms_bfg
Shell> fsX:\efi\vms\vms_bcfg.efi
vms_bcfg driver|boot [add # device-name "desc"] [dump] –
[rm #] [mv # #] [fibre #] [-v]
driver selects boot driver list
boot selects boot option list
dump [show] dumps selected list
add [set] add device-name with 'desc' at position #
addp [set] add 'file' with 'desc' at position #.
Use hard drive path
addh [set] add 'handle' with 'desc' at position #. Use Handle
addv [set] add 'D***:' with 'desc' at position #.
Use VMS device Name
rm [del] remove #
mv [ren] move # to #
fibre modifies EfiScanLevel to # (Default 0)
-v verbose
54
Example: Listing Boot Manager entries
55
Example: Creating Boot Manager entries
56
Example: Listing OpenVMS device names
57
EFI: Configuring TCP/IP (on an OpenVMS disk)
Shell> fs0:
fs0:\> cd \efi\vms\tools
fs0:\efi\vms\tools> type startup_net.nsh
File: fs0:\efi\vms\tools\startup_net.nsh, Size 702
load \efi\vms\tools\tcpipv4.efi
\efi\vms\tools\ifconfig lo0 inet 127.0.0.1 up
\efi\vms\tools\ifconfig sni0 inet <a.b.c.d> netmask <a.b.c.d> up
\efi\vms\tools\route add default <a.b.c.d>
58
EFI: NVRAM backup
59
References
HP Integrity:
www.hp.com/go/integrity
www.hp.com/go/integrity_servers-docs
www.hp.com/go/blades-docs
MP Documentation:
HP Integrity iLO 2 MP Operations Guide
HP Integrity iLO 3 Operations Guide
POSSE Documentation:
<Integrity System> User Service Guide, Appendix “Utilities“
60
References
Intel Itanium:
www.intel.com/itcenter/products/itanium/
UEFI:
www.uefi.org
tianocore.org (OpenSource components)
Overview of MP commands:
h30499.www3.hp.com/hpeb/attachments/hpeb/hpsc-46/2037/1/MP.pdf
61
Q&A
62