commands
To check the failed and missed backups

tsm: STPDADC78>ru qevx

Scheduled Start          Actual Start             Schedule Name     Node Name         Status
——————–     ——————–     ————-     ————-     ———
05/08/11   16:30:00      05/08/11   16:30:55      MFGPRO_NP_IN-     APDVADC33         Failed 12
                                                   CR_APDVADC33
05/08/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR
05/08/11   19:00:00                               BLACKBERRY_P-     NSPDADC44_TD-     Missed
                                                   D_INCR            PDOM
05/08/11   19:00:00                               BLACKBERRY_P-     NSPDADC45_TD-     Missed
                                                   D_INCR            PDOM
05/08/11   20:00:00      05/08/11   20:03:58      DOMINO_PD_TD-     NSPDADC48_TD-     Failed
                                                   PDOM_INCR         PDOM              402
05/08/11   20:00:00                               DOMINO_PD_TD-     WBPDADC12_TD-     Missed
                                                   PDOM_INCR         PDOM
05/08/11   20:00:00                               DOMINO_PD_TD-     NSPDADC43_TD-     Missed
                                                   PDOM_FULL_A-      PDOM_ADCSAM-
                                                   DCSAM04           04
05/08/11   20:00:00                               RBA_FRNA_NP_-     DBDVADC06         Missed
                                                   NT_INCR
05/08/11   20:00:00                               RBA_FRNA_NP_-     WBDVADC05         Missed
                                                   NT_INCR
05/08/11   20:00:00                               RBA_FRNA_NP_-     WBDVADC07         Missed
                                                   NT_INCR
05/08/11   21:00:00      05/08/11   21:03:35      DW01_NP_UNIX-     APDVADC01         Failed 12
to check last ten backup status
tsm: STPDADC78>ru tenev WBDVADC26

Scheduled Start          Actual Start             Schedule Name     Node Name         Status
——————–     ——————–     ————-     ————-     ———
04/29/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR
04/30/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR
05/01/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR
05/02/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR
05/03/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR
05/04/11   17:30:00                               RIS_WEBSPHER-     WBDVADC26         Missed
                                                   E_NP_INCR

to refire the failed backup
tsm: STPDADC78>ru testincr WBDVADC26
to check the backup sessions
 

tsm: STPDADC78>q se

   Sess     Comm.      Sess         Wait       Bytes       Bytes     Sess      Platform     Client Name
 Number     Method     State        Time        Sent       Recvd     Type
——-     ——     ——     ——     ——-     ——-     —–     ——–     ——————-
1,164,9     Tcp/Ip     IdleW        0 S        1.3 M      16.5 G     Node      AIX          MPDVADC02
     48
1,331,9     Tcp/Ip     RecvW        0 S        1.0 M       1.7 T     Node      TDP Dom-     NSPDADC43_TDPDOM_A-
     69                                                                         ino AIX      DC50
1,332,3     Tcp/Ip     IdleW        0 S      166.8 K     392.0 M     Node      WinNT        NSPDADC23
     66
1,333,2     Tcp/Ip     IdleW      9.8 H          353         261     Serv-     AIX-RS/-     TSMLS01
     59                                                               er        6000
1,334,6     Tcp/Ip     IdleW      20.2 M      30.7 K       3.6 K     Admin     AIX          ADMIN
     35
1,335,0     Tcp/Ip     IdleW      3.0 M       29.6 M       6.5 K     Node      AIX          DBDVADC30
     82
1,335,0     Tcp/Ip     RecvW        0 S        4.1 K     499.8 G     Node      AIX          DBDVADC30
     83
1,340,1     Tcp/Ip     IdleW       32 S      415.5 M      58.4 K     Node      WinNT        NSPDADC09
     03
1,340,1     Tcp/Ip     IdleW       27 S      251.8 M     374.4 K     Node      WinNT        NSPDADC48
     11

deamons

stpdadc78:[/]#ps -ef |grep tsm
    root  5308452 16318520   0   May 07  pts/3  0:00 dsmadmc -se=tsm
    root  5636198        1   0   May 04      –  0:00 /usr/tivoli/tsm/client/ba/bin/dsmcad
    root 12386392        1   0   May 04      –  0:45 /usr/tivoli/tsm/client/ba/bin/dsmc schedule
    root 14942336  8585352   0   May 06  pts/4  0:00 dsmadmc -se=tsm
stpdadc78:[/]#

q devc
q scr
q se
q mo
q pr
q libvol
q volhist
q occ
q ere
q copy
q mgmt
q stg
q db
q pol
q node
q dr
ru orp
ru scratch
##############################################################################################################

1. Install TSM Base.

cd /usr/tivoli/dumps/server
tar xf C17ANML.tar
cd usr/sys/inst.images
smit installp
 Install and Update from ALL Available Software
 INPUT device / directory for software               . (dot)
SOFTWARE to install – ESC + 4
Select – F7
>gsksa                                                          
>tivoli.tsm.devices.aix5.rte
>tivoli.tsm.license.aix5.rte64
>tivoli.tsm.license.cert
>tivoli.tsm.loc.server.ela
>tivoli.tsm.msg.EN_US.devices
>tivoli.tsm.msg.EN_US.server
>tivoli.tsm.msg.en_US.devices
>tivoli.tsm.msg.en_US.server
>tivoli.tsm.server.aix5.rte64
>tivoli.tsm.server.com
>tivoli.tsm.server.webcon
>xlC.aix50
>xlC.msg.en_US
>xlC.rte

COMMIT software updates? – Yes
SAVE replaced files? – No
ACCEPT new license agreements? – Yes
Enter and make sure everything goes success.

2. Install Fixpack

  cd /usr/tivoli/dumps/fix/
  tar xf 5.5.4.0-TIV-TSMSRV-AIX.tar
  smit installp
 Install and Update from ALL Available Software
 INPUT device / directory for software               . (dot)
SOFTWARE to install – ESC + 4
Select – F7

  >gsksa
>tivoli.tsm.devices.aix5.rte
>tivoli.tsm.msg.en_US.devices
>tivoli.tsm.msg.en_US.server
>tivoli.tsm.server.aix5.rte64
>tivoli.tsm.server.com
>tivoli.tsm.server.webcon
>xlC.aix50
>xlC.msg.en_US
>xlC.rte

COMMIT software updates? – Yes
SAVE replaced files? – No
ACCEPT new license agreements? – Yes
Enter and make sure everything goes success.
3. Install Fixpack Level

  cd /usr/tivoli/dumps/fix-l/
  tar xf 5.5.4.2-TIV-TSMSRV-AIX.tar
  smit installp
 Install and Update from ALL Available Software
 INPUT device / directory for software               . (dot)
