July 15, 2011

Empty primary storage pool tapes not converting into scratch tapes

Oops!! I found that the primary storage pool volumes which have been ejected from library using move media command are not returning into scratch status, these are showing as empty volumes in q vol command.

To resolve the problem I ran  move media on one of the volume and that deleted the volume from storage pool and now this can be used as scratch.
Command used for moving media:
move media <vol_name> stg=<stgpool_name> wherestate=mountablenotinlib

July 14, 2011

Moving TSM V6 database to new directories

TSM Server Version: 6.1
OS Platform: AIX 6.1

You can move TSM DB from one location to alternate location using following method:
  • Create new directories where you want to move DB.
  • Make sure DB instance user is the owner of these directories.
  • List these directories inside a file. List each directory on a single line.For  example below are the contents of file dbvol.txt
/tsmdb/db001
/tsmdb/db002
/tsmdb/db003
/tsmdb/db004
  • Halt TSM server
  • Remove tsm db using following command:
dsmserv  removedb TSMDB1 -i /home/tsminst1/tsminst1
  • Restore tsm db using following command:
dsmserv -i /home/tsminst1/tsminst1 restore db todate=today on=/home/tsminst1/dbvol.txt

where todate option can be used to restore database to any point in date and dbvol.txt is the file which contains db direcories location.Version 6 onwards require volume history file to restore tsm db.
Commands need to run by db instance owner id.

At last when restore db finishes following message comes.This means db restore is completed.
ANR0369I Stopping the database manager because of a server shutdown.

You may receive waning messages like below during db restore.These can be ignored.

ANR0498W Session < session no.>  refused for <node name> because restore DB is in progress.

July 10, 2011

Upgrading TSM 6.2.1.0 to 6.2.2.30

Procedure same as explained in article "Upgrading tsm 6.1 to the next maintenance level"

Upgrading from TSM 6.1 to TSM 6.2

Existing TSM version: 6.1.4.3
Target TSM version: 6.2.2.30
OS Platform: AIX 6.1 64 bit

Prerequisites:
  • DB2 requires IOCP to be enabled on AIX platforms. Enable this manually
    using "smitty iocp". If the problem persists contact a technical service
    representative.
  • DB2 instance user id and password should be ready before installation
  • /opt/tivoli/tsm must be having 2000 MB allocated
  • For installation root user id is required
  • remote user login should be enabled on system i.e ssh, test if yo can login using instance user id and password using ssh at default port.
  • Check if previous installation has been done using default values otherwise /etc/tivoli/tsm/instance.info may be required to be renamed. 
Procedure:
  • Download licensed version of TSM 6.2.1 from passport advantage site for customer.
  • Copy .bin file on to TSM server.
  • Extract contents by executing .bin file.
  • Issue ./install.bin -i console command inside the installation direcory.

December 3, 2010

Exchange VSS backups failing after cancelling a previous backup

TDP for exchange version:6.1.2.1
BA client version:6.2.1.0
TSM server version:6.1.4.2
Exchange OS Plateform Version:2008 R2

To resolve the problem, run a VSS backup on the storage group on which the backup was stopped. If the successive VSS backup fail with a backup-in-progress error, stop and restart the following services from the Services snap-in. This will clear the backup-in-progress state for the storage groups that are affected by this failure: Microsoft® Exchange Information Store service.
Microsoft Exchange Replication Service