Your Ad Here

IBM AIX/UNIX system storage administration ksh/perl scripting

Monday, April 13, 2009

Cfgmgr does not find a device

Question
Devices discovery troubleshooting with alog -t cfg


Cause
Device discovery for devices can be difficult when minimal information is available.


Answer
Device discovery on AIX.
Starting with AIX 5.2 ML05 and AIX 5.3 ML01 there is an ability to log information via the alog utility for the cfg methods. Depending on the OS version and maintenance level the amount of detail that can be logged vary.

One key thing is the verbosity level. If the level is high enough the SCSI id and LUN are reported as a discovered device. If an open is done on the device the SCIOSTART is used.


echo "Create cfglog `date`"|alog -t cfg

export CFGLOG="cmd,meth,lib,verbosity:9"

cfgmgr -l

alog -o -t cfg > /tmp/cfgmethod.log

Send /tmp/cfgmethod.log to IBM support.

To turn logging off:

unset CFGLOG

or

exit

bosboot warning message

Problem:

On AIX 5.2 server, got warning message which means scary when building boot image on hdisk0.

aixserver:/root# bosboot -ad /dev/hdisk0

bosboot: Boot image is 24922 512 byte blocks.

***** ATTENTION *****
The boot image you just created might fail to boot because
the size exceeds the system limit. For information about
fixes or workarounds, see /usr/lpp/bos.sysmgt/README.
***** ATTENTION *****

aixserver:/root# oslevel -s
5200-10-06-0835


Solution:

Since the boot image is over the 12Mb line, you will see this warning.
Older systems cannot handle a large boot image like this, but with the
latest system firmware and at your 5.2 ML 8 this server will boot up
fine, as you have the necessary APARs installed to boot from the larger
image.

You will still see this warning however when you run bosboot or if
mksysb runs bosboot, but you may ignore it. You may also see this on
other systems once the boot image has grown past 12Mb, such as with
adding new disks or adapters to the system.
Check the system firmware level, this server is at SF240_284, which support boot image greater than 12MB. So we can ignore this warning message.

# lsmcode
┌──────────────────────────────────────────────────────┐
│ │
│ Building Resource Database. │
│ Please stand by. │
└──────────────────────────────────────────────────────┘
DISPLAY MICROCODE LEVEL 802811

Determining Microcode levels.......

Please stand by.

DISPLAY MICROCODE LEVEL 802811
IBM,9117-570

The current permanent system firmware image is SF240_284
The current temporary system firmware image is SF240_284
The system is currently booted from the temporary firmware image.

Labels

BlogCatalog