AIX Full memory dump configure


#oslevel -s
6100-03-00-0000

#lsattr -El mem0
ent_mem_cap         I/O memory entitlement in Kbytes           False
goodsize       4096 Amount of usable physical memory in Mbytes False
size           4096 Total amount of physical memory in Mbytes  False
var_mem_weight      Variable memory capacity weight            False

#lsattr -El proc0
frequency   4204000000     Processor Speed       False
smt_enabled true           Processor SMT enabled False
smt_threads 2              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER6 Processor type        False

Procédure:

#sysdumpdev -l
primary              /dev/hd6
secondary            /dev/sysdumpnull
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    FALSE
dump compression     ON
type of dump         traditional
#mklv -t sysdump -y dumpfull rootvg 5G
dumpfull

#sysdumpdev -P -p /dev/dumpfull
primary              /dev/dumpfull
secondary            /dev/sysdumpnull
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    FALSE
dump compression     ON
type of dump         traditional

#sysdumpdev -L
0453-019 No previous dumps recorded.

Scanning device /dev/dumpfull for existing dump.
A valid dump was not detected in the dump devices.

#sysdumpdev -e
0453-041 Estimated dump size in bytes: 191050547

#svmon -G
               size       inuse        free         pin     virtual
memory      1048576      310598      774842      140345      261756
pg space     131072        1942

               work        pers        clnt       other
pin           69839           0           0       70506
in use       261756           0       48842

PageSize   PoolSize       inuse        pgsp         pin     virtual
s    4 KB         -      211078        1942       90137      162236
m   64 KB         -        6220           0        3138        6220


#sysdumpdev -t fw-assisted
Attention: the firmware-assisted system dump will be configured at the
next reboot.

#shutdown -Fr

....

#sysdumpdev -f 'require'

#sysdumpdev -K

#sysdumpdev -l
primary              /dev/dumpfull
secondary            /dev/sysdumpnull
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    TRUE
dump compression     ON
type of dump         fw-assisted
full memory dump     require

Attention: Lancement d'un dump pour valider la taille (ne pas executer cette commande)

#sysdumpstart -p -f require

**** Dump ..... reboot ****

#sysdumpdev -L
0453-039

Device name:         /dev/dumpfull
Major device number: 10
Minor device number: 12
Size:                357855232 bytes
Uncompressed Size:   4211277628 bytes
Date/Time:           Tue May 11 18:42:47 CDT 2010
Dump status:         0
Type of dump:        fw-assisted
dump completed successfully


Article Number: 300
Posted: Mon, Jul 16, 2018 9:45 AM
Last Updated: Mon, Jul 16, 2018 9:45 AM

Online URL: http://kb.ictbanking.net/article.php?id=300