You are on page 1of 30

TSM Commands List & FAQs

Registering new admin on TSM server:


Register admin admin_name password
Register admin Venkat venkat
Rename Admin on TSM Server:
Rename admin current_admin_name new_admin_name
Rename admin Venkat Boss
Remove Admin on TSM Server:
Remove admin admin_name
Remove admin Venkat
Update admin on TSM server:
Update admin admin_name
Update admin Venkat
Lock Admin on TSM Server:
Lock admin admin_name
Lock admin Venkat
Set password expiry for your admin:
Set passexp days
Set passexp 15
Granting authority to admin(privileges):
Grant authority admin_name Class=System Privileges
Grant authority Venkat class=System/operator/analyst/node/policy
Revoke authority for admin:
Revoke authority admin_name
Revoke authority Venkat
Registering Node on your TSM Server:
Register node node_name password domain=domain_name userid=none
Register node Venkat Venkat do=standard userid=none
N.B: If you give userid=none it avoids comes under users list.
Changing the server name :
Set servername new_server_name
Set servername Reddy

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Defining DBVolume:
define dbvolume volume_name format=Megabytes(size)
define dbvol C:\dbvol12.dsm f=4000
Copying DB one volume to another volume:
define DBCOPY volume_name copy_volume_name formatsize=megabytes
define dbcopy c:\dbvol12.dsm d:\db1.dsm f=4000
Delete DB volume:
Delete dbvolume volume_name discard=yes
Delete dbvolume d:\db1.dsm discard=yes
Extending DB size:
Extend db size
Extend db 2000
Reducing DB size:
Reduce db size
Reduce db 2000
Defining Logvolume:
define logvolume volume_name formatsize=megabytes
define logvol c:\log.dsm f=4000
q log
Defining storage pool volume:
Define volume diskpool volume_name format=megabytes
Define volume diskpool c:\dsk.dsm f=4000
Defining Device class in TSM server:
Define deviceclass device_class_name library=library_name devicetype
format=drive
Define devc filedev1 library=IBM devtype=file/disk/Lto f=drive
Define devc filedev2 library=IBM devtype=file/disk /Lto f=drive
Defining Storage pools on TSM Server:
define stgpool pool_name disk(name) pool_type=primary/copy reclaim=60
maxscratch=500
Define stg onsite_tape_pool filedev1 pool=primary reclaim=60 maxscratch=500
access=readwrite nextstg=offsite_tape_pool
Define stg offsite_tape_pool filedev2 pool=copy reclaim=60 maxscratch=500

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Defining next storage pool to the diskpool:


Update storagepool pool_name nextstg= Pool_name(primary) col=group
Update stgpool Diskpool nextstg=Onsite_tape_pool col=group
Q stgpool
Creation of Migration:
Update stg diskpool high=value low=value
Update stgpool diskpool high=80 low=10
Defining a domain:
Define domain domain_name
Define domain standard
Copy onsite to offsite pool:
backup stg onsite_tape_pool offsite_tape_pool
Checking volumes on onsite_tape_pool:
q vol * stg=onsite_tape_pool
Checking volumes on offsite_tape_pool:
q vol * stg=offsite_tape_pool
Defining library on TSM Server:
Define library library_name library_type=scsi/manual online=yes shared=yes
Define library IBM libtype=SCSI online=yes shared=yes autolabel=yes
Deleting library on TSM Server:
Delete library library_name
Delete library IBM
Defining path for library on TSM server:
Define path source_name destination_name srctype desttype library_name
device_name
Define path Server library srctype=server desttype=library Library=lb3.0.0.0
Device=mb3.0.0.0
Defining a drive:
Define drive library_name drive_name element=autodetect
Define drive IBM3570 drive1 element=autodetect
Defining path for drive:
Define path sourcename destname srctype desttype libraryname devicename
Define path server1 tapepool srctype=server desttype=drive library=lb3.0.0.0
device=mb3.0.0.0
3

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Labeling the new tapes:


Label library1 checkin=scratch search=bulk labelresource=barcode
Checkin library volumes:
Checkin libvol libraryname volumename search=no status=scratch
checklabel=barcode
Checkin libvol library aloo2 search=no status=scratch/private checklabel=barcode
Checkout library volumes:
Checkout libraryname(check a storage volume out of library)
Chekout libvol remove=bulk(removed from I/O slot)
Auditing a library:
Audit library library_name checklabel=barcode
Audit library IBM3570 checklabel=barcode
Setting reclamation for tapes:
update stg onsite_tape_pool reclaim=60(or)
reclaim stg onsite_tape_pool reclaim=60
Move node data from one node to storage pool:
move nodedata node_name stg=pool_name
Move nodedata Venkat stg=onsite_Tape_pool
Move node data from one server to another server:
Export node nodename(server1)(&collect tape from library)
Import node nodename(Server2)(& insert that tape into server2 library)
Collocation by group:
Define collocg group_name Description=
Define collocg TDPO description=It is for TDP oracle
Adding nodes into collocgroup:
Define collocmember group_name node names(node1, node2, ..nodeN)
Define Collocm TDPO Venkat1, Venkat2
Checking collocation on STG POOL:
Q stg onsite_tape_pool f=d (observe collocate? =group)
Check the collocation on nodes:
Query node nodename f=d
Q node Venkat f=d (it shows group collocation)
4

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Check the collocation group:


Q collocg
DB BACKUP:
To perform DB backup:
Backup db devclass = deviceclassname type = full/incremental/snapshot
scratch=yes/no
Backup db devclass = filedev1 type = full scratch = yes
Setting retention period for backup to the offsite tapes:
Set DRMDBBACKUP Expiredays days
Set drmdbbackupexpiredays 14
Move DRMedia from one state to another:
Move DRMedia volumename wherestate = Mountable/Not mountable
courier/volult retrieve Tostate= Mountable/Not mountable/courier/vault/retreive
Show time on TSMServer:
Sh time
Halting the Server:
Halt
Restoring the DB:
Go to command line C:\\program files\tivoli\tsm\server
Type the following command
Dsmserv restore db todate = any date to time = time Source = dbbackup/dbsnap
Preview = yes/no (normal mode)
Rollforward Mode:
dsmserv restore db devclass = devclass name = volume(path) commit = yes
You can get path from q volhist t=dbb
To check drm states:
Q drmst
5

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

CLIENT SCHEDULES:
Define client Schedule:
Define schedule domain_name schedule_name type=Client Action=incremental
startdate=today(any) starttime=now(any) schedulestyle=classic/enhance day=any
duration=2
Def sched standard daily_incre type=client action=incremental startd=today
startt=now schedstyle=classic day=any duration=2
Domain Node associated with schedule:
define association domain_name schedule_name node_name
define association standard daily_incre Venkat
Show the associated schedule with domain and nodes:
q assoc
q assoc standard daily_incre
Checking schedule information:
Q eve * * begindate= from date enddate=To date node=node_name
Q even * * begind= 15/04/2011 endd=today node=Venkat
Copying schedule from one node to new schedule:
copy schedule current_domain_name current_sched_name new_domain_name
new_sched-name
Copy schedule standard daily_incre policy(new domain) daily_incre1
Deleting the schedule on particular node:
Delete association domain_name schedule_name type=client/admin
Delete association standard daily_incre type=client
N.B:- Dont delete schedule directly. If you delete the schedule, you can loss entire
nodes information whose nodes are associated with that deleted schedule. So, dont
delete schedule.
Updating the schedule on client/administrator:
Update schedule domain_name schedule_name type=client/admin startdate=from
date starttime= from time
Update schedule standard daily_incre startdate=today starttime=now
7

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

ADMINISTRATIVE SCHEDULE
Defining admin schedule:
Define schedule schedule_name type=administrator cmd=command
startdate=current date starttime=current time duration= any
schedulestyle=classic/enhance day=any active=yes
Define schedule backupsched cmd="backup stg" type=admin active=no
startdate=today starttime=current time schedstyle=classic
LANFREE
Defining server lanfree on client:
Define server server_name highleveladdress=ipaddress lowleveladdress=tcp port
no server_password=password
Define server LANFreeserver hladdress=192.168.1.50 lladdress=1500 Venkat
Define path for server:
Define path sourcename destname srctype=server desttype=drive
library=library_name device=device_name
Define path LANFREESERVER drive srctype=server desttype=drive
library=lb3.0.0.0 device=nb3.0.0.0
Check LANFREE working or not:
Validate LANFREE
Restore particular location specific file in client side:
Restore path destination_path pick inactive sub=yes/no
Restore path c:\tsmimages e:\inactive pick -inactive sub=yes
How find the devices list on tsm server:
Windows(c:\program files\tivoli\tsm\server\tsmdlst type on command prompt)
UNIX( lscfg vpl rmt*)
Define cloptset and clientopt at server :
Ans:
define cloptset winclopt desc=it is for windows os
define clientopt winclopt inclexcl include/exclude path name
8

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

update node nodename cloptset=cloptset name

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