SOFTWARE to install – ESC + 4
Select – F7
 
  >gsksa
>tivoli.tsm.devices.aix5.rte
>tivoli.tsm.msg.en_US.devices
>tivoli.tsm.msg.en_US.server
>tivoli.tsm.server.aix5.rte64
>tivoli.tsm.server.com
>tivoli.tsm.server.webcon
>xlC.aix50
>xlC.msg.en_US
>xlC.rte

COMMIT software updates? – Yes
SAVE replaced files? – No
Enter and make sure everything goes success.
4. Install Client

  cd /usr/tivoli/dumps/clients
  tar xf C17ATML.tar
  cd LCD7-0505-06/usr/sys/inst.images
  smit installp
 Install and Update from ALL Available Software
 INPUT device / directory for software               . (dot)
SOFTWARE to install – ESC + 4
Select – F7
 
 

>gsksa
>gskta
>tivoli.tsm.client.api.32bit
>tivoli.tsm.client.api.64bit
>tivoli.tsm.client.ba
>xlC.aix50
>xlC.msg.en_US
>xlC.rte
>xlsmp.aix50.rte
>xlsmp.msg.en_US.rte
>xlsmp.rte
COMMIT software updates? – Yes
SAVE replaced files? – No
ACCEPT new license agreements? – Yes
Enter and make sure everything goes success.
5. cd /usr/tivoli/tsm/server/bin/

vi dsmserv.opt

COMMmethod TCPIP
TCPport 1500
TCPName TCPIP
VOLUMEHISTORY volhist.out
DEVCONFIG devconf.out
6. cd /usr/tivoli/tsm/client/ba/bin

vi dsm.opt

SErvername STPDADC77

 
vi dsm.sys

SErvername  STPDADC77
COMMMethod         TCPip
TCPPort            1500
TCPServeraddress   10.12.49.212

7. Start the TSM Server
cd /usr/tivoli/tsm/server/bin
nohup ./dsmserv &

Verify the TSM server is running,
ps -ef | grep -i dsmserv

8. Login to dsmadmc
cd /usr/tivoli/tsm/client/ba/bin

dsmadmc
admin
admin

9. Register License Files

TSM>reg lic file=/usr/tivoli/tsm/server/bin/tsmbasic.lic
TSM>reg lic file=/usr/tivoli/tsm/server/bin/tsmee.lic
TSM>reg lic file=/usr/tivoli/tsm/server/bin/dataret.lic
TSM>q lic

10. Set Servername

TSM>set servername STPDADC77

11. Define DB and Log Volumes

TSM>def dbv /tsm/dbvol/db01.dsm formatsize=8192 wait=yes
TSM>def logv /tsm/logvol/log01.dsm formatsize=8192 wait=yes
TSM>q db
TSM>q log

12. Extend DB and Log Volumes

TSM>extend db 322560
TSM>extend log 10240

#########################################################################################################

Windows

Restoring Data from the GUI
You can restore specific files, a group of files with similar names, or directories.
You can locate the files you want to restore by searching and filtering. Filtering
displays only the files that match the filter criteria for your restore operation. Files
that do not match the filter criteria do not display. The filter process searches files
in the specified directory but does not include subdirectories.
To restore files, directories, or images perform the following steps:
1. Click Restore on the main window. The Restore window appears.
2. Expand the directory tree by clicking the plus (+) sign or the folder icon next to
an object in the tree. Select the object that you want to restore. To search or
filter files, click the Search icon from the tool bar.
To search:
a. Enter your search criteria in the Find Files (Restore) window.
b. Click Search. The Matching Files (Restore) window appears.
c. Click the selection boxes next to the files you want to restore and close the
Matching Files (Restore) window.
To filter:
1) Enter your filter criteria in the Find Files (Restore) window.
2) Click Filter. The Restore window displays the filtered files.
3) Click the selection boxes next to the filtered files or directories you want to
restore.
3. To modify specific restore options, click the Options button located to the left
of the Point In Time button. Any options you change are effective during the
current session only.
4. Click Restore. The Restore Destination window appears. Enter the appropriate
information.
5. Click Restore. The Restore Task List window displays the processing status.
#########################################################################################################
tsm: STPDADC78>ru qevx

Scheduled Start      Actual Start         Schedule Name Node Name     Status
——————– ——————– ————- ————- ———
05/09/11   16:30:00  05/09/11   16:31:48  MFGPRO_NP_IN- APDVADC33     Failed 12
                                           CR_APDVADC33
05/09/11   17:30:00                       RIS_WEBSPHER- WBDVADC26     Missed
                                           E_NP_INCR
05/09/11   18:00:00                       GRAPHICS_PD_- NSPDADC23     Missed
                                           INCR
05/09/11   19:00:00                       BLACKBERRY_P- NSPDADC44_TD- Missed
                                           D_INCR        PDOM
05/09/11   19:00:00                       BLACKBERRY_P- NSPDADC45_TD- Missed
                                           D_INCR        PDOM
05/09/11   20:00:00  05/09/11   20:05:05  DOMINO_PD_TD- NSPDADC48_TD- Failed
                                           PDOM_INCR     PDOM          402
05/09/11   20:00:00                       DOMINO_PD_TD- WBPDADC12_TD- Missed
                                           PDOM_INCR     PDOM
05/09/11   20:00:00                       DOMINO_PD_TD- NSPDADC43_TD- Missed
                                           PDOM_INCR_A-  PDOM_ADCSAM-
                                           DCSAM04       04
05/09/11   20:00:00                       RBA_FRNA_NP_- DBDVADC06     Missed
                                           NT_INCR
more…   (<ENTER> to continue, ‘C’ to cancel) c

Output to screen cancelled.  Please wait for the ‘tsm>’ prompt.

tsm: STPDADC78>q scr qevx f=d

Name                           Line   Command                                                                                              Last Update by  Last Upda-
                               Number                                                                                                      (administrator) te Date/T-
                                                                                                                                                              ime
—————————— —— —————————————————————————————————- ————— ———-
QEVX                           Descr- Check last 24 hrs backups                                                                            ADMIN           09/13/10
                                ipti-                                                                                                                       18:21:01
                                on
QEVX                           1      q ev * * begind=-1 begint=16:30 ex=yes endd=today                                                    ADMIN           09/13/10
                                                                                                                                                            18:21:01
