HP XC System Software Installation Guide Version 4.0

Table 14-2 Software Upgrade Log Files
ContentsFile Name
List of RPMs installed on the system before the upgrade
/opt/hptc/upgrade/rpm_qa_output.log
Results of the preupgradesys script/var/log/preupgradesys/preupgradesys.log
Results of the upgradesys script/var/log/upgradesys/upgradesys.log
A directory that contains files created as a result of
running the upgradesys script
/opt/hptc/etc/sysconfig/upgrade
Symbolic links to HP XC kernel-related RPMs on the
HP XC System Software Version 4.0 DVD
/var/log/upgrade/kernel/RPMS
Symbolic links to HP XC RPMs on the HP XC System
Software Version 4.0 DVD
/var/log/upgrade/RPMS
If you see errors in the /var/log/postinstall.log files, fix the problem by manually
installing the RPMs that failed to upgrade properly:
1. Mount the HP XC System Software DVD:
# mount /dev/cdrom /mnt/cdrom
2. Change to the following directory:
# cd /var/log/upgrade/RPMS
3. Install the RPM or RPMs that failed to upgrade properly:
# rpm -Uvh rpm_name
An upgraded system contains the xc_prev_version attribute in the configuration and
management database. Use the following command to determine if this attribute exists:
# shownode config sysparams | grep version
cmdb_version: 1.26
xc_prev_version: V2.1
xc_version: V3.0
14.7.1 The upgradesys Utility Might Fail While Backing Up the Database
The upgradesys utility initiates the managedb backup command to back up the current
database. If a database table is corrupted, the mysqldump fails with the following error message:
Backing up database to
/opt/hptc/etc/sysconfig/upgrade/upgradesys.dbbackup-20061101164854.sql ...
mysqldump: Got error: 1016: Can't open file: 'CPUTotalsLog.MYI' (errno: 145)
when using LOCK TABLES
Could not perform backup:
Bad file descriptor at /opt/hptc/database/sbin/backup line 83,
<CONF> line 12.
Can't dump databases: Bad file descriptor at /opt/hptc/sbin/upgradesys
line 127, <STDIN> line 1.
If this failure occurs, run the following command to correct the database tables:
# myisamchk -r /var/lig/mysql/*.MYI
After the database tables are corrected, initiate the upgradesys utility again.
14.7.2 The hptc-ire-serverlog Service Might Not Start
The hptc-ire-serverlog service is responsible for logging node configuration (nconfig) and
imaging events to the /hptc_cluster/adm/logs/imaging.log file. Follow this procedure
to verify that the service is running. If it is not running, start the service.
1. Use the following command to verify that the hptc-ire-serverlog service is running
after the cluster_config [--migrate|--init] processing is complete:
14.7 Troubleshooting the Software Upgrade Procedure 185