INTERVIEW QUESTIONS
If you run your BA client, all files shows red mark how can you resolve the
problem?
First check the copy destination pool using this command
Q copygroup standard standard standard standard f=d
In that time, issue these commands on TSM Server,
Update copygroup standard standard standard standard destination=diskpool
Assign defmgmtc standard standard standard
Validate policyset standard standard
Activate policyset standard standard
After that you can get server out of storage, you can create diskpool vol using
following command
Def vol disk pool volume name f=megabytes(size)
How can you configure the library?
Step 1: Insert SCSI card and rescan the drivers
Step 2: Configuring the drivers
In Unix, we have to issue CFGMGR command on run.
In windows OS can detect automatically attached drivers.
Step 3: Install the device drivers(TSM device drivers[library drivers])
Step 4: To get the device information
Windows: C:\Program files\tivoli\tsm\console\TSMDLST\tsmdlst.txt
Unix
: LSCFG VPL RMT*
Step 5: After that we define library and path for library and also define drives and path
for drives.
What is the use of userid=none while registering the node?
Ans: If you give,
Userid=none -> It avoids comes under the users list
Userid=username -> It comes under the users list.
How can you find out library tapes list in AIX?
Ans: lscfg cc tape*

10

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

How can you restore specific file in particular location?


Ans:- Restore path destination_path pick inactive sub=yes
Restore c:\tsm\images e:\inactive pick inactive sub=yes
How can you implementation/setup the TSM?
Ans:- These are the steps for implement the TSM
1. Configure the newly attached devices.
Unix: cfgmgr
2. Install the device drivers for the AIX or Windows
3. Install the TSM Server software.
4. Initialize the TSM server
Start-> Program files->TSM storage Manager-> Management console -> Right
click on local computer ->Add new TSM Server instance->next-finish->done
5. Login into the TSM Server
6. Define DB, Log and also Extend DB and LOG
7. Configure the library
a) To get the device information
Windows: TSMDLST
UNIX : lscfg vpl rmt* (we can get device name, drive name and etc)
b) Define library and path for library and also define drives, path for drives
8. Define the device classes.
9. Define the storage pool (real time we can define the Diskpool,onsite, offsite pool)
10. Define admin schedules
11. Define the client schedules
12. Create the policy domains
13. Register the nodes on policy domains
14. Install and configure the BA client software on client machine.
15. Add the node to Active Backup schedules(Automate the schedule for nodes)
(we can automate the schedules using association with the nodes)
What are the cases if migration failed on your system?
Ans:
1. There is no next storage pool
2. Lack of scratch tapes in library
3. Drives are busy with some other process
4. Library and drivers are offline
How can you speed up the Migration?
Ans:- Increase the no of migration process
Using this command, Update stg stgpoolname migprocess=number
11

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

What is the command for taking backup?


Ans:- Backup stg primary_stg_name copy_stg_name
How can you stop the reclamation process?
Ans:- We can speed up the reclamation process by using the following command
Update stg onsite_tape_pool reclaim=100
How can you check status of schedules on admin?
Ans: Q event * t=admin
How to check the status of the client schedules?
Ans: Q sched * t=admin
How to check the status of the client schedules?
Ans: Q event * * exception=yes
How to check the client schedules?
Ans: Q shed * * (* indicates domain name, schedule name)
What is the maximum size of DB and recomonded and minimum?
Ans: Maximum: 530 GB Minimum: 13 MB Recomonded: 120 GB
What is the maximum size of LOG and recomonded and minimum?
Ans:- Maximum: 13GB

Minimum:9MB Recomonded:10GB

What are the important files to restore the db?


Ans:- The following files are important to restore the db at server end
1) Dsmserv.out
2) Dsmserv.dsk
3) Devconfig.out
4) Volhist.out
Suppose If you have two server instances on your system, the database is failed on
your system. How can you restore the db?
Ans:- dsmserv k server1 restore db devc=device_classname volume=dbvolume
name(i.e., last tape name) commit=yes
12

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

What is the use of Device class?


Ans: The device class represents which media used in the library and storage pools.
What is Actlog contains?
Ans:- The Act log contains,
To display the entire information what you done in the current
session except query commands.
Drive is offline? How can you take backup?
Ans:- You can update drive and path for drive and also reboot the library
Update drive
Update path for drive
While taking the client backup, TCP/IP error can occur, how can you resolve the
problem?
Ans:- First of all check Network connections, and we can ping the client machine from
server end and also open the Telnet -> IP Address -> Check the port number.
Type Ping t IP ADDRESS on command line
Or
Otherwise,
WE can reboot the client machine.
How can you find out website IP address on cmd?
Ans:- NSLOOKUP google.com(Fully Qulified Domain Name)
//it shows IP address
Slow backup from client? How can you resolve the problem?
Ans:- These are the cases for getting slow backup
Case 1: Network:
Sol) NIC -> Auto negative instead of this give 100mbps full duplex