QEVX                           5      select node_name, schedule_name, scheduled_start, status from events where status=’Pending’          ADMIN           09/13/10
                                                                                                                                                            18:21:01

tsm: STPDADC78>q scr tenev f=d

Name                           Line   Command                                                                                              Last Update by  Last Upda-
                               Number                                                                                                      (administrator) te Date/T-
                                                                                                                                                              ime
—————————— —— —————————————————————————————————- ————— ———-
TENEV                          Descr- Displays 10 days event log for the node                                                              ADMIN           09/13/10
                                ipti-                                                                                                                       18:21:36
                                on
TENEV                          1      q ev * * no=$1 begind=-10 endd=today                                                                 ADMIN           09/13/10
                                                                                                                                                            18:21:36

tsm: STPDADC78>

STPDADC77>

tsm: TSMLS01>ru scratch
ANR1455E RUN: Command script SCRATCH does not exist.
ANS8001I Return code 11.

tsm: TSMLS01>ru scr

LIBRARY_NAME            Unnamed[2]
——————     ———–
ADC_EDL1_A                     100
ADC_EDL1_B                      57
CUL_TSM_DEV                      5
CUL_TSM_PROD                    17
ANR1462I RUN: Command script SCR completed successfully.

tsm: TSMLS01>

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

unix Backup Troubleshoot
service restart

stpdadc78:[/]#ps -ef |grep dsm
    root  5636198        1   0   May 04      –  0:00 /usr/tivoli/tsm/client/ba/bin/dsmcad
    root 12386392        1   0   May 04      –  1:04 /usr/tivoli/tsm/client/ba/bin/dsmc schedule
stpdadc78:[/]#
kill -9 5636198 12386392      

start

/usr/tivoli/tsm/client/ba/bin/dsmcad

nohup /usr/tivoli/tsm/client/ba/bin/dsmc
mpdvadc02:/ # ps -ef |grep dsm
    root  938060       1   0 09:01:16      –  0:00 /usr/tivoli/tsm/client/ba/bin/dsmcad
    root 1093852 1105998   0 08:59:15 pts/10  0:01 /usr/tivoli/tsm/client/ba/bin/dsmc

to delete the sechedule run more times
tsm: STPDADC78>del sched DOMINO_PD @1080

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR2501I Schedule @1080 deleted from policy domain DOMINO_PD.

tsm: STPDADC78>ru tenev NSDVBRE03

 
to check the completed backup status

q eve * * begind=-1 endd=today
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

windows Backup Troubleshoot

C:\Program Files\Tivoli\TSM\baclient

dsmsched.log

dsmerror.log
to check above 2 files

if required failed backup file is (exclude in include) & exclude tab

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

 
C:\Program Files\Tivoli\TSM\console

tsmdlst.exe
C:\Program Files\Tivoli\TSM\console>tsmdlst.exe

Tivoli Storage Manager — Device List Utility

Licensed Materials – Property of IBM

5697-TSM (C) Copyright IBM Corporation 2000, 2005. All rights reserved.
U.S. Government Users Restricted Rights – Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

Computer Name:      BKPDHKG01
OS Version:         5.2
OS Build #:         3790
TSM Device Driver:  TSMScsi – Not Running

2 HBAs were detected.

Manufacturer        Model          Driver      Version            Firmware Description
—————————————————————————————————————-
QLogic Corporation-MY574620ET               ql2300.sys  9.1.9.25           5.04.02  QLogic  Fibre Channel Adapter
QLogic Corporation-MY574620ET               ql2300.sys  9.1.9.25           5.04.02  QLogic  Fibre Channel Adapter

TSM Name     ID   LUN  Bus  Port SSN                   WWN               TSM Type  Device Identifier
—————————————————————————————————————-
mt2.0.0.0    2    0    0    0    1310179402            500308C0A033E001  LTO       IBM     ULT3580-TD4     94D4
mt3.0.0.0    3    0    0    0    1310177208            500308C0A033E099  LTO       IBM     ULT3580-TD4     94D4
mt2.0.0.1    2    0    0    1    1310163767            500308C0A033E005  LTO       IBM     ULT3580-TD4     94D4
mt3.0.0.1    3    0    0    1    1310177094            500308C0A033E09D  LTO       IBM     ULT3580-TD4     94D4
lb3.1.0.1    3    1    0    1    000001316791_LLA      500308C0A033E09D  LIBRARY   IBM     3576-MTL        570G

Completed in: 0 days, 0 hours, 0 minutes, 0 seconds.

C:\Program Files\Tivoli\TSM\console>

define drive HKG DRV1 Serial=1310179402 online=yes element=258
define drive HKG DRV2 Serial=1310163767 online=yes element=259
define drive HKG DRV3 Serial=1310177208 online=yes element=256
define drive HKG DRV4 Serial=1310177094 online=yes element=257

define path BKPDHKG01 DRV1 srctype=server desttype=drive library=hkg device=mt3.0.0.0
define path BKPDHKG01 DRV2 srctype=server desttype=drive library=hkg device=mt3.0.0.1
define path BKPDHKG01 DRV3 srctype=server desttype=drive library=hkg device=mt4.0.0.0
define path BKPDHKG01 DRV4 srctype=server desttype=drive library=hkg device=mt4.0.0.1

export node nspdhkg11_tdpdom filedata=all devc=lto4 scratch=yes

label libvol hkg search=bulk labelsource=barcode checkin=scratch overwrite=yes
to delete path for TL
del path BKPDHKG01 hkg srctype=server desttype=library

To configure the TL

define path BKPDHKG01 hkg srctype=server desttype=library device=lb3.1.0.1

to delete drive path

del path BKPDHKG01 DRV1 srctype=server desttype=drive library=hkg
del path BKPDHKG01 DRV2 srctype=server desttype=drive library=hkg
del path BKPDHKG01 DRV3 srctype=server desttype=drive library=hkg
del path BKPDHKG01 DRV4 srctype=server desttype=drive library=hkg

To configure Tape drives

define path BKPDHKG01 DRV1 srctype=server desttype=drive library=hkg device=mt2.0.0.0
define path BKPDHKG01 DRV2 srctype=server desttype=drive library=hkg device=mt2.0.0.1
define path BKPDHKG01 DRV3 srctype=server desttype=drive library=hkg device=mt3.0.0.0
define path BKPDHKG01 DRV4 srctype=server desttype=drive library=hkg device=mt3.0.0.1

