Josh-D. S. Davis

Xaminmo / Omnimax / Max Omni / Mad Scientist / Midnight Shadow / Radiation Master

Previous Entry Share Next Entry
TSM 6.x upgrade Troubleshooting
Josh 201604 KWP
joshdavis
Various issues I've run into and resolved.
Cut/paste out of a doc I'm working on, so the formattng isn't HTML/LJ pretty.

19.1 Reference Material


Search on "IBM Collecting Data" and the product name for the list of info to gather prior to opening a PMR.
http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2/topic/com.ibm.itsm.nav.doc/t_upgrading.html

https://www-304.ibm.com/support/docview.wss?uid=swgXXXXXXXXXX
swg21455299 - Resolve problems for DE
swg21469933 - how to back up DE
swg21053218 - Client Version Interop
swg21302789 - STG Agent Version Interop
"ERROR" headings above
swg21239546 - Admin Center not supported in WPAR

19.2 Crash of TSM Storage Agent 5.4.3.2 on HP-UX 11.11 PA-RISC.


This is a legacy platform, so there are no updates.
When connecting to TSM 6.3, any restores need to be done without no-query.
If you do a no-query restore, the storage agent crashes with this:
ANR7821S Thread 12 (SessionThread, tid 26) terminating on signal 11 (Segmentation violation).
ANR9999D Trace-back of called Functions:
( 0) 0x4000000000170f54 pkShowCallChain + 0x94 [./dsmsta]
( 1) 0x400000000015e310 AbortServer + 0x48 [./dsmsta]
( 2) 0x400000000015f3e4 SignalHandler + 0x2b4 [./dsmsta]
( 3) 0xc0000000006f7f90 _sigreturn [/usr/lib/pa20_64/libc.2]
( 4) 0x4000000000c33160 smTableFetchNext + 0x100 [./dsmsta]
( 5) 0x40000000005f5df4 tbFetchNext + 0x3c [./dsmsta]
( 6) 0x4000000000798d28 imGetFsId + 0x228 [./dsmsta]
( 7) 0x40000000007d1904 imAcquireRestoreInfo + 0x1a4 [./dsmsta]
( 8) 0x40000000007b81d0 imRegisterRestore + 0x138 [./dsmsta]
( 9) 0x4000000000b9a530 SmDoNoQueryRestore + 0x1808 [./dsmsta]
(10) 0x4000000000cf1da4 DoNQRRtrv + 0x96c [./dsmsta]
(11) 0x4000000000ce4d5c DoAgentSession + 0x162c [./dsmsta]
(12) 0x4000000000ce1a00 SmStgAgentSession + 0x638 [./dsmsta]
(13) 0x4000000000b5f19c HandleNodeSession + 0x2194 [./dsmsta]
(14) 0x4000000000b5f29c DoNodeGeneral + 0x24 [./dsmsta]
(15) 0x4000000000b5b434 smExecuteSession + 0x3f1c [./dsmsta]
(16) 0x4000000001023050 SessionThread + 0x5b0 [./dsmsta]
(17) 0x400000000015e568 StartThread + 0x178 [./dsmsta]
(18) 0xc00000000004c0f8 __pthread_body + 0x50 [/usr/lib/pa20_64/libpthread.1]
(19) 0xc000000000055ec4 __pthread_start + 0x14 [/usr/lib/pa20_64/libpthread.1]
ANR7820S Server thread 1 terminated in response to program abort.
ANR7820S Server thread 2 terminated in response to program abort.
ANR7820S Server thread 3 terminated in response to program abort.
ANR7820S Server thread 4 terminated in response to program abort.
ANR7820S Server thread 5 terminated in response to program abort.
ANR7820S Server thread 6 terminated in response to program abort.
ANR7820S Server thread 7 terminated in response to program abort.
ANR7820S Server thread 8 terminated in response to program abort.
ANR7820S Server thread 9 terminated in response to program abort.
ANR7820S Server thread 10 terminated in response to program abort.
ANR7820S Server thread 11 terminated in response to program abort.
ANR7820S Server thread 12 terminated in response to program abort.
ANR7820S Server thread 15 terminated in response to program abort.

Recovery is:
• CANCEL RESTORE
• rm /opt/tivoli/tsm/StorageAgent/adsmserv.lock
• /opt/tivioli/tsm/StorageAgent/rc.dsmsta

