TSM tips
Add Disk as device (Radom access Volumes)
mklv -y bkv01_02 bkv01 290
chown tsminst1:tsmadm rbkv01_02
define volume BACKUPPOOL /dev/rbkv01_04 access=readwrite
reg admin <user_name> <password> emailaddress=xxxxxx
grant authority xxxxx classes=operator
add FILE into VOLUME
define devclass FILE devtype=file
define stgpool ICS_BK FILE access=readwrite pooltype=primary maxscratch=100
define volume ICS_BK /backup/001/vol00F
https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.6/srv.install/c_dedup_cont_config_install-aix.html
crfs -v jfs2 -g TSM_XIV08 -a size=2000G -m /backup/BK020 -a logname=INLINE
Start/stop OC:
/opt/tivoli/tsm/ui/utils/stopserver.sh
/opt/tivoli/tsm/ui/utils/startserver.sh
Uninstall the package (AIX):
/opt/IBM/InstallationManager/eclipse/tools/imcl -c
/opt/IBM/uninstall.sh -c
rm -rf /opt/tivoli/tsm
rm -rf /opt/IBM/IBMIMShared
rm -rf /opt/IBM/InstallationManager/eclipse
Inventory tape libaray:
checkin libvolume ts3310 search=yes status=scratch
ANR2034E QUERY LIBVOLUME: No match found using this criteria.
ICSTSM> q actlog search=audit
Date/Time Message
2017-03-09, 19:20:21 ANR2017I Administrator XXXX issued command: AUDIT LIBRARY ts3310 checklabel=yes (SESSION: 444)
2017-03-09, 19:20:21 ANR0984I Process 2 for AUDIT LIBRARY started in the BACKGROUND at 19:20:21. (SESSION: 444, PROCESS: 2)
2017-03-09, 19:20:21 ANR8457I AUDIT LIBRARY: Operation for library TS3310 started as process 2. (SESSION: 444, PROCESS: 2)
2017-03-09, 19:20:22 ANR8461I AUDIT LIBRARY process for library TS3310 completed successfully. (SESSION: 444, PROCESS: 2)
2017-03-09, 19:20:22 ANR0985I Process 2 for AUDIT LIBRARY running in the BACKGROUND completed with completion state SUCCESS at 19:20:22. (SESSION: 444, PROCESS: 2)
2017-03-09, 19:22:04 ANR2017I Administrator XXXXX issued command: QUERY ACTLOG search=audit (SESSION: 444)
ICSTSM> q libvolume
ANR2034E QUERY LIBVOLUME: No match found using this criteria.
ICSTSM> q volume
ANR2034E QUERY VOLUME: No match found using this criteria.
ICSTSM> q devc
Device Class Name Device Access Strategy Storage Pool Count Device Type Format Est/Max Capacity (MB) Mount Limit
DISK Random 0
FILE Sequential 0 FILE DRIVE 10,240 20
ICSTSM> define drive ts3310 DRV1
ANR8404I Drive DRV1 defined in library TS3310.
ICSTSM> define drive ts3310 DRV2
ANR8404I Drive DRV2 defined in library TS3310.
ICSTSM> define path icstsm drv1 srctype=server desttype=drive library=ts3310 device=/dev/rmt1 online=yes
ANR1720I A path from ICSTSM to TS3310 DRV1 has been defined.
ICSTSM> define path icstsm drv2 srctype=server desttype=drive library=ts3310 device=/dev/rmt2 online=yes
ANR1720I A path from ICSTSM to TS3310 DRV2 has been defined.
ICSTSM> q path
Source Name Source Type Destination Name Destination Type On-Line
ICSTSM SERVER TS3310 LIBRARY Yes
ICSTSM SERVER DRV0 DRIVE Yes
ICSTSM SERVER DRV1 DRIVE Yes
ICSTSM SERVER DRV2 DRIVE Yes
#Define Tape device
define devclass ltotape devtype=lto library=ts3310 format=ultrium5c mountlimit=0 mountretention=60 estcapacity=3000G driveencryption=off lbprotect=readwrite
Label the tape first
ICSTSM> label libvolume ts3310 search=bulk labelsource=barcode checkin=scratch
Add new tape
ICSTSM> checkin libvolume ts3310 search=yes status=scratch checklabel=barcode
Comments