dsmfmt -data E:\DS11.dsm 51200 E:\DS12.dsm 51200 E:\DS13.dsm 51200 E:\DS14.dsm 51200 E:\DS15.dsm 51200 E:\DS16.dsm 51200 E:\DS17.dsm 51200 E:\DS18.dsm 51200 E:\DS19.dsm 51200 E:\DS1\10.dsm 51200 E:\DS1\11.dsm 51200 E:\DS1\12.dsm 51200 E:\DS1\13.dsm 51200 E:\DS1\14.dsm 51200 E:\DS1\15.dsm 51200 E:\DS1\16.dsm 51200 E:\DS1\17.dsm 51200 E:\DS1\18.dsm 51200 E:\DS1\19.dsm 51200 E:\DS1\20.dsm 51200

def vol diskpool1 E:\DS11.dsm
def vol diskpool1 E:\DS12.dsm
def vol diskpool1 E:\DS13.dsm
def vol diskpool1 E:\DS14.dsm
def vol diskpool1 E:\DS15.dsm
def vol diskpool1 E:\DS16.dsm
def vol diskpool1 E:\DS17.dsm
def vol diskpool1 E:\DS18.dsm
def vol diskpool1 E:\DS19.dsm
def vol diskpool1 E:\DS1\10.dsm
def vol diskpool1 E:\DS1\11.dsm
def vol diskpool1 E:\DS1\12.dsm
def vol diskpool1 E:\DS1\13.dsm
def vol diskpool1 E:\DS1\14.dsm
def vol diskpool1 E:\DS1\15.dsm
def vol diskpool1 E:\DS1\16.dsm
def vol diskpool1 E:\DS1\17.dsm
def vol diskpool1 E:\DS1\18.dsm
def vol diskpool1 E:\DS1\19.dsm
def vol diskpool1 E:\DS1\20.dsm

 
tsm: BKPDHKG01>q stg

Storage         Device          Estimated       Pct       Pct     High     Low     Next Stora-
Pool Name       Class Name       Capacity      Util      Migr      Mig     Mig     ge Pool
                                                                   Pct     Pct
———–     ———-     ———-     —–     —–     —-     —     ———–
ARCHIVEPOOL     DISK                0.0 M       0.0       0.0       90      70     DISKPOOL
BACKUPPOOL      DISK                0.0 M       0.0       0.0       90      70     DISKPOOL
DISKPOOL        DISK                 20 G       0.0       0.0       90      70
DISKPOOL1       DISK              5,018 G      67.2      66.6       90      70     TAPEPOOL
FS_NOTES_M-     DISK              5,837 G      54.3      54.3       90      70
 IGR
SPACEMGPOOL     DISK                0.0 M       0.0       0.0       90      70
TAPEPOOL        LTO4            320,000 G       0.5       5.0      100      99

tsm: BKPDHKG01>

tsm: BKPDHKG01>q se

  Sess     Comm.      Sess         Wait       Bytes       Bytes     Sess      Platform     Client Name
Number     Method     State        Time        Sent       Recvd     Type
——     ——     ——     ——     ——-     ——-     —–     ——–     ——————–
     2     Tcp/Ip     RecvW        0 S       26.6 K       5.6 G     Node      TDP Dom-     NSPDHKG11_TDPDOM
                                                                               ino
     4     Tcp/Ip     RecvW        0 S      285.1 K       4.5 G     Node      TDP Dom-     NSPDHKG012_TDPDOM
                                                                               ino
     5     Tcp/Ip     RecvW        0 S        2.0 M      13.3 G     Node      TDP Dom-     NSPDHKG051_TDPDOM
                                                                               ino
     7     Tcp/Ip     RecvW        0 S          606       5.6 G     Node      TDP Dom-     NSPDHKG01_TDPDOM
                                                                               ino
     8     Tcp/Ip     Run          0 S        2.1 K         156     Admin     WinNT        ADMIN
     9     Tcp/Ip     RecvW        0 S        1.2 M       3.3 G     Node      TDP Dom-     NSPDHKG050_TDPDOM
                                                                               ino
q vol

q path f=d

q path

q libr
\\144.93.254.11\avery\GDC\Storage & Backup\SOP

SELECT entity, activity, start_time, end_time, end_time-start_time AS ELAPTIME, bytes, EXAMINED FROM summary WHERE entity=’APDVADC33′ AND end_time>current_timestamp-1800 hours

 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Password

culpeper location

TSMLS01  Tape library model – 3584
 
Backup servers

STPDADC78
STPDADC79
STPDADC84
stpdroc01a
stpdadc11

Singapore location
backup servers
stpdapd01 10.16.36.36
stpdapd02 10.16.36.37
stpdapd03 10.16.36.38

 
newarkdc
S1$New@rk
S1$Newark
culpeperdc
Culp3p3r
A!xadmin
147.121.91.70

backup
T$mteam1

Client
147.121.90.41        complete

147.121.90.38        complete

NSPDHKGAPPS02  147.121.90.224       Completed

nspdhkg21tko   147.121.90.34        in progress  rdp disconnected & not able to connect

NSPDHKG012TKO  147.121.90.32        Completed
               
nspdhkg50      147.121.90.136       Completed

nspdhkg51      147.121.90.137       Completed
saptesh parish
S@pt3sh6^

tcsadmin
Avery@123

notesadmin
tko.25hk
adm mohammednaseer p
haribaskaran k

Harie@123

 
 
055101503703
*********************************************************************

Tape library

console 3584 culpeper

10.12.43.133

username : storage
passwd:    Zaq~!@wsx

*********************************************************************
Tape library

console 3584 Singapore

10.16.42.155

username : storage

passwd:    St0rage

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

singaport TL

type in url 10.16.42.155

username : storage

passwd:    St0rage

TSM Server

stpdapd01 10.16.36.36

username: root
passwd:   admin1
tsm: TSMLS01>q libr

Library Name     Library        ACS     Private      Scratch      WORM         External           Shared     LanFree     ObeyMountRetention
                 Type           Id      Category     Category     Scratch      Manager
                                                                  Category
————     ———-     —     ——–     ——–     ——–     ————–     ——     ——-     ——————
SNG_TSM_PROD     SCSI                                                                             Yes
tsm: TSMLS01>label libvol SNG_TSM_PROD search=yes checkin=scratch overwrite=yes labelso=ba
ANS8003I Process number 90 started.

tsm: TSMLS01>q pr

 Process     Process Description      Status
  Number
——–     ——————–     ————————————————-
      90     LABEL LIBVOLUME          ANR8805I Labeling volumes in library
                                       SNG_TSM_PROD; 0 volume(s) labeled.
