User Tools

Site Tools


aix:dump

This is an old revision of the document!


AIX: Create a dump on a LPAR

First force the parameter “always allow dump” to TRUE:

[root@labotest]/root# sysdumpdev -K

Check if a primary dump device is set to a logical volume, with type sysdump:

[root@labotest]/root# sysdumpdev -l
primary              /dev/hd7
secondary            /dev/sysdumpnull
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    TRUE
dump compression     ON
type of dump         traditional

Check the size needed for dump device:

[root@labotest]/root# sysdumpdev -e
0453-041 Estimated dump size in bytes: 1763075686

Check if you have enough space in the primary dump device (hd7), else increase to the right size:

[root@labotest]/root# lslv hd7 | grep PP
MAX LPs:            512                    PP SIZE:        32 megabyte(s)
LPs:                60                     PPs:            60
STALE PPs:          0                      BB POLICY:      relocatable
INTRA-POLICY:       middle                 UPPER BOUND:    32

Cleanup old snaps:

[root@labotest]/root# snap -r

On the HMC, perform a reboot, by selecting DUMP (default).

 --> select the LPAR --> Operation --> Restart --> Dump
Or with HMC command line
hscroot@HMC:~> chsysstate -r lpar -o dumprestart -n sysh1 -m P-570

After the reboot you can check into errlog (errpt -a), to see if the dump is success, and/or

[root@labotest]/tmp/ibmsupt# sysdumpdev -L
0453-039

Device name:         /dev/hd7
Major device number: 10
Minor device number: 16
Size:                1307898880 bytes
Uncompressed Size:   7879498205 bytes
Date/Time:           Thu Aug  4 17:15:26 GMT+02:00 2011
Dump status:         0
Type of dump:        traditional
dump completed successfully

Once the LPAR is running again, perform a snap:

[root@labotest]/root# snap -ac

This snap is located into /tmp/ibmsupt/snap.pax.Z

Now you are able to send it to IBM FTP site:

rename the snap file to /tmp/ibmsupt/<PMR_number>.snap.pax.Z  
(Example:  85885.500.624.snap.pax.Z)

upload the renamed file to IBM FTP server:

ftpserver: ftp.emea.ibm.com
user: anonymous
password: (your email address)
directory: /toibm/aix/
transfer mode: binary
aix/dump.1609532500.txt.gz · Last modified: 2021/01/01 21:21 by 127.0.0.1