Sunday, December 7, 2008

Problem Determination Server hungs at 546 LED due to bosboot failure

1. As server had not booted in normal mode. Once server gets hung & stucked on 546 LED during booting.It means its bosboot command to re-create boot image failed on server. Boot server in maintainence mode via CD. Access shell whithout mounting filesystem.



1. Check file system consistency

fsck /dev/hd4
fsck /dev/hd2
fsck /dev/hd3
fsck /dev/hd9var
fsck /dev/hd1


2. Format JFS log

/usr/sbin/logform /dev/hd8


3. Check disk in root vg

lsvg -p vg --> hdisk0, hdisk3


4. Check boot partitions

lslv -m hd5 --> hdisk0


5. Check bootlist in normal mode.

bootlist -m normal -o --> hdiks0

cd /dev, ls -l | grep ipl --> nothing comes back as there is proble,



Actual output should be if every thing is ok

# cd /dev
# ls -l | grep ipl
crw-rw---- 2 root system 10, 1 Aug 04 18:21 ipl_blv
crw------- 2 root system 17, 0 Aug 04 18:19 ipldevice
#


6. Create link as mentioned below


ln rhd5 ipl_blv -->ok
ln hdisk0 ipldevice -->ok


7. Set bootlist

bootlist -m normal hdisk0 -->ok
bootlist -m normal -o -->

8. Re-create boot image

bosboot -ad /dev/ipldevice --> 0301-162 save base failed /dev/hdisk0
0301-165 bosboot failed do not attempt to boot device
savebase -->ok
bosboot -ad /dev/ipldevice --> 0301-162 save base failed /dev/hdisk0
0301-165 bosboot failed do not attempt to boot device


9. List hd5 in rootvg.

lsvg -l rootvg --> hd5 has 1 pp and not mirrored


10. Remove hd5

rmlv hd5


11. Clear boot image

chpv -c hdisk0
chpv -c hdisk3

11. Create hd5

mklv -t boot -y hd5 -ae -c 1 rootvg 1 hdisk0 -->savebase failed
savebase -d /dev/hdisk0 -->ok

mklv -t boot -y hd5 -ae -c 1 rootvg 1 hdisk0 -->savebase failed

synclvodm -Pv rootvg
savebase -d /dev/hdisk0

mklv -t boot -y hd5 -ae -c 1 rootvg 1 hdisk0 -->savebase failed
lsvg -l rootvg --> hd5 was there
savebase -d /dev/hdisk0
ln /dev/rhd5 /dev/ipl_blv
ls -al | grep ipl -> make sure his has ipldevice and ipl_blv
bosboot -ad /dev/ipldevice
ipl_varyon -i --> yes in front of hdisk0
bootlist -m normal -o --> hdisk0 blv=hd5
sync;sync;sync;reboot --> worked we are booted up

1 comment:

Anonymous said...

Thanks for this!