tsm: TSMLS01>ru scratch
ANR1496I Scratch count for PROD

 Unnamed[1]
———–
          0
ANR1462I RUN: Command script SCRATCH completed successfully.

tsm: TSMLS01>

tsm: TSMLS01>q act s=90

Date/Time                Message
——————–     ———————————————————-
05/24/11   16:27:38      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48554)
05/24/11   16:27:38      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48555)
05/24/11   16:27:38      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48556)
05/24/11   16:29:16      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48562)
05/24/11   16:29:16      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48563)
05/24/11   16:29:16      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48564)
05/24/11   16:30:54      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48571)
05/24/11   16:30:54      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48572)
05/24/11   16:30:54      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48573)
05/24/11   16:32:30      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48579)
05/24/11   16:32:30      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48580)
05/24/11   16:32:30      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48581)
05/24/11   16:34:08      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48588)
05/24/11   16:34:08      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48589)
05/24/11   16:34:08      ANR0408I Session 48590 started for server STPDAPD01
                          (AIX-RS/6000) (Tcp/Ip) for library sharing.  (SESSION:
                          48590)
05/24/11   16:34:08      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48590)
05/24/11   16:34:08      ANR0409I Session 48590 ended for server STPDAPD01
                          (AIX-RS/6000). (SESSION: 48590)
tsm: TSMLS01>q mo
ANR8330I LTO volume SP0096L4 is mounted R/W in drive SNG_DRV01 (/dev/rmt6), status: IN USE.
ANR8330I LTO volume SP0097L4 is mounted R/W in drive SNG_DRV02 (/dev/rmt0), status: IN USE.
ANR8330I LTO volume SP0057L4 is mounted R/W in drive SNG_DRV03 (/dev/rmt4), status: IN USE.
ANR8334I         3 matches found.

tsm: TSMLS01>q act s=90

Date/Time                Message
——————–     ———————————————————-
05/24/11   16:27:38      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48554)
05/24/11   16:27:38      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48555)
05/24/11   16:27:38      ANR9790W Request to mount volume *SCRATCH* for library
                          client STPDAPD01 failed. (SESSION: 48556)
05/24/11   17:09:51      ANR8337I LTO volume SP0057L4 mounted in drive SNG_DRV03
                          (/dev/rmt4). (SESSION: 48790)

tsm: TSMLS01>q libvol * SP0057L4

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type
————     ———–     —————-     ———-     ———     ——-     ——
SNG_TSM_PROD     SP0057L4        Private              STPDAPD02      Data          1,091       LTO

tsm: TSMLS01>SNG:q drm SP0057L4
ANR1699I Resolved SNG to 3 server(s) – issuing command Q DRM SP0057L4  against server(s).
ANR1687I Output for command ‘Q DRM SP0057L4 ‘ issued against server STPDAPD03 follows:
ANR2034E QUERY DRMEDIA: No match found using this criteria.
ANR1688I Output for command ‘Q DRM SP0057L4 ‘ issued against server STPDAPD03 completed.
ANR1687I Output for command ‘Q DRM SP0057L4 ‘ issued against server STPDAPD02 follows:
ANR2034E QUERY DRMEDIA: No match found using this criteria.
ANR1688I Output for command ‘Q DRM SP0057L4 ‘ issued against server STPDAPD02 completed.
ANR1687I Output for command ‘Q DRM SP0057L4 ‘ issued against server STPDAPD01 follows:
ANR2034E QUERY DRMEDIA: No match found using this criteria.
ANR1688I Output for command ‘Q DRM SP0057L4 ‘ issued against server STPDAPD01 completed.
ANR1695W Server STPDAPD01 processed command ‘Q DRM SP0057L4 ‘ but completed with warnings.
ANR1695W Server STPDAPD02 processed command ‘Q DRM SP0057L4 ‘ but completed with warnings.
ANR1695W Server STPDAPD03 processed command ‘Q DRM SP0057L4 ‘ but completed with warnings.
ANR1697I Command ‘Q DRM SP0057L4 ‘ processed by 3 server(s):  0 successful, 3 with warnings, and 0 with errors.
ANS8001I Return code 11.

tsm: TSMLS01>q serverg

Server Group      Members           Description              Managing profile
————-     ————-     ——————–     ——————–
SNG               STPDAPD01
                   STPDAPD02
                   STPDAPD03
tsm: TSMLS01>SNG:q drm SP0113L4
ANR1699I Resolved SNG to 3 server(s) – issuing command Q DRM SP0113L4  against server(s).
ANR1687I Output for command ‘Q DRM SP0113L4 ‘ issued against server STPDAPD03 follows:
ANR2034E QUERY DRMEDIA: No match found using this criteria.
ANR1688I Output for command ‘Q DRM SP0113L4 ‘ issued against server STPDAPD03 completed.
ANR1687I Output for command ‘Q DRM SP0113L4 ‘ issued against server STPDAPD02 follows:
ANR2034E QUERY DRMEDIA: No match found using this criteria.

tsm: TSMLS01>SNG:q vol SP0113L4
ANR1699I Resolved SNG to 3 server(s) – issuing command Q VOL SP0113L4  against server(s).
ANR1687I Output for command ‘Q VOL SP0113L4 ‘ issued against server STPDAPD03 follows:
ANR2034E QUERY VOLUME: No match found using this criteria.
ANR1688I Output for command ‘Q VOL SP0113L4 ‘ issued against server STPDAPD03 completed.
ANR1687I Output for command ‘Q VOL SP0113L4 ‘ issued against server STPDAPD02 follows:

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
————————     ———–     ———-     ———     —–     ——–
SP0113L4                     DB_LTO4         LTO4_PRD           1.6 T       4.6     Filling
ANR1688I Output for command ‘Q VOL SP0113L4 ‘ issued against server STPDAPD02 completed.
ANR1687I Output for command ‘Q VOL SP0113L4 ‘ issued against server STPDAPD01 follows:
ANR2034E QUERY VOLUME: No match found using this criteria.
ANR1688I Output for command ‘Q VOL SP0113L4 ‘ issued against server STPDAPD01 completed.
ANR1695W Server STPDAPD01 processed command ‘Q VOL SP0113L4 ‘ but completed with warnings.
ANR1694I Server STPDAPD02 processed command ‘Q VOL SP0113L4 ‘ and completed successfully.
ANR1695W Server STPDAPD03 processed command ‘Q VOL SP0113L4 ‘ but completed with warnings.
ANR1697I Command ‘Q VOL SP0113L4 ‘ processed by 3 server(s):  1 successful, 2 with warnings, and 0 with errors.
ANS8001I Return code 11.