13

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Case 2: Bandwidth issue(LAN)


Sol) Instead of LAN use WAN/Wireless connectivity.
Case 3: Older version of BA client software
Sol) Upgrade BA client software on client machine.
Case 4: If you open the large files while taking the backup time
Sol) Close the all opened files(whose are large files) then run the backup.
Case 5: Millions of files taking backup(in incremental backup)
Sol) Instead of incremental backup take image backup to overcome this
problem.
While taking the backup you can get Insufficient memory error, how can you
resolve the problem?
Ans: RC1450 - Insufficient memory error
Sol: Open the dsm.opt file on client machine

Decrease the Resource utilization value(to 1)default is 2


Efficient memory backup= yes
What is meant by deduplication?
Ans: It doesnot allow duplicate data. It can allow reference of that copy.
Or
It eliminates duplication copies.
We need to install 3rd party deduplication tool(Data Domain) in TSM 5.X
What are the communication methods?
Ans: TCP/IP and Named PIPES
What is meant by BA Client?
Ans: It is a client software which is sending data to , and retriving data from TSM Server.

14

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

What is meant by SLOT in library?


Ans: Slot is a rest place of Tapes/catridges/volumes.
What is meant by storage pool?
Ans: It is a collection of media, which provides the backup for backup, archive and
migrated files.
What is meant by reclaimation?
Ans: Reclaimation is a process of moving data from fragment of tapes to another tapes
which shows filling state.
What is meant by Collocation?
Ans: Collocation is a process of sending node data or filespace to minimal no.of tapes.
Collocation is a three types. They are
1. Collocation by group
2. Collocation by node
3. Collocation by filespace.
What are the retention values for normal nodes?
Ans: Vere = 2
Verd= 1
Rete= 30
Reto= 60
What are the default retention values for TDPO nodes?
Ans: vere=1 verd=0 rete=0 reto=0
How do you install and configure the BA Client?
Ans: These are the steps for for installing and configure the BA client

Registering node on server machine(TSM Server)


Client side, install the Client software in client machine
Then configure the dsm.opt
Or
Open the BA Client-> utilities-> Help me configure the BA Client -> next->next>select all -> select the checkbox -> finish
Nodename: Venkat
Password : Venkat -> OK
15

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Library is not working properly, how can you trouble shoot the library?
Ans: Using RMV(or web browser) we can login into the library after that you can reboot
the library once.
Node backup is missing in past one week how to trouble shoot this problem?
Ans:- These are cases for missing backup on node

Case 1: Misconfiguration
Case 2: Scheduler startup missed
In this case you can configure the node properly and also reinstall the CAD service and
restart the scheduler service.
What is use of dsmserv.opt file?
Ans:- DSMSERV.Opt contains server configuration information on server.
What is the use of dsmserv.dsk file on server?
Ans: Dsmserv.dsk containing disk information like recovery log and db log.
What is the use of devconfig.out file on server?
Ans:- Devconfig.out containing whole devices information on server.
What is the use of volhist.out file on server?
Ans:- Volhist.out contains db volumes information. If you want restore the db, you can
get path from here itself only. So check the volhist.out and collect latest db volume and
restore the db.
What is dsm.opt containing on client machine?
Ans:- Server name:---------TCP/IP address:-----------Node name:-----------------------TCP port number:-----------------------Communication method:------------------------Password access generate:----------------------------How can you find out the latest database volume in TSM Server?
Ans:- Q volhist t=dbb (for incremental and full backup)
Q volhist t=dbs (for snapshot database)
16

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

How can you expire the database tapes?


