Filed under Errors, Installation, Live Upgrade, Solaris
no comments
This is meant to be a list of basic troubleshooting tips for Live Upgrade. It is a work in progress.
#1 and #2 Troubleshooting Tips!
- Patch up to the most recent version of 121430 (SPARC) or 121431 (X86) before running any command that starts with “lu”
- Incorrect syntax or an old buggy lu operation can leave the configuration in a bad state and cause lu commands to fail, even ludelete. Clean up the configuration and start fresh!
rm -f /etc/lutab rm -f /etc/lu/.BE_CONFIG rm -f /etc/lu/ICF.*
Helpful links:
- Use this document religiously – it contains procedures, required patch levels, and known bugs: Solaris[TM] Live Upgrade Software: Patch Requirements
- Update 6: Solaris 10 10/08 Installation Guide: Solaris Live Upgrade and Upgrade Planning
- Update 7: Solaris 10 5/09 Installation Guide: Solaris Live Upgrade and Upgrade Planning
- NGZ Supplement: How to Upgrade the Solaris 10 OS With Non-global Zones Using Solaris Live Upgrade
- SVM: Examples of Using Solaris Live Upgrade to Create RAID-1 Volumes
Debugging & Helpful files: (in addition to Sun Explorer)
- First, change the following lines in /etc/default/lu
LU_DEBUG=0 >> LU_DEBUG=10 LU_SESSION_LOG_FILE="" >> LU_SESSION_LOG_FILE="/etc/lu/sessionlog" LU_ERROR_LOG_FILE="" >> LU_ERROR_LOG_FILE="/etc/lu/errorlog"
- Capture the debugging output with /usr/bin/script. Most of the output doesn’t end up in that session log file. The session and error logs are most helpful for capturing what happens during the shutdown scripts.
- Grab the following:
/etc/lu/ (entire directory)
/etc/lutab
/var/sadm/system/logs/upgrade_cleanup
/var/sadm/system/logs/upgrade_log
Helpful commands:
- # /etc/lib/lu/lubootdev -b
Prints the PBE’s boot device as live upgrade sees it. - # eeprom boot-device new-boot-device
SPARC – specifies a new system boot device. Without new-boot-device it prints the current one.
Error diagnosis:
- luupgrade:
ERROR: Installation of the packages from this media of the media failed; pfinstall returned these diagnostics:
SunSolve Problem Resolution procedure
…work in progress.