tsm: TSMLS01>

tsm: TSMLS01>update libvol SNG_TSM_PROD SP0113L4 status=scratch
ANR8445I Volume SP0113L4 in library SNG_TSM_PROD updated.

update libvol SNG_TSM_PROD SP0113L4 status=scr

tsm: TSMLS01>checkin libvol CUL_TSM_DEV search=yes status=private checkl=ba
move drm  G00280L4 wherestate=courierret  tostate=onsiteret   s=dbs

tsm: TSMLS01>SNG:q volhist t=dbb
ANR1699I Resolved SNG to 3 server(s) – issuing command Q VOLHIST T=dbb  against server(s).
ANR1687I Output for command ‘Q VOLHIST T=dbb ‘ issued against server STPDAPD01 follows:

Date/Time            Volume Type    Backup    Backup Volume Device Class Volume Name                    Volume Location                Command
                                    Series Operation    Seq
——————– ————– —— ——— —— ———— —————————— —————————— ——————————
01/09/11   16:43:09  BACKUPFULL          1         0      1 DBDISK       /tsmdb/stpdapd01/94562589.DBB
04/07/11   03:25:30  BACKUPFULL          2         0      1 DBDISK       /backup/02117930.DBB
ANR1688I Output for command ‘Q VOLHIST T=dbb ‘ issued against server STPDAPD01 completed.
ANR1687I Output for command ‘Q VOLHIST T=dbb ‘ issued against server STPDAPD03 follows:

Date/Time            Volume Type    Backup    Backup Volume Device Class Volume Name                    Volume Location                Command
                                    Series Operation    Seq
——————– ————– —— ——— —— ———— —————————— —————————— ——————————
05/11/11   10:01:35  BACKUPFULL         65         0      1 DBDISK       /backup/05079295.DBB
05/12/11   07:02:27  BACKUPFULL         66         0      1 LTO4_PRD     SP0019L4                       IronMountain
05/12/11   10:01:41  BACKUPFULL         67         0      1 DBDISK       /backup/05165701.DBB
05/13/11   07:01:38  BACKUPFULL         68         0      1 LTO4_PRD     SP0070L4                       IronMountain
05/13/11   10:01:45  BACKUPFULL         69         0      1 DBDISK       /backup/05252105.DBB
05/14/11   10:01:54  BACKUPFULL         70         0      1 DBDISK       /backup/05338514.DBB
05/15/11   10:01:45  BACKUPFULL         71         0      1 DBDISK       /backup/05424905.DBB
05/16/11   10:01:36  BACKUPFULL         72         0      1 DBDISK       /backup/05511296.DBB
05/17/11   07:01:16  BACKUPFULL         73         0      1 LTO4_PRD     SP0046L4                       IronMountain
05/17/11   10:01:24  BACKUPFULL         74         0      1 DBDISK       /backup/05597684.DBB
05/18/11   07:01:21  BACKUPFULL         75         0      1 LTO4_PRD     SP0027L4                       IronMountain
05/18/11   10:01:27  BACKUPFULL         76         0      1 DBDISK       /backup/05684087.DBB

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Checking and Checkout

TSM needs to know where it’s tapes are if they are stored in tape libraries and to keep it informed you use CHECKIN and CHECKOUT commands

A tape library has a small compartment usually called an IO station with a door. You place your new cartridges into the IO station then run a checkin command. The syntax of the command varies slightly depending on what type of library you have. The command for a SCSI library is

 Checkin libv Library_name search=bulk checklabel=yes status=scr

This will read in all the tapes in the IO station, read the labels and define them to TSM as scratch. To check in a single named tape that contains required data, maybe something you are importing from a different system, try

 Checkin libv Library_name Volume_name  checklabel=yes 

However be aware that the robot will select the first tape from the IO station, it will not scan the IO station for your tape. I’ve had the Library Manager tell me the IO station was empty apart from a specific tape that I wanted, yet TSM kept selecting an incorrect tape on checkin. Eventually I tried a bulk checkin and then discovered there was four foreign tapes in the IO station.

Most of us have several TSM servers that share a physical library. This is done by partitioning the library into several logical libraries. Say you have two servers, TSM1 and TSM2 each with virtual libraries VLIB1 and VLIB2 In this case it is quite easy to transfer data between TSM servers. You run an Export, note the tape used (xyz123) then check it out VLIB1 like this

 CHECKOUT LIBV VLIB1 xyx123 REMOVE=YES

This will place the tape into the IO station. You then log into the Library Manager (the control software for the tape library) and re-assign the tape from VLIB1 to VLIB2. Finally you check it back in with

 CHECKIN LIBV VLIB2 tapeno  xyz123 STAT=PRI  CHECKL=YES

If you find the tape is rejected with an invalid label, try a bulk checkin.

If a volume has been removed from the library, but TSM has not been informed you can clear it from TSM with the command below. Checklabel=no and remove=no means that TSM will do no validation, it just removes it from the database.

 Checkout libvolume Library_name Volume_name  checklabel=no remove=no

 
tsm: CGYBCK01>q eve * * begind=-1  ex=yes endd=today

Scheduled Start      Actual Start         Schedule Name Node Name     Status
——————– ——————– ————- ————- ———
07/11/2011 00:00:00                       UNIX_TAU      CGYAIX01F     Missed
07/11/2011 00:00:00                       UNIX_TAU      CGYAIX01H     Missed
07/11/2011 05:45:00                       CGYOEM01_HOU- CGYOEM01      Missed
                                           RLY_J
07/11/2011 06:00:00                       ERA-PSOS_REDO ERA-POWERCC_- Missed
                                                         PSOS_REDO
07/11/2011 06:00:00                       EXCH_0600     CGYXMB01_EXC  Missed
07/11/2011 06:45:00                       CGYOEM01_HOU- CGYOEM01      Missed
                                           RLY_J
07/11/2011 07:45:00                       CGYOEM01_HOU- CGYOEM01      Missed
                                           RLY_J
07/11/2011 08:45:00                       CGYOEM01_HOU- CGYOEM01      Missed
                                           RLY_J

command to check all nodes status

tsm: CGYBCK01>q eve * * begind=-1