Ans:- We can expire the data base tapes in two ways. They are
1) If DRM is not implemented in TSM Server, we use following command to expire
the database
Delete volhist today=today-7 t=dbb(or dbs)
2) If the DRM is implemented in TSM Server, we use following command to expire
the database volume
Set drmdbbackupexpiredays 14
What is meant by Backup copygroup and explain about its parameters?
Ans:- It generates and expire the client data based on client requirements. Based on
copygroup, we can generate the node data.
Verexists-This parameter specifies the number of file copies, or versions, to keep. This
number includes active and inactive file copies.
verdeleted-This parameter specifies the number of file copies to keep after the file has
been deleted.
retextra-This parameter specifies how long to keep inactive file copies. When a file
changes from active to inactive, it will be kept for retextra days and then
removed.
retonly-This parameter specifies how long to maintain the last file copy of the data.
This is the number of days to keep the last copy only and does not apply to
other inactive file copies.
The following are the parameters for copygroup:
Destination, VER Exist, VER Delete, RET Extra, Ret Only, RET Version,
serialization1111
VEREXISTS:- It defines how many versions TSM Server can retain(Active & Inactive)
Eg. Text1.txt (Inactive version)
Text2.txt(Active Version)
If you give vere=2, it can maintain two versions, one is active and
another one is inactive version on copygroup command.

17

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

VERDELETE: If you deleted the original version(i.e, File), it shows how many
remaining version TSM Server can retain.
EG: Text1.txt(original file) -deleted
Text2.txt(inactive)
Text3.txt (inactive)
Text4.txt(active) If u give verd=1, it can deleted original version.
N.B: Both VERE and VERD deals about versions only.
RETEXTRA: It specifies the how many days can retain the TSM Server only inactive
versions.
RETONLY: Original file deleted on the server, how many days Active version TSM
server can retain.
N.B: Both Rete and Reto deals about how many days can retain the data at TSM Server.

18

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

How can you delete node on your TSM Server?


Ans:- If you want to delete the node on TSM Server, you must follow the below criteria;
1) First of all you can delete the node data using following command
Delete filespace nodename*
Do you want to proceed=Yes
2) After that check the any backup sets registered to server, if registered deleted that
backupsets using following command
Delete backupset nodename*
Do you want to proceed=Yes
3) Finally remove the node from server using following command
Remove node nodename
How can you create a REPORT ID on TSM SERVER?
Ans:- Register admin Report Bhaksar contact=IBM TSM Reporting
How can you take manual backup from server side?
Ans: The following command use to take manual backup from server;
Define clientaction nodename domain_name action=incremental/full/snapshot
(if it takes backup failed on client machine you can take backup from server)
What is meant by dbbackuptrigger? How can you define the dbbackup trigger?
Ans: It is a command by which can protect from a situation that the db and recovery
log becomes full before the scheduled backup is run.
In this command we will set the threshold percentage in recovery log data reach
this percentage our db backup is started automatically.
You must define recovery log mode is Roll forward.
Defining dbbackup trigger:
Step 1: First of all you must set the recovery log mode is rollforward
set logmode rollforward
Step 2: Define the dbbackup trigger
define dbbackuptrigger logfullpct=75 devc=device class name numinc=value
incredevc=deviceclass name mininterval=time in minutes minlogfreepct=%
Venkatasrinivas
19
TSM Specialist

TSM Commands List & FAQs

How can you set management class explicitly for node file system?
Ans:- Open dsm.opt
Include e:\ mgmtc2
N.B:- If you have two management class under one policy set
C:
D: both for one default management class
E: for explicitly assign for mgmtc2
Where can you check db mode?
Ans:- Q stat
How can you check server options?
Ans: Q opt
How can you set buffer pool size?
Ans: >Setopt bufpoolsize KBs (value=1/8 of physical ram)
How can you open BA client from command prompt?
Ans:Step 1: Goto c:\program files\tivoli\tsm\BA client\dsmc (displays command line interface
to the client)
Step 2: Goto c:\program files\tivoli\tsm\BA client\dsm (displays GUI interface).
How take a backup from client in command line interface?
Ans:- Dsmc>incremental domain=G:H:
Suppose you have to except drive c and one of the file. You must follow the below
criteria.
Dsmc> incremental domain=All local c: -sytem object //it can except c: and
system object file from the backup.
When can you increase buffer pool size on tsm server?
Ans:- q db f=d
Check the cachehitratio=99% (it is ok)
If it is less than 98% , you have to increase the buffer pool size based physical RAM size.
20

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

setopt bufpoolsize number


or(way2)
Open dsmserv.opt and set buffer pool size based on RAM size. Once you done
manually this process, you need to restart the TSM Server.
N.B:- You have to increase 10-15% RAM size for bufferpoolsize.
How can you estimate the log size?
Ans: In Normal mode, 5-10% of db you can set log size.
In Rollforward mode, 10-15% of db you can set log size.
How can you estimate DB size?
Ans:- You can estimate like 1 KB per 1 copy of DB.
How to restore DB?
Ans:- Open the volhist.out or DRMplan file, you can get the latest volume information
and take that file and restore using following command
C:\program files\tivoli\tsm\console\dsmserv restore db devc=device_classname
volume=volume_name commit=yes
For restoring the db the following files are important at server
1. dsmserv.out
2. dsmserv.dsk
3. devconfig.out
4. volhist.out
How can you expired the db?
Ans:- >Delete volhist todate=today-7 type=dbb/dbs (for Onsite)
>Set drmdbbackupexpiredays days (for Offsite)
How can you define same option for multiple nodes?
Ans:- using clientoption you can define same option for multiple nodes

