Friday, June 8, 2012

AIX boot process in very simple word !

Could you please describe the booting process of AIX ? this is the frequest question they have been asking for each interview and I used to say if you need all theory I would not be able to tell you but what i knew is .......
So finally decided to write a small post just for my reference, If you feel it's usfull use it :).

BOOT Process :

PHASE-I :
------------
unix4you # BIST - built in self test
unix4you # POST  - Power on self test
unix4you # call rc.boot 1 script
unix4you # Locate the boot LV
unix4you # restbase command will be called to copy the partial ODM from BLV to RAMFS.
unix4you # cfgmgr -f ( to configured the base devices)
unix4you # bootinfo -b - to derimine the last boot disk
unix4you # Locate the Boot  disk

PHASE-II :
------------
unix4you # call rc.boot 2 script
unix4you # ipl_varyon command will varyon the rootvg ( If fails LED 552,554,556 )
unix4you # fsck -f for root filesystem hd4.
unix4you # Root filesystem will be mounted temparorily as /mnt in RAMFS. (if fails LED 557)
unix4you # /usr will be verified using fsck -f and mounted. (If fails LED 518)
unix4you # /var will be verified using fsck -f and mounted. copy core command will check for the previous dump in /dev/hd6 and the dump will be copied in to the /var/adm/ras.
unix4you # Paging /dev/hd6 will be avtivated
unix4you # mergedev process will be called and all /dev filesystems will be copied from RAMFS to disk.
unix4you # ODM will be copied to the disk.
unix4you # root filesystem will be mounted in rootvg.
unix4you # /var /usr will be mounted on their ordinary mount points.
unix4you # these boot messages will be copied in to the alog.

PHASE-III :
------------
unix4you # Rootvg is activated.
unix4you # /etc/init will call the rc.boot  file with argument 3
unix4you # /tmp will be mounted.
unix4you # syncvg command will be invoked and the rootvg get synced.
unix4you # cfgmgr is called with option -p2. if the system booted service mode then option -p3
unix4you # console is configured using cfgcon ( log file : /var/adm/ras/conslog)
unix4you # savebase command will sync the ODM in BLV.
unix4you # syncd daemon & errdemon started.
unix4you # LED is turned off.
unix4you # The execution of rc.boot is now completed. init will continue processing the next commands in /etc/inittab.

No comments:

Popular Posts

Is this site helping you ?