You are on page 1of 3

HP Unix boot process

HPUX Boot Process The boot process on a HP server is reduce to three steps
PDC HPUX system come with firmware installed called Processor Dependent Code (PDC) The PDC run self-test operations and initialises the processor. The interface to the PDC commands is called the Boot Console Handler (BCH) The Initial System Loader is run after the PDC, there are a number of commands that can be run from the ISL utility that manages loading the HP-UX kernel and gives control to the kernel. Commands can be gven to the kernel. Sometimes this is called the Secondary System Loader (SSL)

ISL hpux

PDC The PDC can be used to obtain hardware information regarding the server i.e firmware, etc. using the BCH interface a number of commands can be used:
all auto boot bootid bootinfo boottimer cache chassiscodes chiprevisions clearpim configuration coprocessor cpuconfig default fan fastboot fwrversion help information io lanaddress lanconfig main memory memread monitor path pdt pim processor Display the collection of all information provided by other display commands typically resident in information menu used to display or set status autoboot, autosearch or autostart flags initiate boot sequence display of modify boot id for the present processors display the PDC-level info about configured parameters used for system boot sets a delay value in the system to wait for external mass storage device to come online display the information about the acahe memory portion of all installed processors display a queue of the most recent chassis codes used to display the revisions of major very large scale integration (VLSI) in the system used to clear (zero) the contents of the processor internal memory (PIM) used to enter the configuration submenu display information about all coprocessors all the user to configure or deconfigure processors in the system et the system to pre-defined settings display or set the speed of the fan display or set the fastboot flag displat the revision of the currently installed firmware returns help info for the command given used to access the information menu display I/O interface on all I/O modules in the system allows the user to display the station address configure the lan card user interface for PDC display memory info for total amount of physical memory as well as configured memory in system used to read memory locations allows the user to view and change the monitor type for graphics card used to set/display the system paths from stable storage display/clear the page deallocation table (PDT) displays processor internal memory (PIM) info displays info about the processor in the system

1 of 3

10/21/2011 9:42 AM

HP Unix boot process

reset search secure service time warnings

resets the machibe state search for boot devices in the system display/set the secure node flag allows the user to go to the service menu read/set the real time clock in GMT display any warning messages that may have resulted from the previous PDC self test execution

ISL There are a number of commands that you can use with the ISL:
help ls autoboot autosearch primpath altpath conspath display lsautofl fastsize 800support 700support readnvm readss lsbatch batch lsest est help facility list ISL utilites set/clear autoboot flag in stable storage set/clear autosearch flag in stable storage modify primary boot path modify alternate boot path modify system console path display boot and console paths list contents of autoboot file set/display fastsize boots the s800 support kernel from the boot device boots the s700 support kernel from the boot device display contents of one word of nvm display contents of one word of stable storage list contents of batch file execute commands in batch file list contents of extended self test (EST) file execute commands extended self test (EST) file

Secondary System Loader (hpux) hpux can have a number of arguements:

automatic boot hpux -is hpux hpux vmunix.test hpux ( hpux lan(32)/stand/vmunix hpux -v hpux ll /stand No interaction - autoboot sequence bring up system in single user default boot sequence boot object file vmunix.test boot from /stand/vmunix on the disk at path boot from the network get hp-ux version numbers list contents of /stand on root disk

The part of the boot that takes place after the hpux command is issued is in the four following parts 1. hp-ux initialises the system hardware and devices 2. hp-ux kernel data structures are created and initialised 3. hp-ux searches for thr root filesystem

2 of 3

10/21/2011 9:42 AM

HP Unix boot process

4. hp-ux starts the init process called by /sbin/init - The init processes reads /etc/initab for direction The following components are included in the startup/shutdown of hpux:
execution scripts configuration variable scripts link files sequencer scripts these scripts are located in /etc/init.d these files are located in /etc/rc.config.d these files are located in the directory for the appropriate run level, sch as /sbin/rc0.d for run level 0 and /sbin/rc1.d for run level 1, etc this script invokes execution scripts based on run-level transition. This script is located in /sbin/rc

3 of 3

10/21/2011 9:42 AM