Def clientopt cloptsetname option name value


Def clientopt winclopt transactionbytelimit 1000

21

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

What is meant by journal backup at client side?How can you configure this?
Ans:- It can checked and takes modified files as a database backup.
Configuration of Journal backup: we need to configure separately on BA client.
You can choose the Utilities-> Help me configure Journal backup
Disadvantages:
In windows operating system only it can effect. So in UNIX/LINUX operating
system instead of this one we can take a image backup.
How can you see Active and inactive files on BA client GUI machine?
Ans:- Open BA client GUI
Goto view bar and select display active and inactive files.
What is meant by Point-in-time restoration?
Ans:- We can restore the particular files assign at particular time and date, that time
reaches it can take automatically backup. It resides at BA Client machine.
How can you restore the file at particular path?
Ans:- Dsmc> restore sourcepathname destinationpathname pick inactive
sub=yes(client command line)
Or
Dsmc>restore source destination fromdate fromtime todate totime inactive
sub=yes
What is meant by Selective backup?
Ans:- Selective backup means it is a full backup at client side.
How can you define spacetrigger for db/log/stg?What is the use?
Ans:- For the defining of spacetrigger, purpose is when it reaches some percentage
automatically it can expand some space for db/log/stg.
Def spacetrigger stg/db/log fullpct=80 spaceexpansion=20
Usage: Whenever it reaches 80% of log/db/stg automatically these spacetrigger can
expand the 20% space for log/db/stg.
22

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Which command will use to find out the system configuration and its information?
Ans: Query system(it displays whole system configuration)
Using this command we can get information regarding TSM configuration and
capacity and displays about the following information.
Query association
Query copygroup
Query db
Query dbvolume
Query devclass
Query domain
Query log
Query logvolume
Query management class
Query process
Query options
Query schedule
Query status
Query session
Query stgpool
Query volume
How can you find process is running or not in AIX/UNIX systems?
Ans:- Using the following command we can find out the processes in unix/linux systems.
Command: $ ps elf|grep dsmsta for storage agent running or not
If U want to stop the process, to use following command
Command: $ Kill 9 process number
How can you check bad tapes in library have more tapes? And how can you resolve
the problem?
Ans:- Using following command you can find the bad tapes from the library.
Select volume_name, access, read_errors, write_errors from volumes where
access!=readwrite and access!=offsite

23

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Solution for this Problem:1) It can display Bad Tapes List


Assume that you can get one tape has damaged, named as AL001
2) Audit volume AL001 fix=No
a) If it shows less than two errors. You can update the volume

Update volume VL001 access=readwrite

b) Otherwise it shows more than two errors. You can auditing the
volume.

Audit vol AL001 Fix=Yes

3) And then move data from bad volume to onsite tape pool

Move data AL001 stg=Onsite_tape_pool

4) Pick the tapes from Offsite and restore the volume to new tape.

Restore vol AL002 preview=yes

Restore vol AL003 preview=yes

.........

...........

Restore vol AL005 preview=yes

5) And checkin into the library

Checkin libvol library1 search=bulk status=private


checklabel=yes

Update vol AL005 access=readonly


Restore Vol AL001 copystg=offsite_Tape_pool

What are the states of volumes in BAD TAPES?


Ans:- These are the states of Bad tape volumes
1) ReadWrite
2) ReadOnly
3) Offsite
4) Unavailable
5) Destroyed

24

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

How can you take DB Backup for TDPO?


