Gathering and Transmitting PE Debug Data from an HMC Question & Answer
Question
How to collect a pedbg from a HMC at either v7, v8 or v9? Cause
Sometimes when you are working with IBM Remote Support you will be asked to send in PE debug (pedbg) data from the HMC attached to your servers. The process of gathering a pedbg on an HMC requires that you perform the operation as a user called hscpe that has task role hmcpe. The pedbg script will collect debug data and afterwards you can transmit the data off the HMC using the sendfile command. Answer
1. Collecting a pedbg
a. Login as user hscpe with ssh,
If the hscpe user ID does not exist, Create it using hscroot and following command.
mkhmcusr -u hscpe -a hmcpe -d “HMC PE User”
Note: If the hscpe account exist, but don't know its password.
Lost password command = “chhmcusr -u hscpe -t passwd”
b. run following command (type it rather than cut and paste)
pedbg -c -q 4
2. Upload the pedbg to IBM
a. Use the command sendfile (if HMC can access Internet directly)
sendfile -f /dump/HMClogsxxxxxxxx.zip -h testcase.software.ibm.com -d /toibm/aix/ -n TSxxxxxxxxx-.HMClogs.zip -u anonymous –passwd <your own email address>
NOTE: Use your SalesForce case number as a prefix when renaming the file to send, but keep the rest of the pedbg name intact.
b. If upload to IBM testcase is not possible with the sendfile command
(1) copy (scp) the file from the HMC to a system that has internet access
scp /dump/HMClogs.*.zip <user>@<ipaddress or hostname>:/tmp/ TSxxxxxxxxx.HMClogs.*.zip