HP-UX - Boot Time Troubleshooting | Frankie

3
6/27/14, 7:47 AM HP-UX - Boot Time Troubleshooting | Frankie Page 1 of 3 http://frankie.siluvky.net/hp_boot.html Home Unix Android Gallery Contact Boot Time Troubleshooting (Connect dumb terminal to serial console) Press and hold ESC at the beginning of the boot process. In the PDC (firmware processor dependent code), enter BO to boot. use ISL (initial system load), say yes. ISL prompt, enter : hpux -is - 'hpux -lm' for maintenance mode also -lm = lvm maint mode, sometime -is won't work when lvm is corrupted. -lq = lvm, ignore failed mirror drive -ll = list content of /stand Messages and the login prompt: Boot : disk(scsi.6;0)/stand/vmunix 966616+397312+409688 start 0x6c50 Kernel Startup Messages Omitted INIT: Overriding default level with level 's' INIT: SINGLE USER MODE WARNING: YOU ARE SUPERUSER!! # Hit F4 to toggle remote management on (with * on it). This makes serial console usable. When booted in single user mode with corrupted fs, vgchange can be used to tell Veritas Vol Mgrt which device to use. This is sometime needed even in non-mirrored disk. vgchange -a y /dev/vg00 lvlnboot -v /dev/vg00 fsck -F vxfs -o full,nolog /dev/vg00/rvol8 ----------------------------------------------------------------------------------------------------- clear out attention light in front panel thru serial console session (^B , enter 2x) get into gsp mode (Guardian Service Processor cli), give access to bios level control of the machine, view vfp (virtual front panel), clear hw err log, etc. sl # sys log e # errors n # no filter q # quit co # exit back to console ----------------------------------------------------------------------------------------------------- PDC commands PDC - Processor Dependent Code SEA Search and display bootable device.

Transcript of HP-UX - Boot Time Troubleshooting | Frankie

Page 1: HP-UX - Boot Time Troubleshooting | Frankie

6/27/14, 7:47 AMHP-UX - Boot Time Troubleshooting | Frankie

Page 1 of 3http://frankie.siluvky.net/hp_boot.html

HomeUnixAndroidGalleryContact

Boot Time Troubleshooting

(Connect dumb terminal to serial console) Press and hold ESC at the beginning of the boot process. In the PDC (firmware processor dependent code), enter BO to boot. use ISL (initial system load), say yes. ISL prompt, enter : hpux -is

- 'hpux -lm' for maintenance mode also -lm = lvm maint mode, sometime -is won't work when lvm is corrupted. -lq = lvm, ignore failed mirror drive -ll = list content of /stand

Messages and the login prompt:

Boot : disk(scsi.6;0)/stand/vmunix 966616+397312+409688 start 0x6c50

Kernel Startup Messages Omitted

INIT: Overriding default level with level 's'

INIT: SINGLE USER MODE WARNING: YOU ARE SUPERUSER!! #

Hit F4 to toggle remote management on (with * on it). This makes serial console usable.

When booted in single user mode with corrupted fs, vgchange can be used to tell Veritas Vol Mgrt which device to use. This is sometime needed even in non-mirrored disk. vgchange -a y /dev/vg00 lvlnboot -v /dev/vg00

fsck -F vxfs -o full,nolog /dev/vg00/rvol8

----------------------------------------------------------------------------------------------------- clear out attention light in front panel thru serial console session (^B , enter 2x) get into gsp mode (Guardian Service Processor cli), give access to bios level control of the machine, view vfp (virtual front panel), clear hw err log, etc.

sl # sys log e # errors n # no filter q # quit co # exit back to console -----------------------------------------------------------------------------------------------------

PDC commands

PDC - Processor Dependent Code SEA Search and display bootable device.

Page 2: HP-UX - Boot Time Troubleshooting | Frankie

6/27/14, 7:47 AMHP-UX - Boot Time Troubleshooting | Frankie

Page 2 of 3http://frankie.siluvky.net/hp_boot.html

Booting from CDROM may need to use this to find device path to use for booting.

BO boot, use default dev BO PRI boot, using primary (default) dev BO SEC boot, using secondary disk. Simple to do dual boot. BO 0/0/2/1.15 boot via specific path, see SEA.

IN enter info menu ALL display all info, machine model strings. eg 9000/800/A500-5X System Name: riptide is A-class. ME memory info

ISL commands

ISL - Initial System Loader Interactions in here allow boot into single user mode, etc. hpux -is # single user mode hpux -lm # LVM maintenance boot mode. hpux -lm /stand/vmunix.prev # boot via specific kernel hpux ll # list kernels avai in /stand

-0- ISL> ?

HELP Help Facility LS List ISL utilities AUTOBOOT Set or clear autoboot flag in stable storage AUTOSEARCH Set or clear autosearch flag in stable storage PRIMPATH Modify primary boot path in stable storage ALTPATH Modify alternate boot path in stable storage CONSPATH Modify system console path in stable storage DISPLAY Display boot and console paths in stable storage LSAUTOFL List contents of autoboot file FASTSIZE Sets or displays FASTSIZE 800SUPPORT Boots the s800 Support Kernel from the boot device 700SUPPORT Boot the s700 Support Kernel from the boot device READNVM Displays contents of one word of NVM READSS Displays contents of one word of stable storage LSBATCH List contents of batch file BATCH Execute commands in batch file LSEST List contents of EST (Extended Self Test) file EST Execute commands in EST (Extended Self Test) file

Enter 'LS' to see a list of the ISL utilities.

GSP commands

GSP - Guardian Service Processor. BIOS level command, accessible even when machine is in Power Off state.

Use serial console or LAN console, hit ^B press enter for username and password to gain GSP> prompt access.

HE = help, LI in there list commands:

==== GSP Help ============================================(Administrator)=== AC : Alert display Configuration PC : Remote Power Control AR : Automatic System Restart config. PG : PaGing parameter setup CA : Configure asynch/serial ports PS : Power management module Status

Page 3: HP-UX - Boot Time Troubleshooting | Frankie

6/27/14, 7:47 AMHP-UX - Boot Time Troubleshooting | Frankie

Page 3 of 3http://frankie.siluvky.net/hp_boot.html

CL : Console Log- view console history RS : Reset System through RST signal CO : COnsole- return to console mode SDM : Set Display Mode (hex or text) CSP : Connect to remote Service Proc. SE : SEssion- log into the system DC : Default Configuration SL : Show Logs (chassis code buffer) DI : DIsconnect remote or LAN console SO : Security options & access control EL : Enable/disable LAN access SS : System Status of proc. modules ER : Enable/disable Remote/modem TC : Reset via Transfer of Control HE : Display HElp for menu or command TE : TEll- send a msg. to other users IT : Inactivity Timeout settings VFP : Virtual Front Panel display LC : LAN configuration WHO : Display connected GSP users LS : LAN Status XD : Diagnostics and/or Reset of GSP MR : Modem Reset XU : Upgrade the GSP Firmware MS : Modem Status

-0-

CO return to console mode, exit GSP. LS, LC Show and configure LAN console settings (IP, hostname, etc), TC Send signal to OS, force it to do a core dump and reboot. RS Harshes restart of system, no OS interaction, no core. PC allow turning machine on/off. PS Monitor status of power supply, fan, etc. SL Show log, GSP level logging, with timestamp in UTC/GMT. CL Show text message that has been displayed to the console. VFP display a virtual front panel