Thursday, February 20, 2014

TSM Admin Tasks

This post would give an idea of the commands and tasks that a backup administrator would carry-on everyday from TSM server end.

Ø  q event * t=a begind=-1 endd=t
Ø  BACKUP DB type=full dev=<device_class_name> wait=yes
Ø  BACKUP DEVCONFIG
Ø  BACKUP VOLHISTORY
Ø  PREPARE source=dbbackup devclass=<device_class_name> wait=yes
Ø  DELETE VOLHISTORY todate=today-7 type=all
Ø  EXPIRE INVENTORY wait=yes duration=240
Ø  RECLAIM STGPOOL <stgpool_name> th=75 du=120
(Repeat this command for all the storage pools)
Ø  QUERY STGPOOL
Ø  QUERY MOUNT
Ø  QUERY SESSION
Ø  select count(*) as Scratch, library_name from libvolumes where status='Scratch' group by library_name
(To check for scratch volumes count in each library)
Ø  select source_name as source, destination_name as target,library_name as library, device from paths where online = 'NO'
(To check any offline paths)
Ø  QUERY DRIVE
Ø  QUERY ACTLOG s=error
Ø  QUERY ACTLOG s=failure
Ø  QUERY ACTLOG s="Server out of data storage space

No comments:

Post a Comment

Hi, Just in-case, your comment will be published only after my approval.