Professional Documents
Culture Documents
Venkatasrinivas
TSM Specialist
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
Venkatasrinivas
TSM Specialist
Venkatasrinivas
TSM Specialist
Venkatasrinivas
TSM Specialist
Venkatasrinivas
TSM Specialist
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
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
Venkatasrinivas
TSM Specialist
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
Venkatasrinivas
TSM Specialist
Minimum:9MB Recomonded:10GB
Venkatasrinivas
TSM Specialist
13
Venkatasrinivas
TSM Specialist
14
Venkatasrinivas
TSM Specialist
Venkatasrinivas
TSM Specialist
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
17
Venkatasrinivas
TSM Specialist
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
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
21
Venkatasrinivas
TSM Specialist
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
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
b) Otherwise it shows more than two errors. You can auditing the
volume.
3) And then move data from bad volume to onsite tape pool
4) Pick the tapes from Offsite and restore the volume to new tape.
.........
...........
24
Venkatasrinivas
TSM Specialist
25
Venkatasrinivas
TSM Specialist
26
Venkatasrinivas
TSM Specialist
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.
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
TCPNODELAY=YES
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
Venkatasrinivas
TSM Specialist
Venkatasrinivas
TSM Specialist
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.