Scheduled Start      Actual Start         Schedule Name Node Name     Status
——————– ——————– ————- ————- ———
07/11/2011 00:00:00  07/11/2011 00:13:38  NT_0000       CGYARP01      Completed
07/11/2011 00:00:00  07/11/2011 00:03:15  NT_0000       CGYARP02      Completed
07/11/2011 00:00:00  07/11/2011 00:21:12  NT_0000       CGYMTP01      Completed
07/11/2011 00:00:00  07/11/2011 00:35:18  NT_0000       CGYMTP02      Completed
07/11/2011 00:00:00  07/11/2011 00:06:12  NT_0000       CGYSAPPCL00– Completed
                                                         BWP
07/11/2011 00:00:00  07/11/2011 00:16:06  NT_0000       CGYSOAP01     Completed
07/11/2011 00:00:00  07/11/2011 00:00:20  NT_FILE_0000  CGYUSR01-4    Completed
07/11/2011 00:00:00                       UNIX_TAU      CGYAIX01F     Missed
07/11/2011 00:00:00                       UNIX_TAU      CGYAIX01H     Missed
07/11/2011 00:15:00  07/11/2011 00:48:33  NT_0015       CGYERP00      Completed
07/11/2011 00:15:00  07/11/2011 00:19:12  NT_0015       CGYERP01      Completed
07/11/2011 00:15:00  07/11/2011 00:18:23  NT_0015       CGYERP02      Completed
07/11/2011 00:15:00  07/11/2011 00:34:08  NT_0015       CGYTTP01      Completed
07/11/2011 00:15:00  07/11/2011 00:21:04  NT_0015       CGYUTILP01    Completed
07/11/2011 00:15:00  07/11/2011 00:45:10  NT_0015       CGYUTILP03    Completed
07/11/2011 00:35:00  07/11/2011 00:42:54  NT_0035       CGYLST06      Completed
07/11/2011 00:35:00  07/11/2011 00:49:52  NT_0035       CGYLST07      Completed
07/11/2011 00:35:00  07/11/2011 00:45:01  NT_0035       CGYROST1      Completed
07/11/2011 00:35:00  07/11/2011 00:48:50  NT_0035       CGYLST08      Completed

to check ten events of backup node

q ev * * no=CGYLST08 begind=-10 endd=today

Scheduled Start      Actual Start         Schedule Name Node Name     Status
——————– ——————– ————- ————- ———
07/02/2011 00:35:00  07/02/2011 00:44:37  NT_0035       CGYLST08      Completed
07/03/2011 00:35:00  07/03/2011 00:46:12  NT_0035       CGYLST08      Completed
07/04/2011 00:35:00  07/04/2011 00:43:28  NT_0035       CGYLST08      Completed
07/05/2011 00:35:00  07/05/2011 00:43:39  NT_0035       CGYLST08      Completed
07/06/2011 00:35:00  07/06/2011 00:35:05  NT_0035       CGYLST08      Completed
07/07/2011 00:35:00  07/07/2011 00:36:50  NT_0035       CGYLST08      Completed
07/08/2011 00:35:00  07/08/2011 00:42:28  NT_0035       CGYLST08      Completed
07/09/2011 00:35:00  07/09/2011 00:48:32  NT_0035       CGYLST08      Completed
07/10/2011 00:35:00  07/10/2011 00:49:07  NT_0035       CGYLST08      Completed
07/11/2011 00:35:00  07/11/2011 00:48:50  NT_0035       CGYLST08      Completed
07/12/2011 00:35:00  07/12/2011 00:35:31  NT_0035       CGYLST08      Completed

 
select CGYAIX01H, status from events where (scheduled_start>’2010-09-23 15:59:00′ and scheduled_start<current_timestamp) and status!=’Completed’ and status!=’Started’ and status !=’In Progres’ and status !=’Restarted’

register nodes

CGYSQLD01_SQL_NPRD
CGYSQLD02_SQL_NPRD
CGYSQLD03_SQL_NPRD
CGYSQLD04_SQL_NPRD
Registered nodes in TSM server CGYBCK02

tsm: CGYBCK02>register node CGYSQLD01_SQL_NPRD CGYSQLD01_SQL_NPRD domain=TA
ANR2060I Node CGYSQLD01_SQL_NPRD registered in policy domain TA.
ANR2099I Administrative userid CGYSQLD01_SQL_NPRD defined for OWNER access to
node CGYSQLD01_SQL_NPRD.

tsm: CGYBCK02>register node CGYSQLD02_SQL_NPRD CGYSQLD02_SQL_NPRD domain=TA
ANR2060I Node CGYSQLD02_SQL_NPRD registered in policy domain TA.
ANR2099I Administrative userid CGYSQLD02_SQL_NPRD defined for OWNER access to
node CGYSQLD02_SQL_NPRD.

tsm: CGYBCK02>register node CGYSQLD03_SQL_NPRD CGYSQLD03_SQL_NPRD domain=TA
ANR2060I Node CGYSQLD03_SQL_NPRD registered in policy domain TA.
ANR2099I Administrative userid CGYSQLD03_SQL_NPRD defined for OWNER access to
node CGYSQLD03_SQL_NPRD.

tsm: CGYBCK02>register node CGYSQLD04_SQL_NPRD CGYSQLD04_SQL_NPRD domain=TA
ANR2060I Node CGYSQLD04_SQL_NPRD registered in policy domain TA.
ANR2099I Administrative userid CGYSQLD04_SQL_NPRD defined for OWNER access to
node CGYSQLD04_SQL_NPRD.

decommision of servers or delete the nodes for TSM servers
tsm: BACKUP-SRV03>q filespace fileserver-corp f=d

Node Name: FILESERVER-CORP
Filespace Name: SYSTEM SERVICES
Hexadecimal Filespace Name: 53595354454d205345525649434553
FSID: 12
Platform: WinNT
Filespace Type: SYSTEM
Is Filespace Unicode?: Yes
Capacity (MB): 0.0
Pct Util: 0.0
Last Backup Start Date/Time: 10/27/2007 18:13:51
Days Since Last Backup Started: 102
Last Backup Completion Date/Time: 10/27/2007 18:15:40
Days Since Last Backup Completed: 102
Last Full NAS Image Backup Completion Date/Time:
Days Since Last Full NAS Image Backup Completed:
tsm: BACKUP-SRV03>delete filespace fileserver-corp 12 nametype=fsid

ANR2238W This command will result in the deletion of all inventory references
to the data on filespaces that match the pattern \\fileserver-corp\h$ (fsId=12)
for node FILESERVER-CORP , whereby rendering the data unrecoverable.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANS8003I Process number 96 started.
This method worked more reliably for me. Then once these processes complete you can delete the node.

