====== TSM-Server 6.x ====== ===== Example Steps for TSm 6.2 Installation ===== https://www-304.ibm.com/support/docview.wss?uid=swg21499079 ===== HP/UX Upgrade 5.5 -> 6.2 (Network Method; Same System) ===== ====== Install TSM Upgrade Software for your corresponding TSM 5 Version ====== [[http://ftp.software.ibm.com/storage/tivoli-storage-management/patches/server-upgrade/|Get Software]] ====== Prepare Database ====== unixha1:/home/mduersch# export DSMSERV_DIR=/opt/tivoli/tsm/upgrade/bin unixha1:/test-lm1/server# nohup /opt/tivoli/tsm/upgrade/bin/dsmupgrd preparedb >prepare.out 2>&1 & unixha1:/test-lm1/server# tail -f prepare.out restricted by GSA ADP Schedule Contract with IBM Corporation. ANR7800I DSMSERV generated at 02:08:17 on Sep 15 2010. ANR7801I Subsystem (master) process ID is 16476. ANR0905W Options file dsmserv.opt not found. ANR4726I The ICC support module has been loaded. ANR0990I Server restart-recovery in progress. ANR0200I Recovery log assigned capacity is 8000 megabytes. ANR0201I Database assigned capacity is 10000 megabytes. ANR0306I Recovery log volume mount in progress. ANR0353I Recovery log analysis pass in progress. ANR0354I Recovery log redo pass in progress. ANR0355I Recovery log undo pass in progress. ANR0352I Transaction recovery complete. ANR1635I The server machine GUID, 00.00.00.00.09.9c.11.df.91.14.00.00.0a.06.f0.4b, has initialized. ANR4726I The NAS-NDMP support module has been loaded. ANR8843E Initialization failed for SCSI library TS3500-06-3592JA-DIAG - the library will be inaccessible. ANR8441E Initialization failed for SCSI library TS3500-06-3592JA-DIAG. ANR8200I TCP/IP Version 4 driver ready for connection with clients on port 1500. ANR2718W Schedule manager disabled. ANR0129I Database upgrade completed successfully. ANR0993I Server initialization complete. ANR0916I TIVOLI STORAGE MANAGER distributed by Tivoli is now ready for use. ANR1434W No files have been identified for automatically storing device configuration information. ====== Uninstall TSM-Server 5.5 ====== swremove ... ====== Uninstall TSM-Server 6.x ====== 1) Login as the Instance user ID Ex: /opt/tivoli/tsm/db2/instance/ do: db2start DB2 DROP DB TSMDB1 2) Do db2ilist to get a list of all the current instance names 3) Change to the root user ID to do the next commands: db2stop db2idrop Ex: If the instance you want to remove is "tsminst1" you would issue: "db2idrop tsminst1" 4) Delete all files located in the instance directory. Ex: /tsm/ 5) Delete all log and DB files for the instance. The location of these volumes was determined at the time of configuration. There is no default location. Example of the directory names: /tsmdb001 /tsmlog /tsmarchlog /tsmlogmirror /tsmarchlogfailover ====== Install TSM-Server 6.2 ====== Install TSM 6.2.1.0 (including License) Install TSM 6.2.2.30 ====== Check Kernel Parameters ====== unixha1:/opt/tivoli/tsm/db2/bin# ./db2osconf ******************* System Resources *********************** Physical RAM ==> 17148674048 Number of CPUS ==> 4 System Scale Factor ==> 4096.00 * Recommended HP-UX Kernel Parameters Based on this System * nproc ==> 4112 maxuprc ==> 1371 max_thread_proc ==> 32767 ... ... ****** Please Change the Following in the Given Order ****** WARNING[1]: maxuprc = 256. maxuprc should be set to 1371. WARNING[2]: max_thread_proc = 3001. max_thread_proc should be set to 32767. WARNING[3]: maxfiles_lim = 4096. maxfiles_lim should be set to 65535. ... ... ====== Define User, Group, directories ====== # groupadd tsmsrvrs # useradd -d /home/tsminst1 -m -G tsmsrvrs -g tsmsrvrs -s /bin/ksh tsminst1 # passwd tsminst1 ====== Creating and Formatting the Database ====== /opt/tivoli/tsm/db2/instance/db2icrt -a SERVER -u testlm1 testlm1 ====== Config Files ====== Place Config Files and update Parameters. Delete obsolete ones ... ====== Insert the old Database into TSM 6.2 ====== Start the insertion process on the V6.2 (use instance user) nohup /opt/tivoli/tsm/server/bin/dsmserv insertdb sesswait=60 >insert.out 2>&1 & Wait until it is ready for insert. Then: Start export using root + ENV from old server nohup /opt/tivoli/tsm/upgrade/bin/dsmupgrd extractdb hladdress=127.0.0.1 lladdress=1920 >extract.out 2>&1 & monitor both processes: tail -f insert.out tail -f extract.out ====== Set environement Variables for Instance Owner ====== ====== Configure Backup(Node) for TSM-Database ====== ====== Extend Database ======= make shure the new directory is owned by the tsm instance user and group. else you get: ANR2017I Administrator SERVER_CONSOLE issued command: EXTEND DBSPACE /vtsm1/db2 ANR2596E There is insufficient authority to create the database files. ANR0162W Supplemental database diagnostic information: -1:HY000:-1051 ([IBM][CLI Driver][DB2/LINUXX8664] SQL1051N The path "/vtsm1/db2" does not exist or is not valid. SQLSTATE=57019). ANR1906E Server failed to extend the database space. ====== Clustered TSM Insance (Pacemaker) ======= Time Problems when starting the pacemaker ressource prevent you from being able to connect to the tsm instance (even as administrator) Can only be fixed by typing "accept date" when running the instance in foreground. ANR0110E An unexpected system date has been detected; the server is disabled. Verify the system date and use the ACCEPT DATE command to establish the current date as valid.