Booting Process Hpux

download Booting Process Hpux

of 1

Transcript of Booting Process Hpux

  • 7/31/2019 Booting Process Hpux

    1/1

    SystemStartupandShutdownStartup/shutdownareimportantforroutinesystemadministrationandtroubleshootingBootprocess:bootROMstartupandHP-UXstartup1.Poweronorreboot2.PDCperformsself-tests,detectsperipherals3.PDCinitializesconsole,looksforprimarybootpath4.PDCloads/executesISL(initialsystemloader)byIPL5.ISLloadshpux(secondarysystemloader)fromdisk6.hpuxloadskernel/stand/vmunixintomemory7.kernelstartsswapper(pid0),init(pid1)thenvhand(pid3)8.initreads/etc/inittab,initializesdaemonsandprocessesPDC(processordependentcode)differentfordifferentcomputers,residesonROM,notdiskifautobootisenabled,startsautobootprocesscanbeinterruptedtogetPDCmenus(boot,path,search)searchcommandsearchesforallbootdevicesmirrordiskusebootcommandtobootalternatediskStableStorage:primary,alternatebootpath,console,autoboot,autosearch,storedinformationusedbyPDCBootareaonsystemdiskBDRASystemdiskhasbootarea,rootpartitionFilesareinlogicalinterchangeformat(LIF)Bootareacontains{totalsizeofBDRA=2.9MB)

    -LIFvolumeheader-filecontainingHP-UXvolumename-ISL-LABELfile,tellpositionof/,swap/standnrootvol-hpux(secondaryloader)-AUTOfile(containshpuxnameandargumentstohpux)HP-UXcommandsrelatedtoLIFarelifls,lifcp,alsousemkboot,rmbootInitialsystemloader(ISL)ISLperformstaskautomaticallyifautobootonandPDCisnotinterruptedISLcommands:display,conspath,primpath,altpath,autoboot,autosearchOnrunningsystemusesetbootcommandtoview/change

    Secondaryloader(hpux)ISLreadsAUTOfile,perdefaultloads/stand/vmunixBootanotherkernel:ISL>hpux/stand/vmunix.oldBootinsingle-usermode:ISL>hpuxisBootinmaintancemodeISL>hpuxlmBootinquorummodeISL>hpux-lqListfilesin/stand:ISL>hpuxll/standInmaintancemodevg00willnotactivateinsteadrootwillmountwithauxiliarydevicefileInsingleusermodeonly/standand/willmountQuorummodeissingleusermodewithvg00activateevenifmirrordiskfailedie50%oflvmactivateLoadingthekernel

    hpuxloadskernelintomemory,transferscontrolkernelinitializationhastwomoderealandvirtualrealmodeinitializeallofthememory,read/stand/ioconfigand/stand/rootconfanintailizeallmodule(1stlevel)virtualmode:starttheclock,startuptheotherprocessors,finishtheI/Oconfiguration(2ndlevel),initializesubsystems,intializeLVM/swap/dump,mountrootfilesystemreadonly,fork()offsystemdaemons.startsswapperprocess(processID0),whichmanagesmemory/sbin/pre_init_rc,callsfscktocheck/repairfilesystems