Technote (FAQ)
Submitting a Testcase for Dump Analysis
Answer
This document covers submitting a testcase for dump analysis of a system crash or system hang situation. This document applies to AIX versions 4, 5, 6, and VIO servers.- Creating a snap for a VIO server
- Check the dump size for AIX crash dumps
- Packaging the dump for submission
- What to do if the dump is on tape
- Naming convention for the testcase
- Where to submit the testcase
- In case the ftp connection drops
Creating a snap for a VIO server
To create a snap for a VIO server, log in to the server using the "padmin" account. Type: $snap
and press enter.
This will create a and press enter.
Proceed to the section, "Naming convention for the testcase".
Please note that more detailed instructions regarding snaps for VIO servers can be found in this technote:
Check the dump size for AIX crash dumps
Check the size of the current dump and see which file system will have enough space to package the dump (the default file system is /tmp).
Log in as root.
At the command line, enter:
sysdumpdev -L
Look at the dump size. If the dump is compressed you will need to find a file system that is double this size plus another 150MB. This is because the dump is written out, along with other information, after which a compressed pax file is created. If the dump is not compressed the snap process will create a compressed dump file before creating the pax file. Compression may reduce the dump from half to one quarter of its initial size.At the command line, enter:
sysdumpdev -L
Execute #df -m to find a filesystem with enough space to package the complete snap. Once a file system has been found, proceed to the appropriate section.
Packaging the dump for submission
If there is enough space in the /tmp filesystem, follow Procedure 1; otherwise, skip to Procedure 2.Procedure 1
Packaging dump the for submission when there is room in /tmp.
# snap -acN
# cd /tmp/ibmsupt/dump
# ls
Ensure that unix.Z, dump.snap and dump.Z(or dump.BZ) are present.
# cd /tmp/ibmsupt/dump
# ls
# cd /tmp/ibmsupt
# snap -c
This will create a # snap -c
Proceed to the section, "Naming convention for the testcase".
Procedure 2
Packaging the dump for submission when there is no room in /tmp. /# snap -acNd
# cd
# ls
Ensure that unix.Z, dump.snap and dump.Z (or dump.BZ) are present.
# snap -cd /
This will create a snap.pax.Z file in /< filesystem>/ibmsupt directory.
Proceed to the section, "Naming convention for the testcase".
What to do if the dump is on tape
Find a filesystem with sufficient space and enter the following:
NOTE: /
# cd /
# mkdir ibmsupt
# cd ibmsupt
# pax -rvf /dev/rmt#
NOTE: If you are running AIX 4.3.3 with Maintenance Level 06 or below, you cannot execute pax command. You must execute the following:
#tar -xvf /dev/rmt#
The pax or tar command will create a file called dump_file in /
# snap -aNd
# mv dump_file /
# cd /
# ls ->
Ensure that unix.Z, dump.snap and dump.Z (or dump.BZ) are present.
# cd /
# snap -cd /
This will create a snap.pax.Z file in
Proceed to the section, "Naming convention for thet testcase".
Naming convention for the testcase
# mv snap.pax.Z
This prepends your problem record, branch number, and country code so the testcase can be uniquely identified. Please note: it is important to include the country code. This requirement is new for US customers. This data is archived along with data from international customers and therefore needs to be differentiated from other PMRs.. If it cannot be properly associated with a pmr it will be treated as a bad testcase and will not be saved. This also means that testcases that have dates instead of country codes may be lost. The country code for US customers is 000.
For example, if your pmr is 12345,456,000 (which is PMR 12345, branch 456, and country code 000) you would then rename your pax file in this manner:
# mv snap.pax.Z 12345.456.000.snap.pax.Z
Where to submit the testcase
ftp testcase.software.ibm.com
login: anonymous
password:
ftp> cd /toibm/aix
ftp> bin
ftp> passive
ftp> hash (Note: This will print # symbols so you can see progress)
ftp> put
ftp> quit
Using a web browser to submit your snap
In case the ftp connection drops
12345.456.000.snap.pax.Z
12345.456.000.1.snap.pax.Z
0 blogger-disqus:
Post a Comment