To bypass the error until upgrade:
• No-query restore is via dsmj -> restore -> options -> disable no query restore
• From command line, make sure you have a question mark somewhere in your file path
(An asterisk won't do it).


19.3 Install TSM 6.2 Server


./install.bin -i console
IC68072: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Fix was to run "unset DISPLAY" first

19.4 Back Up Deployment Engine


./backupdb.sh /home/tsmdal/55upg/DEbak_tsm623.zip
ACUDB0001I Have to use de_backup.sh command instead of backup.sh in the same directory /usr/ibm/common/acsi/bin

Fix was to run "de_backupdb -bfile" rather than "backupdb.sh".

19.5 TSM Server Start - DBDIAGLOGSIZE


ANR1547W The server failed to update the DBDIAGLOGSIZE server option due to insufficient available
space. Required space: 1024 megabytes; available space: 136 megabytes. The current value:2 megabytes.

Grew /home by 2GB to allow for /home/tsminst1/sqllib/db2dump
Updated entries at the top of this document for chfs.
Limited maximum size of this:
su - tsminst1
db2 update dbm cfg using diagsize 1536

19.6 TSM Server Start - Volumes in Use


ANR7805E Volume /dev/rpool10lv is in use by another server.
ANR1311E Vary-on failed for disk volume /dev/rpool10lv - unable to access disk device.
... etc etc etc.

changed ownership of stgpool volumes
lsvg -l tsmstgvg | cut -f 1 -d \ | xargs -n1 chlv -U tsminst1 -G tsmsrvrs
chown tsminst1.tsmsrvrs /dev/tsm*
rm /tmp/adsm*
VARY ON /dev/rpool10lv
...

19.7 TSM Server Start - License Module


ANR9613W Error loading /opt/tivoli/tsm/server/bin/dsmlicense for Licensing function: 0509-022 Cannot
load module /opt/tivoli/tsm/server/bin/dsmlicense.
0509-026 System error: A file or directory in the
path name does not exist..
ANR2812W License Audit completed - ATTENTION: Server is NOT in compliance with license terms.
ANR0984I Process 1 for AUDIT LICENSE started in the BACKGROUND at 20:13:16.
ANR2820I Automatic license audit started as process 1.

Looks like the package provided was not base code.
Couldn't install just license by itself from DE
extracted license BFF from 6.2.1 bundle (it was handy)
Installed that license pack
installp -acXYgd /mnt/tsmsrv621lic tivoli.tsm.server.license

Then, register the TSM Enterprise Edition license
REG LIC FILE=tsmee.lic

19.8 TSM Server Start - Devconfig & Volhist Files


ANR1436E Device configuration file /tsm/drm/devconf cannot be opened.
ANR1435E Server could not write device configuration information to /tsm/drm/devconf.
ANR4511E Volume history file /tsm/drm/volhist could not be opened.

This is permissions, and fixed with
chown -R tsminst1.tsmsrvrs /tsm* /usr/tivoli/tsm/client/ba/bin64 \
/usr/tivoli/tsm/client/ba/bin64/*.log

19.9 Upgrade LAN Free Storage Agent - tivoli.tsm.devices.aix5.rte


lppchk: The following filesets need to be installed or corrected to bring
the system to a consistent state:

bos.rte v=5, r<4 (not installed; requisite fileset)
lppchk said this was devices.sdd.53.rte on a 6.1 box.
not in use, ok to remove
removed from inittab
killed sddsrv
set bosboot to exit 0
uninstalled fileset
copied bosboot back
bosboot on boot drive
lppchk now runs clean.
root@tsmserver:/usr/sbin#oslevel -s
6100-06-03-1048
NOTE: some systems had proper version of SDDPCM installed, so no errors.


19.10 Upgrade LAN Free Storage Agent - Start Failure only on Q20


Since TSM Server was still upgrading, STA would not start
ANR0456W Session rejected for TSMINST1 server name at 10.10.10.10 1500 does not match.
ANR3602E Unable to communicate with database server.

modified RC script to run with path on dsmsta executable.
Added "sleep 10" to end of RC script
Set to respawn in inittab
telinit q
This was reverted later

19.11 TSM Log Full Recovery


This is an example of DB Recovery from log-full on a Windows system. Notice it is not a simple procedure and requires a great deal of time. Do not let your logs fill up. That means, do not run out of scratch tapes for DB Backups.

cd \program files\tivoli\tsm\server1
set DB2CLP=DB20FADE
set DB2INSTANCE=Server1
set DB2PATH="C:\Program Files\Tivoli\TSM\db2"
set OLDLOG=E:\LOG
set NEWLOG=G:\TEMPLOG
set NEWDBB=G:\TEMPDB2DBB

mkdir G:\TEMPLOG
mkdir G:\tempdb2dbb
db2start
db2 UPDATE DATABASE CONFIG FOR TSMDB1 USING NEWLOGPATH %NEWLOG%
db2stop
db2start
db2 activate db tsmdb1
REM - The active logs COPY at this point. It will take a while.
db2stop
db2start
db2 backup db tsmdb1 to %NEWDBB%
REM - the archive logs clear here
db2 backup db tsmdb1 to %NEWDBB%
REM - write down the timestamps given for use in the prunes later
db2stop
db2start
db2 connect to tsmdb1
REM - the activelog clears here
db2 PRUNE HISTORY 20100421082700 WITH FORCE OPTION AND DELETE
db2 UPDATE DATABASE CONFIG FOR TSMDB1 USING NEWLOGPATH %OLDLOG%
db2 force application all
db2stop
db2start
db2 connect to tsmdb1
REM - This is where the active logs actually move back & regenerate empty files
REM - wait for the connection to finish. Be patient.
..\server\dsmserv
DISABLE SESSIONS
REM - Q LOG will show space used is very low.
REM - Now, we need to make a TSM DBB so we can prune the DB2 one.
Backup db type=f dev=fileclass
REM - cancel any migrations running
REM - Wait here - don't halt until Q PROC shows DBB done.
ENABLE SESSIONS
HALT
db2start
db2 connect to tsmdb1
db2 PRUNE HISTORY 20100421085851 WITH FORCE OPTION AND DELETE
db2stop
rmdir G:\TEMPLOG
rmdir G:\tempdb2dbb
REM Restart the TSM Server1 service now

19.12 mksysb to CD


echo ./scratch/ >> /etc/exclude.rootvg
echo ./usr/sys/inst.images/ >> /etc/exclude.rootvg
for i in /mkcd/* ; do umount $i ; rmfs $i ; done
rm -r /mkcd
mkcd -e -Vrootvg -R -S -A -L -N

  • 1
(Deleted comment)
Yup, but no other option.

I wanted to at LEAST get them to 5.5, but that requires HP-UX 11.23. :/

Their app is discontinued, and only supported on HP-UX 11.11 on PA-RISC.


  • 1
?

Log in

No account? Create an account