Ans:- Using RMAN Script only we can take the Dbbackup . We can give at scheduling
time cmd=Script Path for the TDPO nodes.
While taking the TDPO Online backup TSM Administrators will contact the DB
Adminstrators.
How many types we can take the backup?
Ans:- Two ways we can take the backup. They are
1) Hard Backup:- While taking the backup time you need to shut down the
database system.
2) Cold Backup:- While taking the backup time, no need to shutdown or halt the db
services.
How can you start scheduler service on RedHat Linux systems? How can you
resolve the problem?
Ans:- In RedHat Linux systems you must follow the below process while starting the
scheduler service.
1. Entry for Managed services option doesnot exist in our dsm.opt. So, no need to
change it as the article says
2. Added the following to /etc/inittab
TSM SCHED::once:/usr/bin/dsmc sched>/dev/null 2>&1
#tsm scheduler(No space between ::
and once:)
3) Set the password access option in dsm.sys to generate
4) Ran dsmc query sess to store the node password.
DSMC doesnot run at startup unless I manually run the following nohup dsmc
sched 2>/dev/null&
5) Saw an error in /var/log/messages that the id field too long (max 4 characters)
So revised /etc/inittab to this:
TSM::once:/usr/bin/dsmc sched/>/dev/null 2>&1
6) After that automatically starting the scheduler service.

25

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

What information DRM PLAN FILE containing?


