0% found this document useful (0 votes)
224 views

TSM Commands

This document provides various commands to check the status and health of a Tivoli Storage Manager (TSM) environment including drives, libraries, databases, backups, volumes, errors, and more. Key things to check include verifying drives and paths are online, checking the tape library status, ensuring backups completed successfully, monitoring for errors in the activity log, and validating database and volume status. The document also includes commands to restore files, check services, devices, and mounted tapes.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
224 views

TSM Commands

This document provides various commands to check the status and health of a Tivoli Storage Manager (TSM) environment including drives, libraries, databases, backups, volumes, errors, and more. Key things to check include verifying drives and paths are online, checking the tape library status, ensuring backups completed successfully, monitoring for errors in the activity log, and validating database and volume status. The document also includes commands to restore files, check services, devices, and mounted tapes.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. Verify that drives are online.

q dr
2. If you are at TSM Server 5.1.1.5 or above, you need to check the paths to the
drive and library are online
q path
3. Check the status of the tape library.
q libvol
4. Check the drive's are mounting and dismounting tapes ok, first find the devic
e names then search the activity log.
q dr f=d
q act s=rmt1 begint=-3
5. Check the storage pools are not nearing capacity
q stg
6. Check the copy storage pools are synchronized with Offsite Tapepools
select stgpool_name,sum(physicaL_mb) from occupancy group by stgpool_
name
7. Check database and recovery log statistics.
q db
q log
8. Verify that database and recovery log volumes are online and synchronized.
q dbvol
q logvol
9. Check the status of disk volumes. If any are offline, check for hardware prob
lems.
q volume devclass=disk
10. Check the Backups status.
q eve * * begind=-1
q eve * t=a begind=-1
11. Check the activity log for error messages
q actlog search=ANR????S begind=-1
12. Verify that scheduled database backups completed successfully.
q volhistory type=dbbackup
or
q act s=dbbackup begind=-1

13. Check the connections on the server. Have you approved a change for any adho
c restores/backups?
Have any connecting been hanging for a long amount of tim
e?
q sess
14. Check to make sure admin ids and nodes are not locked
q admin
or
q node
select admin_name from admins where locked='YES'
select node_name from nodes where locked='YES'
15. Check the Scratch volume names.
select volume_name from libvolumes where status='Scratch'
select count(*) from libvolumes where status='Scratch'
16. Check the Tapes coming from offsite.
q drm wherestate=MOUNTABLE
17. To Checkout DRM volumes
move drm <volumename> tostate=vault
18. To Checkin volumes in Library
checkin libv <libraryname> search=yes status=scratch checklabel=barcode

19. To Checkin volumes waiting at I/O stations.


checkin libv <libraryname> search=yes status=bulk checklabel=barcode
20. To check tape errors.
select volume_name, access, read_errors, write_errors, PCT_UTILIZED from
volumes where access not in ( READWRITE , OFFSITE , READONLY ) or write_errors<
>0 or read_errors<>0
21. Check volume names for reclamation
select volume_name,pct_utilized,pct_reclaim,status from volumes where PC
T_RECLAIM >90 and STGPOOL_NAME= stgpool name

22. To restore the file , which is deleted by the client and wants in the file t
o be in original place
dsmc restore "file path" -pick -inac -subdir=yes

23. To restore the file , which is deleted by the client and if you want to rest
ore at different location
dsmc restore "original path" "destination path" -pick - inac -subdir=yes

24. To check lanfree


q server
25 To check services form os (aix)
ps -ef | grep dsmserv
26 To check devices from AIX
lsdev -Cc tape
lscfg -vpl rmt*
27 To drive mounted details
q mount
28 To check current running process
q proc

You might also like