______________________________________________________________________________________________________

1. Using command line admin client, issue following command:

dsmadmc> q filespace nodename

Where ‘nodename’ is the node that you want to delete. The output will show you filespaces that belongs to this node. If the output says ‘no match found’ this means there are no filespaces for this node

2. Assuming that in step 1 it showed you filespaces, you will delete the using the delete filesp command

dsmadmc> delete filesp nodename *

Where nodename is the name of the node whose filespace you want to delete. IF you want you can use ‘*’ to delete all filespaces or specifiy the filespace that you want to delete. The names of the filespaces can be seen by the output of step 1.

Note: filespace name is case sensitive

3. To find if there is any backupset for this node, run

dsmamdc> q backupset

IF you get something in the outpout, you need to delete the backupset using the delete backupset command.

dsmadmc> delete backupset nodename backupsetname

Let me know if this helps.

Note: All of this can be done through the TSM Admin GUI too
_____________________________________________________________________________________________________________
Removed PFMREPORT from daily schedule
August 20, 2007
by momo66
.Removed association of PFMREPORT to the schedule backup for Daily_0100

using command

delete association ntsrv0 daily_0100 pfmreport

to add back to the schedule we will need to use the command

define association ntsrv0 daily_0100 pfmreport

Remove client node from a schedule.
June 25, 2007
by momo66
.I had a client node that went out of production. It kept showing as missing backups on my daily backup report. To remove it from the schedule I had to run this command

tsm: TSM>q sched linux0

Domain * Schedule Name Action Start Date/Time Duration Period Day
———— – —————- —— ——————– ——– —— —
LINUX0 DAILY_0100 Inc Bk 05/05/05 01:00:00 3 H 1 D Any
LINUX0 MONTHLY_ARC_FOU- Arch 06/04/05 01:00:00 5 H 1 Mo Any
RTH_0100
LINUX0 MONTHLY_ARC_FOU- Arch 06/04/05 02:00:00 1 H 1 Mo Any
RTH_0200
LINUX0 MONTHLY_ARC_FOU- Arch 06/04/05 03:00:00 1 H 1 Mo Any
RTH_0300

tsm: TSM>delete association linux0 daily_0100 dds-secondary
Do you wish to proceed? (Yes (Y)/No (N)) Y

ANR2511I Node DDS-SECONDARY disassociated from schedule DAILY_0100 in policy
domain LINUX0.

Define drive path for library
June 24, 2007
by momo66
.Had to define new drive path for the new library. Long command without the gui.

06/18/07 15:26:23 ANR2017I Administrator MMCCRARY issued command: DEFINE
PATH tsm drive21 srctype=server desttype=drive
library=lib2 device=/dev/rmt1 (SESSION: 146)
06/18/07 15:26:58 ANR2017I Administrator MMCCRARY issued command: DEFINE
PATH tsm drive22 srctype=server desttype=drive
library=lib2 device=/dev/rmt2 (SESSION: 146)

TSM Allocate scratch tape to a storage pool
June 22, 2007
by momo66
.We have a new library IBM TS3310. 212 slots that will accomadate all our Tapepool volumes. It has 4 LTO3 drives. We currently use LTO2 tapes for our old tapecopy and tapepool volumes. I want to be able to run reclamation on tapecopy and make sure that a LTO2 tape is allocated when requested from the library.

To do this I defined the volume in the Tapecopy storage pool using this command

Define volume tapecopy 000471

I then checked in the pseudo scratch/private volume into the library as private

checkin libv lib2 000471 status=private

when starting reclamation on tapecopy, TSM then selects 000471 for the reclamation process. This ensures that Im not sending off one of my new LTO3 scratch tapes the next day with only a small utilization.

Reclamation, TSMVerify tsm client release version
June 4, 2007
by momo66
.Im upgrading to version 5.3 of tsm server. Im having to upgrade some of my client releases to stay compliant. I ran this sql statement to identify which clients needed upgrading.

select node_name,client_version,client_release from nodes where client_release

It gave me this output.

NODE_NAME CLIENT_VERSION CLIENT_RELEASE

BLACKHOLE 5 1
DDS-SECONDARY 5 1
E-GATE-LINUX 5 1
NTSRV0BDC 5 1
NTSRV0PDC 5 1
PORTALSHRS 5 1

Start dsmc schedule from command line
May 16, 2007
by momo66
.To run the schedule command in the background and to keep the client scheduler running, even if you log off your system, enter the following:
nohup dsmc schedule 2> /dev/null &
If a Tivoli Storage Manager password is required for your workstation and you want to run the schedule command in the background, enter the password with the command.

Root User: To start the client scheduler automatically, ensure that the passwordaccess option is set to generate in dsm.sys, then follow the procedure below for your operating system:

For non-z/OS UNIX, add the following entry to the /etc/inittab file:
itsm::once:/usr/bin/dsmc sched > /dev/null 2 >&1 # TSM scheduler

 Backups, ClientsFind Bad Tapes
April 26, 2007
by momo66
.Look for tapes which have errors
select volume_name, read_errors,write_errors from volumes where read_errors>0 and stgpool_name=’TAPEPOOL’ or write_errors>0 and stgpool_name=’TAPEPOOL’
This will give a list of tapes that have reported read and write errors. If you have a lot of these, consider upping the thresholds so you can concentrate on tapes with a lot of errors first.

TSM How to find and fix bad tapes
April 16, 2007
by momo66
.List unavailable tapes
q volume access=readonly and q volume access=unavailable
This will give you list of tapes that have been put in this state, probably because the system has identified an error. However, a tape will be marked as unavailable if TSM tried to mount it and it is not in library.

Look for tapes which have errors
select volume_name, read_errors,write_errors from volumes where (read_errors > 0 or write_errors > 0)
This will give a list of tapes that have reported read and write errors. If you have a lot of these, consider upping the thresholds so you can concentrate on tapes with a lot of errors first.

To fix a problem, run the audit command
AUDIT VOLUME volser FIX=YES
If a part of a tape is faulty, the audit command will try to fix it. If cannot fix a problem file, and a copy exists on another tape, then you need to use the RESTORE VOLUME command. If there is no copy, then the AUDIT command just deletes the entry from the database.

If the tape is hopelessly trashed, and you do not have a copy, the only answer the ‘delete volume discard=yes’ command. However, its always worth trying a MOVE DATA command first to see if you can rescue something from the tape.

About these ads