Ans:- The DRM PLAN FILE containing the following information.
1) Log size.
2) DB Size.
3) DB FULL
4) Offsite information.
As a Tsm Administrator what is ur role?
Ans:- As a TSM administrator my job is to take backup of database and managing media
management (Like check the volumes utilization, labeling, Check-in Check-out Etc),
managing clients authorization and access, registering client nodes, automating server
tasks like migration, reclamation and inventory expiration using admin schedules,
monitoring activity log and events, client sessions, monitoring database, recovery log &
storage pool utilization, maintenance vol history data, monitoring of client filespace`s etc.
Suppose restore volume fail how to check the problem?
Ans: - Restore the volume from the copy storage pool.
Syntax: - RESTORE VOL VOLNAME COPYSTG=NAME
If it is not possible then AUDIT VOLUME VOLNAME FIX=YES.
UPDATE VOL VOLNAME ACCESS=UNAVAILABLE
Explain about LAN Free Backup?
Ans:- Recently I have not Got any exposure of SAN (LAN-FREE) But I know the
concept of SAN.
Actually in this concept Backup avoid the LAN Network and goes through the
SAN Switch, Fiber Channel etc. Actually it is LAN-FREE Backup.
In this environment Client sends a request for Backup to the TSM Server then
Server active the Library. Then client fire the backup over SAN not through LAN.
At first we installed the TSM Server in SAN Environment with Library then
Configure the Library in shared mode.
# DEF LIBRARY LIBNAME SHARED=YES

26

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Install the storage agent software in client machine & configure. When you storage
agent softwareinstalled at client machine one service is automatically installed (DSMSTA
SERVICE) and starts.
Two files also installed by default DSMSTA.OPT & DEVCONFIG.OUT.

In DSM.OPT file contain client options there we will manually enter the
ENABLE LANFREE=YES.

In DEVCNFG.OUT file library informations contained.

Then Register the storage agent on TSM Server by this command,


Cmd > def server <storage_agent_name> serverpassword= < passwprd> highlevel
address=
then invoke the storage agent through DSMSTA Command.
Cmd

dsmsta

setstorageserver

myname=<storage_agent_name>

mypassword=<storage_agent_password>
servername=<servername>

myhla=<storage_agent_hla>
serverpassword=<server_password>

hla=<tcpipaddress> lla=<tcpipport>
We can check backup performance perfectly or not by this command: # SHOW LANFREE NODENAME STORAGE AGENT NAME.
What is the difference between Normal & Roll-Forward mode?
Ans: - In the normal Recovery log mode when the transaction is committed to DB the
recovery log erase all information about DB but in Roll forward mode when the DB
Backup is completed the recovery log erase his information about DB.
What is your daily activities?
Ans: - At first we check the client & admin Schedule, if we got any problem like
schedule missed or failed then we check the DSMSHED.LOG & DSMERROR.LOG And
for see details check the activity log. Then check the volume utilization of DB & Log.
After that check the status of library like which volumes are full if we got some volumes
are full then checkout the volume and check in some scratch volume. Then we check the
client request and fulfill.
How can you increase the performance of storage pool?
Ans: - Through Migration process we can increase the performance of storage pool.
27

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Do you know about Restartable restore?


Ans: - When a restoration process is terminated before completing, due to network
failure or any other reason the session state remains in the TSM database so that it can be
restarted from the last completed transaction.
What are performance-tuning options in TSM?
Ans: - Various options are there:

TCPBUFFSIZE=31 (Client side)

TCPWINDOWSIZE=24 (Client Side & in server side 63)

TCPNODELAY=YES

TXNGROUPMAX=256 (Client Side & in server)

TXNBYTELIMIT=32768 (Client side)

Do you work on Aix? How to install TSM in AIX?


Ans: 1) For Tivoli storage Manager 5.3 installation on AIX: # BOOTINFO Y (To See the AIX Server is 32bit or 64 bit) Before Installation execute
this command to know the package is 32 bit or 64 Bit if got 32 bit then select the 32 bit
file sets and if we got 64 Bit then selects the 64 bit file sets.
# SMIT INSTALL_UPDATE
Then you got the installation window.

At first type the path of Media. (Let your media is Compact Disk) /dev/cd0

Press Enter.

Then you got the new window for selection of Software Here select the

Filestes.
Select Server Packages: ->TIVOLI.TSM.SERVER.COM (32 BIT & 64 BIT)
TIVOLI.TSM.SERVER.RTE (32 BIT)
TIVOLI.TSM.SERVER.AIX.RTE
Select language package: -> TIVOLI.TSM.MSG.EN_US.SERVER
Select Driver Packages: -> TIVOLI.TSM.MSG.EN_US.DRIVER
TIVOLI.TSM.DEVICES.AIX5.RTE

Then Accept all license and Press Enter.


28

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

Now Installation Start.


2) AFTER INSTALLATION: - No Server Initialization Required.
In windows after installation you got the Five no. of Storage Pool and one no. of Volume
of DISKPOOL, DB Volume, Recovery Log Volume are automatically installed but in
AIX after Installation You had not get the DB Volume & Recovery Log Volume, Then
you have Manually Create these volume.
To Create the DB Volume
# DSMFMT M DB <VOL NAME WITH PATH> SIZE.
To Create the LOG Volume
# DSMFMT M LOG <VOL NAME WITH PATH> SIZE.
Now your DB & LOG Volume is created. After that Extend the Size: # DSMSERV FORMAT 1 <DB VOL NAME with PATH> 1 <LOG VOL NAME with
PATH>. (To Extend the Size of Volumes)
After completing this command one line add automatically in DSMSERV.DSK, which
are the path of DB & Recovery Log Vol.
Then rename the DSM.OPT.SMP & DSMSERV.OPT.SMP in DSM.OPT &
DSMSERV.OPT and Configure. (Node Name, Tcpserveraddress Tcpport Etc.)
3)To Configure the WEB-ADMIN : At first go to USR/Tivoli\Tsm/Server/WebImages
Then executes this Command: # DSMSERV RUNFILE DSMSERV.IDL.
But if you want to execute this command from ROOT then use this command with full
path of DSMSERV.IDL.
4) To start the TSM Server Services: - # NOHUP DSMSERV&. (To Start the Services
in Background)
After that start the administration..
CONFIGURATION FILES: - (SERVER)
DEVCNFG.OUT: - contains information about devices but it is mainly used for
Library. /usr/Tivoli/tsm/server/bin
DSMSERV.DSK: - It contains information and path of DB & Recovery Log Volume.
/usr/Tivoli/tsm/server/bin
DSMSERV.OPT: - It is Server configuration option files. /usr/Tivoli/tsm/server/bin
29

Venkatasrinivas
TSM Specialist

TSM Commands List & FAQs

VOLHIST.OUT:

It

contains

the

history

of

Sequential

Volumes.

/usr/Tivoli/tsm/server/bin
INSTALL.TRACE: - If you got this file then your installation is successfully
completed. /usr/Tivoli/tsm/server/bin
CONFIGURATION FILES: - (CLIENT)
DSM.OPT:

In

AIX

it

contains

only

the

TSM

Server

address.

/USR/TIVOLI/TSM/CLIENT/BA/BIN
DSM.SYS:

It

is

main

configuration

option

file

of

/USR/TIVOLI/TSM/CLIENT/BA/BIN
IN /USR/TIVOLI/TSM/SERVER/BIN
/USR/TIVOLI/TSM/CLIENT/BA/BIN
INSTALL.TRACE

DSMC

DSMFMT

DSMADMC

DSMSERV

DSM.OPT

DSMSERV.OPT

DSM.SYS

DSMSERV.DSK

DSMJ

LICENSE FILES
# BOOTINFO R (to See the physical Memory)
# BOOTINFO S HDISK NAME (To See the HDD capacity)
#LSLPP l *TSM* (To see the Tivoli package installed or not)
# LSCFG V (To Check the Device List like TSMDLST in Windows
What is the capacity of LTO tapes?
Ans:Tape Name

Capacity

Capacity (if

LTO 1

100GB

compressed )
200GB

LTO2

200GB

400GB

LTO3

400GB

800GB

LTO4

800GB

1600GB

LTO5

1600GB

3200GB

30

Venkatasrinivas
TSM Specialist

Client.

You might also like