User Tools

Site Tools


tsm:tsm_debug_servmon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tsm:tsm_debug_servmon [2021/01/01 21:25]
127.0.0.1 external edit
tsm:tsm_debug_servmon [2022/04/29 11:45] (current)
manu
Line 1: Line 1:
 ====== Debug TSM server using servmon ====== ====== Debug TSM server using servmon ======
 +
 +====== SP debug servermon ======
 +
 +Servmon process is running by default on Spectrum Protect server since version 8.1.10
 +<cli prompt='#'>​
 +[root@tsm01 ~]# /​opt/​tivoli/​tsm/​server/​bin/​servermon # ps -ef | grep serv
 +ispprd1 ​ 18352  18273 91 Apr28 ?        23:40:07 /​opt/​tivoli/​tsm/​server/​bin/​dsmserv -i /ispprd1 -q
 +ispprd1 ​ 18434  18352  0 Apr28 ?        00:00:05 /​opt/​tivoli/​tsm/​server/​bin/​servermon/​servermon -path=/​ispprd1/​ -dbalias=TSMDB1 -schema=TSMDB1 -instance=ispprd1 -optFile=/​ispprd1/​dsmserv.opt -installdir=/​opt/​tivoli/​tsm/​server/​bin/​servermon -dsmservId=18352
 +</​cli>​
 +
 +Start the **servermon** command with option **-list** to list all collected logs
 +<cli prompt='​$'>​
 +[ispprd1@tsm01 ~]$ /​opt/​tivoli/​tsm/​server/​bin/​servermon/​servermon -path=/​ispprd1/​ -dbalias=TSMDB1 -schema=TSMDB1 -instance=ispprd1 -optFile=/​ispprd1/​dsmserv.opt -installdir=/​opt/​tivoli/​tsm/​server/​bin/​servermon -dsmservId=18352 -list
 +List of archives
 +Index   Date Created ​                       Zipped Size
 +49      2020-09-04-00:​00 ​                   10.633 MB
 +147     ​2020-10-19-12:​14 ​                   13.923 MB
 +196     ​2020-12-06-00:​00 ​                   23.159 MB
 +245     ​2021-01-22-00:​01 ​                   25.646 MB
 +723     ​2022-04-26-00:​00 ​                   14.550 MB
 +...
 +</​cli>​
 +
 +Extract a specific log using **-extract** argument Ex ID 723
 +<cli prompt='​$'>​
 +[ispprd1@tsm01 ~]$ /​opt/​tivoli/​tsm/​server/​bin/​servermon/​servermon -path=/​ispprd1/​ -dbalias=TSMDB1 -schema=TSMDB1 -instance=ispprd1 -optFile=/​ispprd1/​dsmserv.opt -installdir=/​opt/​tivoli/​tsm/​server/​bin/​servermon -dsmservId=18352 -extract -id 723
 +</​cli>​
 +
 +The .zip ouptput file will be located into the homedir of the instance, into the **srvmon** folder
 +<cli prompt='​$'>​
 +[ispprd1@tsm01 ~]$ ll srvmon
 +total 15172
 +-rw-r----- 1 ispprd1 ispsrv ​   30836 Apr 25 11:11 commands.ini
 +-rw-r----- 1 ispprd1 ispsrv ​      11 Apr 28 08:44 lock
 +-rw------- 1 ispprd1 ispsrv 15256693 Apr 29 11:03 servermonFile-ISPPRD1-20220426.zip
 +-rw-r----- 1 ispprd1 ispsrv ​    2505 Jul 23  2019 servermon.ini
 +-rw------- 1 ispprd1 ispsrv ​   23749 Apr 29 11:03 servermon.log
 +</​cli>​
  
 ===== Automatically collects debug information to help resolve issues ===== ===== Automatically collects debug information to help resolve issues =====
tsm/tsm_debug_servmon.1609532738.txt.gz ยท Last modified: 2021/01/01 21:25 by 127.0.0.1