How To
Summary
This document provides the procedure to collect test cases (pedbg, tcpdump) for installios problems.
Objective
Providing tcpdump and pedbg for IBM support to investigate installios problems.
Environment
Steps
installios cleanup
==============
==============
Log in as root through pesh password and perform the installios cleanup
installios -u
# get labels
#installios -q
# Remove labels
#installios -e -F -R <label>
reboot the HMC
#hmcshutdown -r -t now
If the problem is still persisting:
We need fresh debug information from HMC. Gather it as follows:
1. As user root, move old logs to some temp directory in order to get rid of them from pedbg and to have only recent logs generated by VIOS installation attempt in step:
mkdir /tmp/old_logs
mv /tmp/installios* /tmp/old_logs
mv /tmp/lpar_netboot* /tmp/old_logs
You need to open 2 terminals on the HMC. You perform tcpdump on the HMC in one and while the tcpdump is running, reproduce the installios attempt
=====================
As root on the HMC:
# tcpdump -i any -s 0 -w /tmp/installios.tcpdump
.
In the other window, reproduce the installios failure.
In the other window, reproduce the installios failure.
2 perform low-level cleanup as user root:
================================
2.1. Run /usr/sbin/nimol_install -l (provide command output)
2.2. (skip if step 2.1 does not return a client name)? If step 2.1 return something, then you run
/usr/sbin/nimol_install . -c <hostname from step 1> -r
2.3. Run /usr/sbin/nimol_config -l (provide command output)
2.4. (skip if step 2.3 does not return a label name)
If step 2.3 return a label name, then run
/usr/sbin/nimol_config -L <label name from step 3> -r
2.5. Run:
/usr/sbin/nimol_config -U
2.6. Remove installios directory - run:
rm -rf /var/installios
2.7. Run:
rm /tmp/installios_pid
rm /tmp/installios_cfg.lock,
rm /tmp/installing.lock
3. reboot HMC as user hscroot (not root):
hmcshutdown -t now -r
4. Attempt to install VIOS by installios command
5. if installios attempt fails, then gather immediately pedbg by command:
pedbg -c -q 3
6. Upload pedbg
Once installios exits, ctrl-c out of the tcpdump from the root window.
In the root window,
# cd /tmp
# tar -cvf <ticket number>.tar installios*.log lpar_netboot*.log
installios.tcpdump
.
Then, send the /tmp/<ticket number>.tar file, either by email or by FTP
To:
# cd /tmp
# tar -cvf <ticket number>.tar installios*.log lpar_netboot*.log
installios.tcpdump
.
Then, send the /tmp/<ticket number>.tar file, either by email or by FTP
To:
testcase.software.ibm.com:/toibm/aix
Related Information
Document Location
Worldwide
[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SGGSNP","label":"Hardware Management Console V9"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
Was this topic helpful?
Document Information
Modified date:
29 December 2022
UID
ibm16382226