Saturday, 12 April 2014

daily monitoring scenarios


 Daily Monitoring Scenario




1. Verify that drives are online.

         7 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

         7 q path

3. Check the status of the tape library.

         7 q libvol

4. Check the drive's are mounting and dismounting tapes ok, first find the device   names then search the activity log.

         7 q dr f=d
         7 q act s=rmt1 begint=-3

5. Check the storage pools are not nearing capacity

7 q stg

6. Check the copy storage pools are synchronized with Offsite Tapepools


7  select  stgpool_name,sum(physicaL_mb) from occupancy group by stgpool_name
7. Check database and recovery log statistics.
                                    7 q db
         7 q log

8. Verify that database and recovery log volumes are online and synchronized.

         7 q dbvol
         7 q logvol

9. Check the status of disk volumes. If any are offline, check for hardware problems.

         7 q volume devclass=disk


10. Check the Backups status.

         7 q eve * * begind=-1
              7 q eve * t=a begind=-1

11. Check the activity log for error messages

7 q actlog search=ANR????S begind=-1

12. Verify that scheduled database backups completed successfully.

         7 q volhistory type=dbbackup
or
         7 q act s=dbbackup begind=-1


13. Check the connections on the server. Have you approved a change for any adhoc restores/backups?    Have any connecting been hanging for a long amount of time?

7 q sess

14. Check to make sure admin ids and nodes are not locked

7 q admin
or
                                    7 q node

7 select admin_name from admins where locked='YES'
7 select node_name from nodes where locked='YES'


15. Check the Scratch volume names.

7 select volume_name from libvolumes where status='Scratch'


16. Check the Tapes coming from offsite.

7 q drm wherestate=’MOUNTABLE’ 


17. To Checkout DRM volumes

7 move drm  <volumename>  tostate=vault

18. To Checkin volumes in Library

7 checkin libv <libraryname> search=yes status=scratch checklabel=barcode


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

7 checkin libv <libraryname> search=yes status=bulk checklabel=barcode


20. To check tape errors.
7 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

7 select volume_name, pct_utilized, pct_reclaim from volumes where PCT_RECLAIM >90 and STGPOOL_NAME=’ < stgpool name>


22. To restore the file , which is deleted by the client and wants in the file to be in original  place

7 dsmc restore "file path" -pick -inac -subdir=yes



23. To restore the file , which is deleted by the client and if you want to restore at  different location

7  dsmc restore "original path" "destination path" -pick - inac -subdir=yes



1 comment: