Академический Документы
Профессиональный Документы
Культура Документы
THE FIRST NAME OF THE TSM IS ADSM AND AFTER THAT IT WAS ACQUIRED BY IBM, THEN ADSM NAME
HAS BEEN CHANGED TO TSM (TIVOLI STORAGE MANAGER)
TSM IS A ENTREPRISE BACKUP TECHNOLOGY AND BY UISNG TSM WE CAN SECURE THE CUSTOMER DATA
FROM DISASTER.
BY UISNG TSM WE CAN TAKE BACKUP AND ARCHIVE OF THE CUSTOMER DATA
BACKUP: TAKING ADDITIONAL COPY OF THE DATA WHICH IS CHANGING REGULARLY THAT CAN BE USED
FOR SHORT TERM STORAGE
ARCHIVE;
TAKING ADDITIONAL COPY OF THE DATA WHICH IS NOT CHANGING REGULARLY THAT CAN BE USED FOR
LONG TERM STORAGE
IN ARCHIVE WE DO NOT HAVE VERSIONING CONCEPT, WHENEVER WE ARCHIVE THE CUSTOMER DATA
IT ALWAYS TAKES FULL BACKUP ONLY AND ARCHIVE ALWAYS MAITAINS ONLY ONE VERSION.
FEATURES OF TSM:
IN PROGRESSIVE INCREMENTAL BACKUP METHODOLOGY TSM INITIALLY(FIRST TIME)IT TAKES THE FULL
BACKUP OF THE SYSTEM AND SECOND INCREMENTAL BACKUP ONWARDS IT TAKES THE BACKUP OF
ONLY MODIFIED FILES AND NEW FILES IN THE SYSTEM
2: TAPE RESOURCE SHARING:
BY UISNG TAPE RESOURCE SHARING CONCEPT, SINGLE NODE DATA OR MULTIPLE NODES DATA CAN BE
STORED AMONG SINGLE TAPE OR MULTIPLE TAPES
BY UISNG LANFREE BACKUP, IF THE CLIENT DAILY BACKUP DATA SIZE IS MORE THAN 150 GB,IBM
RECOMMENDED TO CONFIGURE LAN FREE BACKUP. IN LAN FREEBACKUP DATA WILL BE TRANSFERED
DIRECTLY TO THE TAPE WITH OUT LAN
IN LAN FREE BACKUP DATA TRANSFER HAPPENS THROUGH FIBRE CHANNEL AND BY USING FIBER
CHANNEL DATA TRANSFERMATION WILL BE VERY FASTER
COMPARE TO SCSI CABLES FIBRE CHANNELS ARE VERY COSTLIER AND DATA TRANFERMATION WILL BE
FASTER THAN SCSI CABLES
IN INCREMENTAL BACKUP CONCEPT, INITIALLY(FIRST TIME BACKUP) IT TAKES FULL BACKUP OF THE
SYSTEM AND SECOND INCREMENTAL BACKUP ONWRADS IT TAKES THE BACKUP OF ONLY MODIFIED
FILES AND NEW FILES IN SYSTEM
I OR INCREMENTAL
SELECTIVE BACKUP:
BY USING SELECTIVE BACKUP, WE CAN TAKE BACKUP OF PARTICULAR FILE OR FOLDER FROM THE
SYSTEM
EX:
IMAGE BACKUP:
BY USING IMAGE BACKUP WE CAN TAKE THE BACKUP OF TOTAL DRIVE AS A SINGLE OBJECT
IN IMAGE BACKUP CONCEPT WE CAN NOT TAKE BACKUP OF PARTICULAR FILE OR FOLDER IN DRIVE
EVEN WE WANT TO RESTORE THE DATA FROM IMAGE BACKUP, WE CAN RECOVER TOTAL DRIVE ONLY,
WE CAN NOT RECOVER PARTICULAR FILE OR FOLDER FROM IMAGE BACKUP
THE REASON FOR TAKING IMAGE BACKUP IS, IF TOTAL DRIVE GOT CORRUPTED,, IN THAT CASE WE CAN
RECOVER TOTAL DRIVE DATA FROM IMAGE BACKUP
BACKUP IMAGE D: E: F:
JOURNALBASED BACKUP:
IN JOURNAL BASED BACKUP CONCEPT WE NEED TO INSTALL JOURNAL ENGINE SERVICE WHILE
INSTALLING THE TSM CLIENT SOFTWARE AND WE NEED TO CREATE JOURNAL DATABASE, THE
JOURANAL DATABASE WILL USE SOME SPACE IN LOCAL DRIVE OF THE CLIENT SYSTEM
WHAT JOURNAL ENGINE WILL DO IS, IT WILL TRACK WHAT EVER THE CHANGES HAPPENING IN THE
CLIENT MACHINE AND THOSE CHNAGES WILL BE CAPTURED BY JOURNAL ENGINE AND STORES IN THE
JOURNAL DATABASE.
WHEN THE SCHEDULE INCREMENTAL BACKUP STARTS INSTEAD OF SCANNING THE WHOLE MACHINE TO
TRACK THE CHANGES, TSM DIRECTLY CONTACTS THE JOURNAL DATABASE AND TAKES THE BACKUP OF
THE FILES FROM JOURNAL DATABASE
THE ADVANTAGE OF JOURNALBASED BACKUP IS, BACKUP PERFORMANCE WILL BE VERY FASTER AND
THERE IS NO NETWORK TRAFFIC
COMPONENTS OF TSM:
1) TSM DATABASE
2) RECOVERY LOG
3) STORAGE POOLS
4) POLICY MANAGEMENT
5) SCHEDULING
6) BA CLIENT
7) ADMINISTRATIVE INTERFACE
1) TSM DATABASE:
IT IS MAIN PART OF THE TSM SERVER, IT MAINTAINS META DATA IFORMATION, NODE INFORMATION,
SCHEDULE INFORMATION, POLICY INFORMATION AND LOCATION OF THE DATA(WHICH TAPE THE DATA
IS STORED)
TSM DATABASE IN BUILT WITH SQL AND THE MAXIMUM SIZE OF THE TSM DATBASE in TM 5.5 is 530GB
METADATA: IT IS STRUCTURE OF THE DATA (LOCATION OR DDRESS), META DATA SIZE ALWAYS IN BYTES
OR KILO BYTESS.
TSM Database uses Local drive of the system in which machine the TSM server is installed and we need
to create database volumes in TSM server
The Information which stores in TSM server database, that information stores in the TSM database
volumes.
2) RECOVERY LOG:
WHAT EVER TRANSACTIONS (BACKUPS) HAPPEN TO THE TSM SERVER DATBASE, RECOVERY LOG
MAITAINS RECORDS OF THOSE TRANSCTIONS
Recover log uses Local drive of the system in which machine the TSM server is installed and we need to
create Log volumes in TSM server
The Information which stores in TSM server Recover log, that information stores in the TSM recover log
volumes.
a) NORML MODE
NORMAL MODE: THE DEFAULT MODE OF THE RECOVERY LOG IS NORML MODE, WHEN THE RECOVERY
LOG IS IN NORMAL MODE, WHAT EVER TRANSACTIONS HAPPEN TO THE TSM SERVER DATABASE,
RECOVERY LOG MAINTAINS RECORDS OF THOSE TRANSACTIONS, ONCE THE TRANSACTION IS
COMPLETED, THOSE RECORDS WILL BE ERASED FROM THE RECOVERY LOG
THE DISADVANTAGE OF NORMAL MODE IS WE CAN NOT RECOVER THE TSM SERVER DATABSE TO THE
MOST CURRENT STATE.
ROLL FORWARD MODE: WHEN THE RECOVERY LOG IS IN ROLLFORWARD MODE, WHAT EVER
TRNSACTIONS HAPPEN TO THE TSM SERVER DATABASE, RECOVER LOG MAINTAINS RECORDS OF THOSE
TRANSACTIONS, EVEN THE TRANSACTIONS ARE COMPPLETED, THOSE RECORDS STILL EXISTS IN THE
RECOVERY LOG
WHENEVER WE TAKE THE TSM DATABSE BACKUP, THEN ONLY THOSE RECORDS WILL BE ERASED FROM
THE RECOVERY LOG.
THE ADVANTAGE OF ROLLFORWARD MODE IS, WE CAN RECOVER THE TSM SERVER DTABASE TO THE
MOST CURRENT STATE(up to date)
NOTE: WHEN BACKUP STRTS FOR MACHINE, BY DEFAULT TWO SESSIONS ESTBLISH BETWEEN TSM
CLIENT AND TSM SERVER
ONE SESSIONS IS FOR MET DATA AND ANOTHER SESSIONS IS FOR ACTUAL DATA
WHEN THE DATA TRANSFER STARTS FROM TSM CLIENT TO TSM SERVER, THAT DATA TRANSFER CAN BE
CALLED AS TRANSACTION.
3) STORAGE POOLS:
Storage pools are the place or location where the client actual data stores or storage pools are the
collection of volumes
1)Primary disk storage pool: primary disk storage pool also can be called as random access storage pool,
when the client back starts initially actual data goes to disk storage pool and once he disk storage pool
is full, then the data will be migrated from disk stgpool to tape storage pool
Moving the data from disk storage pool to tape storage pool is called migration
2) Primary tape storage pool: Primary tape storage pool also can be called as sequential access storage
pool. Primary storage pool uses tapes in the tape library and primary storage pool tapes always should
be within the tape library, when the data migrates from disk storage pool to tape storage pools, finally
data stores in the tapes
By using copy storage pools, we can take the backup of the data from primary tape to copy tapes, copy
tapes also uses the tapes with the tape library, Once the primary tape data is backed up to copy tapes,
we need to eject the copy tapes from the tape library and we need send the copy tapes to offsite
location
The reason for taking backup of primary tape data to copy tape is, if any of the primary tape is damaged,
in that case we can recover the primary tape data from copy tapes by using restore volume process.
active data pools contains only active versions of the client data, the advantage of active data pools are,
recovery performance will be very faster, if any latest backup data needs be recovered.
Policy management concept describes, how tsm treats the client data i.e how many no of versions, how
many no of days and where to store the client data (name of stg pool)
1) Policy Domain
2) Policy Set
3) Management Class
4) Copy Group
a) Backup
b) Archive
POLICY DOMAIN:
Policy domain is set or group of nodes is called as policy domain. Policy domain contains policy set and
in each policy domain we can have multiple policy sets but at a time only policy set can be activated.
Ex:
Policy set contains Management class AND in one policy set we can have multiple Management classes.
Ex:
Management Class:
Management class contains Copygroup and in copy group we have two types, those are backup copy
group and archive copy group
Backup copy group: The client data which is backedup, that data uses the backup copy group
Archive copy group: The Client data which is archived, that data uses the archive copy group
EX:
EX:
The reason for assigning the management class to default one is, the nodes which are assigned to the
policy domain, those nodes by default use the default managemnet class.
COPY GROUP:
COPY GROUP CONTAINS RETENTION PARAMETERS WHICH CONTROLS THE CUSTOMER DATA
Def copyg testdom testpol testmgmt t=b destination=storagepoolname verexist=3 verdel=1 retextra=30
retonly=60 serialization=static/shared static/dynamic/shared dynamic mode=modified
This parameter specifies, how many number of versions the TSM server can maintain for file
If we mention verexist=3 then three versions of the file can be maintained in TSM server
This parameter specifies, how many number of versions of a file the TSM server can maintain for a
file, once the file is deleted from the client system
If we mention verdel=2 then two versions of the file mainatain by TSM server, once the file is deleted
form the client system
This parameter specifies, how many number of days, the tsm server can maintain the inactive files.
If we mention Retextra=30, then inactive files can be maintained for 30 days and after 30 days inactive
files will be deleted from the TSM server
This parameter how many number of days, the TSM server can maintain the last copy of the file, Once
the file is deleted from the client system.
If we mention retonly=60, then last copy of the file will be maintained for 60 days and after 60 days, last
copy also be deleted from the TSM serve
6) SERIALIZATION:
This parameter specifies, how TSM treats the open files, open files are nothing but, if the file is being
used by any other user or application, when the backup is running, then TSM treats those files as open
files
There are four options in serialization: and those are Static/shared static/dynamic/ shared dynamic
a) Static:
If the serialization is in static mode, then TSM tries to take the backup of the open file for one time and
TMS will not take the backup of the file (which means the file will be skipped from the backup)
b) Shared static:
If the serialization is in shared static mode, then TSM tries to take the backup of the file for four times
and even fourth time also the file is being in use, then TSM will not take the backup of the files.
c) DYNAMIC:
If the Serialization is in dynamic mode, then TSM tries to take the backup pf the file for one time and it
take the backup of the file, regardless whether the file is being in use or not
d) SHARED DYNAMIC:
if the serialization is in shared dynamic mode, then TSM tries to take the backup of the file for four
times, even fourth time also, the file is being in use, then TSM takes the backup of the file, regardless,
the file is being in use or not.
e)Mode=(modified/absolute):
Modified: if we use modified option, then TSM takes the backup only modified and changed file when
incremental backup is running
Absolute: If we use absolute option, then TSM takes backup of all the files regardless whether the files
are being modified or not, when the incremental backup is running.
Ex;
def copyg testdom testpol testmgmt t=archive destonation=storage pool name retversion=365
This parameter specifies how many number of days, the TSM server can maintain the archive data
Once we defined copy groups, then we need to validate and activate the policyset by using the following
commands
Validating the policy set is nothing but TSM Server verifies the policy Mgmt hierarchy is defined in
correct order or not.
Sometimes validating policy set fails, if we forgot assigning the management class default one or if we
give the destination parameter as copy storage pool
once the validation of policy set is done, we need to activate the policy set.
Sometimes customer wants different retentions, but he wants to implement this with in the same policy
domain and same policyset but with different management classes, in this case we need to create
multiple managemnet classes in the same policy domain and same policyset
For example we have two managemnet classes testmgmt and testmgmt1 created in same policy
domain TESTDOM and same policyset TESTPOL
Few clients need to use testmgmt and few clients need to use testmgmt1
In this scenario, we need to make one managemnet class testmgmt to default one and the nodes which
are assigned to policy domain testdom, those nodes by default uses the default managemnet class
The other nodes which needs to be used the another managemnet class testmgmt1, for those nodes we
need to add the management class definition in client configuration file dsm.opt which is available in
client machine BA client directory dsm.opt with the foolwing syntax;
The other node starts using the second management class TESTMGMT1
5) Scheduling:
It is automated process of taking backup of the client system and to run the TSM admin jobs (TSM
Maintenance jobs or TSM Housekeeping jobs).
a) Client Schedule
b) Admin schedule
a) CLIENT SCHEDULE:
By using client schedules we can take the backup of the client systems.
Ex:
Def sched testdom testsched t=client action=I startd=today startt=now action=I duration=1
durationunits=hours period=1 perunits=days
A) START DATE:
This parameter specifies from which date the schedule has to begin.
B) START TIME:
This parameter specifies at what time of the day the schedule has to be run or executed.
For example if you give duration=1 and duration units=hours and the schedule start time is 7 PM, then
the schedule may starts at any time between 7PM to 8 PM
This Parameter specifies how frequent the schedule has to be run. Period is mentioned in Number.
If we give period=1 perunits=days then the schedule run for every one day.
g)SCHEDULE STYLE:
1) Classic
2) Enhanced
Default schedule style of TSM server is Classic. In real- time also we will configure schedule under Classic
style only.
In classic schedule we have the following options to run the schedules
SCHEDULE MODES:
a) Client polling
b) Server prompted
a) CLIENT POLLING:
In this mode client machine contacts with the TSM Server and asks the TSM Server whether there is any
schedule to be run for this client machine at this moment, then TSM Server notifies to the client, that
there is no schedule at that point of time, then the client goes to sleep mode and again after some time
client contacts the TSM Server.
So Client continuously contacts the TSM Server until it gets the Schedule details from the TSM server.
For configuring client polling mode we have to modify the client configuration file i.e., dsm.opt file like
this, Enter the below command in dsm.opt file to configure client pooling mode:
Schedmode polling
The disadvantage of the client polling mode is there will be network utilization in the environment
because clients continuously contacts the TSM server.
b) SERVER PROMPTED:
In this mode TSM Server itself contacts the node or client machine regarding the schedule and notifies
to the client that there is a schedule to be run for this client machine.
Then client receives the schedule details for the TSM server and starts the backup of the client system
Once the backup is completed, then client sends a notification to the TSM server stating that the
schedule backup got completed successfully
To configure schedule mode as server prompted then we have to mention the below command in client
configuration file i.e., dsm.opt file.
Schedmode prompted
The Advantage of server prompted mode is , there wont be any network utilization in the environment
and we can also run the backups from TSM server itself.
B) ADMIN SCHEDULE:
This admin schedules run on TSM Server. To maintain the TSM Server clean. This jobs or schedules are
also known as TSM admin/ Maintenance/housekeeping jobs.
By using storage pool backup, we can take the backup of primary tape data to copy tapes
After taking backup of primary tape data to copy tapes, then we need eject the copy tapes from Tape
library and we need to send those offsite location.
The Advantage of taking backup of primary tape data to copy is tape is, if any of the primary tape is
damaged, we can recover the primary tape data from copy tapes
Maxprocess parameter specifies how many number of parallel process run at a time
b)TSM DB BACKUP:
By using TSM DB backup, we can take the backup of TSM server database.
Whenever we take the TSM DB backup we always use scratch or new tapes for TSM DB backup.
Once TSM Database backup is completed, then we need to eject the copy tapes and TSM db backup
tapes from the tape library and we need to send those tapes to offsite location.
It is a process of deleting the expired data from the TSM Server database based on the retention
parameters
Duration parameter specifies how many number of minutes the expiration process should run, if we give
duration=60, then expiration process runs for 60 minutes and after 60 minutes, expiration process will
be automatically cancelled by TSM server
d)MIGRATION:
Initially when the client backup starts the actual data is transferred to primary disk storage pool and
once the disk storage pool is full then the data from disk storage pool will be migrated to primary tape
storage pool..
Here parameter LOW specifies how much percentage of the data should be moved to primary tape
storage pool.
If we give LOW=0, then data completely moved to tape storage pool and then disk storage pool
becomes empty
Moving the data from disk storage pool to tape storage pool is called migration.
e)RECLAMATION:
It is process of moving the unexpired data from fragmented tapes to another filling tapes, after moving
the data from fragmented tapes to another filling tape, then the fragmented tape becomes empty and
those tapes can be reused as scratch
1) ONSITE RECLAMATION:
It is process of moving the unexpired data from fragmented tapes to another filling tapes. After moving
the unexpired data from fragmented tapes, then fragmented tapes become empty and those tapes can
be reused as scratch tapes with in the tape library.
If we perform the reclamation for onsite tapes that process can be called as on-site reclamation.
Note: Fragmented tapes are nothing but, the tapes which are less percentage utilized and their status
shown as full
After data expiration Meta data entries will be deleted from the TSM DB database, But the actual data
still remains in the tapes, but in the TSM server database the tapes percentage utilization shows as less
but their status shows in FULL
When we run the reclamation for those volumes, then UN expired data will be moved to another filling
tape and then the tape becomes scratch tape.
Here reclamation threshold (Th), we have given as 90, then reclamation runs for the volumes which are
0-10% utilized with in the storage pool TAPESTG and those volumes data will be moved to another filling
tape, after moving the data, the tapes become scratch tapes and those tapes can be reused as scratch.
Note: Reclamation can be performed on sequential access volumes (Tapes) only, we cannot perform the
reclamation on disk volumes
Reclamation can be performed on storage pool level, when we run the reclamation data moves form
tape to tape only
2) OFFSITE- RECLAMATION:
Offsite data expires in the same way of onsite data during the expiration process, when offsite tapes are
eligible for reclamation, then TSM Identifies the onsite volumes which contains the valid data remaining
in the offsite volumes. Then we start the reclamation for offsite volumes in TSM server, then TSM
mounts the onsite volumes and copy the data to another copy filling and copy new tape and again this
copy tapes need to be sent offsite
Once the data is copied, then the Copy tape which is in offsite location will be updated to
VAULTRETEREIVE state in the TSM server database, we need to recall those tapes from offsite and those
tapes can be used as scratch tapes.
Def schedule STGBACKUP t=admin cmd=backup stg primarystg copystg maxpr=2 active=yes
startd=date startt=time duration=1 durationunits=hours period=1 perunits=days
=====================================================================================
===============================================================================
Device class:
Device class represents set of storage devices and type of the Device
By using Disk Device Class we can create primary Disk storage pools. Disk device class also can be called
as random access device class, by default at the time of installation itself we get Disk device class. We
have to create disk storage pools by using disk device class, once the primary disk storage pool is created
then we have to create the volumes for this disk storage pool.
IN TSM SERVER WE NEED TO CHECK THE AVAILABLE DEVICE CLASSES BY USING Q DEVC COMMAND
BY DEFAULT WE CAN SEE THE DISK DEVICE CLASS IN TSM SERVER AND BY UISNG DISK DEVICE CLASS WE
CAN CREATE DISK STORAGE POOL, WE DONT NEED TO CREATE DISK DEVIVE CLASS IN TSM SERVER
SEPARATELY
EX:
ONCE WE CREATED THE DISK STORAGE POOL, WE NEED TO CREATE STORAGE POOL VOLUMES BY USING
THE FOLLOWING COMMAD
SYNTAX;
EX:
ONCE WE CREATED THE STORAGE POOL VOLUMES, SPACE IS AUTOMATICALLY ALLOCATED TO THE
STORAGE POOL
TSM USES THE LOCAL SPACE FOR THE DISK STGPOOL AND WE NEED TO SELECT ANY OF THE DRIVE OF
THE SYSTEM, IN WHICH MACHINE TSM SERVER IS INSTALLED
HERE WE ARE USING SPACE IN F DRIVE FOR DISK STORAGE POOL and the CAPACITY of disk storage pool
is 3 GB
2) LTO CLASS:
By using LTO device class we can create primary and copy tape storage pools
LTO device class also can be called as sequential access device class
Before defining LTO device class, we have to define Tape Library in TSM server and after defining the
tape library, we need to define the LTO class by using tape library. Under LTO class we have to define
primary and copy tape storage pools which consists of tapes.
THE FOLLOWING ARE THE IBM TAPE LIBRARIES WHICH ARE SUPPORTED BY IBM
ONCE WE DEFINED THE TAPE LIBRARY, THEN WE NEED TO DEFINE DEVICECLASS WITH TYPE LTO with the
following command
Ex:
HERE WE HAVE DEFINED THE DEVICE CLASS NAME LTOCLASS WITH TYPE LTO
MOUNT LIMIT: Here mount limit parameter specifies how many no. of tape mounts the device class
should allow at a time.
MOUNT RETENTION: This parameter specifies how many no. of minutes the tape can be in ideal state in
the tape drive once the read/ write operation was done on the mounted tape.
If we specify mount retention=60 then the tape will be in ideal state in the tape drive for 60 minutes and
after 60 minutes the tape will automatically dismounted from the tape drive.
If any tape request comes in between or within 60 minutes when the tape is in ideal state then the tape
will get dismounted automatically and new tape will get mounted.
ONCE WE DEFINED THE LTO DEVICE CLASS THEN WE NEED TO DEFINE THE PRIMARY AND COPY TAPE
STORAGE POOLS BY USING THE LTOCLASS
EX:
EX:
NOTE: NOW WE HAVE CREATED TWO STGPOOLS TAPESTG AND COPYSTG BY UISNG THE LTOCLASS
NOW BOTH THE PRIMARY AND COPYSTGPOOL USES THE TAPES WITH IN THE TAPE LIBRARY
By using file device class we can use disk as sequential access device. File device class also can be called
as sequential access device class.
EX:
HERE WE HAVE CRETAED A FILE DEVICE CLASS WITH NAME FILECLASS AND THIS DEVICE CLASS USED F:
DRIVE IN THE MACHINE AS SEQUENTIAL ACCESS
HERE F: DRIVE LOCAL DRIVE OF THE MACHINE IN WHICH MACHINE TSM SERVER IS INSTALLED.
DIRECTORY:
This parameter specifies, the location of the disk which are using as sequential access
Max size:
This parameter specifies the max Size of the each volume which are created by using file device class
and that volumes acts as sequential access
The Volumes which are created by using file device class that volume suffix with .BFS
ONCE WE CREATED THE FILE DEVICE CLASS, THEN WE NEED TO CREATE STGPOOLS BY USING FILE
DEVICE CLASS FILE CLASS
When the data is Coming to the storage pools which are created by using file device class that data
stores in the F drive( based on the directory location in File device class) and volumes will be
automatically created with .BFS and each volume size is depends on the maxsize parameter in the file
device class definition.
SYATNTAX TO CRETAE PRIMARY AND COPY STGPOOLS BY USING FILE DEVICE CLASS FILECLASS:
EX:
HERE STGPOOL TAPESTG CAN CREATE MAXIMUM 100 VOLUMES IN THE DIRECTORY LOCATION F:
AND EACH VOLUME SIZE IS 2GB, I.E THE STG TAPESTG CAPACITY IS 200GB
THE VOLUMES WHICH ARE CRETAED BY UISNG FILE DEVICE CLASS ARE SUFFIX WITH .BFS
THIS COPY STORAGE POOL COPYSTG ALSO CAN CREATE MAXIMUM 100 VOLUMES IN F DIVE AND EACH
VOLUME SIZE IS 2G, BASED ON THE MAXCAPACITY PARAMETER IN FILEDEVICE CLASS DEFINTION.
NOTE:
IN OUR LAB ENVIRONMENT, AS WE DONOT HAVE TAPE LIBARRAY WE ARE USING FILE DEVICE CLASS TO
CREATE SEQUENTIAL ACCESS STORAGE POOLS
SERVER_CONSOLE No System
3: ADMIIN PRIVILEGES
1) OPERATOR
2) SYSTEM
3) STORAGE PRIVILEGE
4) POLICY PRIVILEGE
OPERATOR: IF WE GIVE OPERATOR PRIVILEGES TO THE ADMIN, THEN THE ADMIN GIVE ONLY QUERY
SYSTEM: IF WE GIVE SYSTEM PRIVILEGES, THE ADMIN CAN USE ALL THE COMMAND LIKE QUERY, DEFINE
DELETE, REGISTER, REMOVE, UPDATE.. COMMAND (COMPLETE PRIVILEGES ON THE TSM SERVER)
=============================================================================
tsm: VEDA-PC_SERVER1>Q DB
Q DBV
ined ined
ined ined
REDUCE DB SIZE
tsm: VEDA-PC_SERVER1>REDUCE DB 1000
=====================================================================================
========
SM\SERVER1\LOG-
1.DSM
=====================================================================================
Pct Pct
Q DEVC
DISK Random 0
Q STG
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
----------- ---------- ---------- ----- ----- ---- --- -----------
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
Q VOL STG=TAPESTG
=====================================================================================
===
CREATING PRIMARY SEQUENTIAL ACCESS STORAGE POOLBY USING FILE DEVICE CLASS FILECLASS:
tsm: VEDA-PC_SERVER1>
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
=====================================================================================
======
POLICY CREATION:
Class
TESTDOM 0
CREATING POLICYSET:
Name Class
Name
TESTDOM TESTPOL
ANR1520I Management class TESTMGMT defined in policy domain TESTDOM, set TESTPOL.
ANR1538I Default management class set to TESTMGMT for policy domain TESTDOM, set
TESTPOL.
ANR1530I Backup copy group STANDARD defined in policy domain TESTDOM, set TESTPOL,
ANR1535I Archive copy group STANDARD defined in policy domain TESTDOM, set TESTPOL,
ANR1557W The space management migration destination in management class TESTMGMT does not
refer to a defined storage pool: SPACEMGPOOL. If this pool does not exist when policy
set TESTPOL is activated, clients will fail when using this management class to migrate
ANR1515I Policy set TESTPOL validated in domain TESTDOM (ready for activation).
ANR1557W The space management migration destination in management class TESTMGMT does not
refer to a defined storage pool: SPACEMGPOOL. If this pool does not exist when policy
set TESTPOL is activated, clients will fail when using this management class to migrate
refer to a defined storage pool: SPACEMGPOOL. If this pool does not exist when policy
set TESTPOL is activated, clients will fail when using this management class to migrate
=====================================================================================
=================
NOTE: IF WE DON'T GIVE USERID=NONE PARAMETER WHILE REGISTERING THE NODE, THEN THE NODE
CAN ACTA AS TSM ADMINISTARTOR ID AND BY UISNG THIS NODENAME AND NODE PASSWORD, WE
CAN LOGIN TO THE TSM SERVER
sm: VEDA-PC_SERVER1>Q N
Node Name Platform Policy Domain Days Since Days Since Locked?
ss Set
tsm: VEDA-PC_SERVER1>Q N
Node Name Platform Policy Domain Days Since Days Since Locked?
ss Set
------------------------- -------- -------------- ---------- ---------- -------
=====================================================================================
==============
C:\Program Files\Tivoli\TSM\baclient>
When we install BA client in the client machine we can see the following files in BA client directory
3)open the dsm.opt(client configuration file) file in BA client directory and add the following parameters
Commmethod TCPIP
Tcpport 1501
tcpserveraddress 127.0.0.1
nodename VEDA-PC
Passwordaccess generate
DOMAIN D: E:
Userid should be node name which is registered in TSM server and password should be node password,
which is given while registering the node
Note: if we don't give passwordaccess generate parameter in dsm.opt file, each time we login to the
client, it will prompt for userid and password
if we mention passwordaccess generate then password file will be generated and it stores in windows
registry, when we login to the client, it reads the password file from windows registrys we don't need to
give userid and password each time we login to the client
tsm>
Then type i and hit enter button, then incremental backup starts
Tsm>i
To check the backup status, in TSM server give "q sess" command
6) to run the manual migration give the following command in TSM server console
then migration process starts and data will be moved from disk stgpool to tape stgpool
to check the migration process use "q pr" command in TSM server console
7) To take the stgpool backup use the following command in TSM server
To check stgpoolbackup process in TSM server use "q pr" command in TSM server
To check TSM backup process in TSM server use "q pr" command in TSM server
To check the TSM DB backup status use the following command, whether it is completed or not.
q Process command
11)To check the backup session in TSM server use " q sess " command
12)TO Cancel backup for a particular node use the following command in TSM server
Restore procedure:
Select the file which needs restored in the left hand pane (option called local)
==============================================================
==============================================================
Once defined the schedule, we need to add the node that schedule
Then select the check box "help me to configure TSM client scheduler"
Click on next and then give the TSM client scheduler service name
click on next and select the location of the dsm.opt file
c:/programfiles/tivoli/tsm/baclient/dsm.opt
click on next and give the node name and node password which is registered in TSM server
then scheduler service will be successfully installed and it will ask to start the TSM client scheduler
service
Once scheduler service is configured in TSM client machine, we need to check the schedule status in
TSM server by using the following command
q eve * * n=nodename
Missed --backup not started for the client, due to some issues
Failed === backup started but due some interruption, backup got failed.
=====================================================================================
=====================================================
Here one * represents policy domain name and another * represents schedules name
If don't give ex=yes, then it displays all missed and failed and completed backups
Note: dsmsched.log and dsmerror.log are the client configuration files and these files contain the
reasons for the backup failures
when the schedule backup gets fail or missed, we need check the dsmsched.log and dsmerror.log to find
out the reason
=====================================================================================
==============================================================================
q Sched * *
q Assoc * *
=====================================================================================
================================================
ex:
=====================================================
Example:
---------------------------------------------------
q Fi nodename
=============================================
q Nodedata nodename
==========================================================
One time schedule is used to run the backup from TSM server itself, when the backup missed or failed
this schedule run for onetime only(it will not run daily)
==========================================================
Ex:
==
DRM(Disaster Recovery manager):
By using DRM concept we can perform the tape movement from onsite to offsite and offsite to onsite
Implementing DRM:
First we need to check drm status in TSM server by using the following command
q Drmstatus
1) We need set the location of the plan file by using the following command
Note: Plan file contains all TSM server configuration information and this plan will v\be generated by
running "prepare" command in TSM server and this planfile will be stored in the directory E:\PLANFILE\
By using plan file we can recover the TSM server from the disaster.
2)we need to set the DRM primary storage pool name(the primary storage pools, which are defined in
TSM server)
3)we need to set the DRM copy storage pool name(the copy storage pools, which are defined in TSM
server)
4) We need set database expiration days(this parameter specified the maximum no of db backup copies
the TSM can maintain in offsite location)
SET DRMDBBACKUPEXPIREDAYS 5
This parameter specifies the maximum no of plan files copies the TSM server can maintain
SET DRMRPFEXPIREDAYS 5
===========================================================
1) We need to identify the copy tapes and TSM db backup tapes which needs to be sent to offsite
location by using the following command
then tapes will be ejected from the tape library and those tapes will be available in Library I/O station
then we need to inform onsite media team to collect the tapes from library i/o station, then onsite
media will collect the tapes from the library 1/o and hand over the tapes to courier, then courier will
collect the tapes and store the tapes in offsite location
===================================================
1) First we need to list out the tapes which are eligible for recall from offsite after offsite reclamation is
completed (empty tapes)
q Drm * wherestate=vailuretreive
Once we listed out the tapes which are in vaultretreive state(empty tapes), then we need to ask media
team to bring the tapes from offsite location, then media team will ask the courier to bring the tapes
from offsite
2) Once we asked the media team to bring the tapes from offsite, then we need to change the status of
those volumes from vaultretreive to courierretreive by using the following command
3) Once courier brings the tapes from offsite to onsite, then media team will inform us stating that tapes
have been arrived from offsite to onsite then we need to ask media team to load the tapes into library
I/O station
Once the media team loaded the tapes into library I/O station, then we need to change the status of
those volumes from courierretreive to onsiteretreive
4) After that we need to load the tapes as scratch (empty) into the tape library
1) First we need to zone the tape library and tape drives to the TSM server operating system this can be
done by storage team
2) Once zoning done by storage team, we need to install library drivers (media changer drivers) and tape
drive drivers (LTO drivers) in TSM server operating system level
3) Once drivers are installed, we need to check tape library and tape drives in TSM server operating
system level
Right click on my computer====> click on manage==click on device manager===> then tape library and
tape drives are visible in right hand pane
4) Next we need to define the tape library in TSM server level (TSM server console)
As we are using IBM tape libraries, library models will be in the following format
ONCE WE DEFINED THE TAPE LIBRARY, WE NEED TO DEFINE LIBRARY PATH IN TSM SERVER
SOURCENAME=TSM SERVERNAME
DESTINATIONNAME=LIBRARYNAME
SOURCETYPE=SERVER
DESTINATIONTYPE=LIBRARY
DEVICE=DEVICENAME
FOR WINDOWS MACHINES LIBARY DEVICES NAMES CAN BE IDENTIFIED IN DEVICE INFORMATIOM
FOR WINDOWS MACHINES LIBRRAY DEVICE NAMES CAN BE IN THE FOLLOWING FORMAT
ONCE LIBRRAY DEVICE NAME IS IDENFIED IN DEVICE INFORMATION, THEN WE NEED TO DEFINE LIBRARY
PATH
FOR EXAMPLE IF WE HAVE 5 DRIVES IN TAPE LIBRARY THEN WE NEED DEFINE 5 DRIVS IN TSM SERVER
ONCE WE DEFINED THE TAPE DRIVE, THEN WE NEED TO DEFINE DRIVE PATH IN TSM SERVER
EX:
FOR WINDOWS MACHINES TAPE DRIVES DEVICE NAMES CAN BE IN THE FOLLOWING FORMAT
MT3.0.1.0, MT3.1.0.0
NOTE:
TO CHECK THE TAPE DRIVES, WHEN THE TSMSERVER IS installed IN LINUX OR AIX
TO CHECK THE TAPE DRIVE DEVICE NAME WHEN THE TSMSERVER IS installed IN LINUX OR AIX
TO check the library device names, WHEN THE TSMSERVER IS installed IN LINUX OR AIX
IN Linux and aix tape library device names can be in the following format
/dev/smc0 or /dev/smc1
IN Linux and aix tape drive device name should be in the following format
/dev/rmt0. /dev/rmt1
=====================================================================================
==========
BY using tape checkin we can load the tapes into the tape library
Command
ex:
Search=bulk
if we run the checkin command with search=bulk parameters, then TSM will search all the I/O stations
of the Tape library and it loads all the tapes which are available in the I/O stations
serach=yes:
if we run the checkin command with search=yes parameter then TSM searches for the tapes with in the
tape library which are not identified by the TSM server database(q libvol library name volumename or q
libvol * volumename (command gives no matching found output))
SERACH=NO;
IF WE RUN THE CHECKIN COMMAND WITH SEARCH=NO PARAMETER, ONLY PARTICULAR VOLUME
(NAMED VOLUME) CAN BE CHECKEDIN INTO THE TAPE LIBRARY FROM LIBRRAY I/O STATION
==========================================================
BY USING CHECKOUT COMMAND WE CAN EJECT THE TAPES FROM THE TAPE LIBRARY TO LIBRARY I/O
STATION
CHECKOUT LIBVOL LIBRARYNAME VOLUMENAME REMOVE=BULK/YES/NO
REMOVE=BULK:
IF WE RUN THE CHECKOUT COMMAND WITH REMOVE=BULK PARAMETER THEN TSM WILL DIRECTLY
EJECT THE TAPE FROM THE TAPE LIBARRAY TO LIBRARY I/O STATION
REMOVE=YES:
IF WE RUN THE CHECKOUT COMMAND WITH REMOVE=YES PARAMETER, THEN TSM WILL START TAPE
EJECT PROCESS AND IT WIL ASK FOR USER CONFIRMATION TO EJECT THE TAPE
Q REQUET
COMMAND ACCEPTED
Q PROCESS
2 PROCESS NUMBER
======================================================
REMOVE=NO:
IF WE RUN THE CHECKOUT COMMAND WITH REMOVE=NO PARAMETER, THEN TSM WILL REMOVE THE
TAPE FROM THE TSM DATABASE INVENTORY AND IT MOVES THE TAPE FROM STORAGESLOT TO ANY
EMPTY STORAGE SLOT OF THE TAPE LIBRARY(NOT THE LIBRARY I/O STATION)
===============================================
WHENEVER WE LOAD THE NEW TAPES (FIRST TIME LOADING THE TAPES INTO THE TAPE LIBRARY) INTO
THE TAPE LIBRRAY, WE MUST LABLE THOSE TAPES AND THEN WE NEED TO LOAD THOSE TAPES AS
SCRATCH TAPES INTO THE TAPE LIBRRAY
LABLE LIBVOL LIBRAYNAME SEARCH=BULK CHECKIN=SCRATCH LABLESOURCE=BARCODE
IF WE FORGOT TO LABLE THE NEW TAPES (IF WE DIRECTLY USE CHECKIN COMMAND), THYEN THOSE
TAPES WILL BE LOADED AS PRIVATE TAPES INTO THE TAPE LIBRRAY
TO CHECK THE VOLUMES AVAILABLE WITH IN THETAPE LIBRARY OR NOT, USE THEFOLLWING
COMMAND IN TSMSERVER CONSOLE
=====================================================================================
========
TO IMPLIMENT THE SREVER TO SERVER COMMUNICATION, WE NEED TO DEFINE SOURCE TSM SERVER
AS A SERVER IN TARGET TSM SERVER AND TARGET TSM SERVER AS A SERVER IN SOURCE TSM SERVER
FIRST WE NEED TO DEINE VEDATSM1 AS A SERVER IN VEDATSM2 TSM SERVER BY USING THE
FOLLOWING COMMAND
NOTE: TSM SERVER IPADDRESS AND PORT NUMBER CAN BE CHECKED BY USING "Q STATUS"
COMMAND IN TSM SERVER.
ONCE WE DEFINED BOTH THE SERVERS, THEN WE NEED TO ENABLE CROSSDEFINE PARAMETER IN BOTH
THE TSM SERVER BY USING THE FOLLOWING COMMAND
BY UISNG SREVER TO SREVER COMMUNICATION WE CAN IMPORT/EXPORT THE NODE DATA, SCHEDULE
INFORMATION, POLICY INFORMATION FROM ONE TSM SERVER TO ANOTHER TSM SERVER
FOR EXAMPLE WE HAVE TWO NODES A,B AND A NODE BACKED BY VEDATSM1 SERVER AND B NODE
BACKED BY VEDATSM2
IF WE WANT TO EXPORT NODE "A" DATA FROM VEDATSM1 TO VEDATSM2 TSM SERVER USE THE
FOLLOWING PROCEDURE
SYNTAX;
EX:
BY USING SHARED LIBRARY CONCEPT SINGLE TAPE LIBRARY CAN BE SHARED AMONG MULTIPLE TSM
SERVERS
IN SHARED LIBRARY CONCEPT ONE TSM SERVER ACTS AS A LIBRARY MANAGER AND REST OF THE TSM
SERVERS ACTS AS LIBRARY CLIENTS
IN THE TSM SERVER WHICH IS ACTING AS A LIBRARY MANAGER, IN THAT TSM SERVER WE NEED TO
DEFINE THE TAPE LIBRRAY WITH SHARED=YES PARAMETER
NEXT WE NEED TO DEFINE THE TAPE DRIVES AND DRIVE PATHS IN LIBRARY MANAGER TSM SERVER.
THE OTHER TSM SERVERS WHICH ARE ACTING AS A LIBRRAY CLINETS, IN THOSE TSM SERVERS WE NEED
TO DEFINE THE TAPE LIBRARY WITH THE FOLLOWING COMMAND
FOR EXAMPLE WE HAVE THREE TSM SERVER TSM1 AND TSM2, TSM2 AND WE HAVE 15 TAPE DRIVES IN
THE TAPE LIBRARY,IF WE WANT TO SHARE THIS TAPE LIBRARY AMONG THESE THREE TSM SERVERS
ONCE WE DEFINED THE TAPE LIBRARY IN LIMBRARY MANAGER, THEN WE NEED TO DEFINE LIBRARY
PATH IN LIBRARY MANAGER TSM SERVER
HERE SOURCE NAME AS LIBRARY MANAGER TSM SERVER NAME AND DESTINATION NAME AS LIBRARY
NAME
3) ONCE WE DEFINED THE TAPE DRIVES, THEN WE NEED DEFINE PATH TO THE TAPE DRIVES
4) NEXT WE NEED TO DEFINE DRIVE PATHS FROM TSM2 AND TSM3 SERVERS TO TAPE DRIVES FROM
TSM1 SERVER
5) ONCE WE DEFINED THE TAPE DRIVES AND DRIVE PATHS, WE NEED TO DEFINE TAPE LIBRARY IN THE
TSM SERVERS TSM2 AND TSM3 WHICH ARE ACTING AS A LIBRARY CLIENTS WITH FOLLOWING
COMMAND
NOTE: IF WE WANT TO IMPLIMENT THE SHARED LIBRARY CONCEPT, WE MUST HAVE SERVER TO SERVER
COMMUNICATION.
IN SHARED LIBRRAY CONCEPT TAPE CHECKIN CAN BE DONE FROM LIBRARY MANAGER TSM SERVER
ONLY
IF WE WANT TO EJECT THE TAPES, WE CAN PERFORM FROM ANY OF THE TSM SERVER
==============================================================
SERVER GROUP:
By using server group, we can perform command routing between TSM SERVERS
TO IMPLIMENT THE SERVER GROUP, WE NEED TO DEFINE SERVER GROUP IN TSM SERVER
SYNTAX:
ONCE WE DEFINED THE SERVER GROPUP, THEN WE NEED TO ADD TSM SERVERS AS MEMBERS IN THAT
SERVER GROUP
SYNTAX:
EX:
HERE MEMBER1.MEBER2, MEMBER3 ARE THE TSM SERVERS NAMES WHICH ARE PART OF A SERVER
GROUP
WE NEED DEFINE THE SAME SERVER GROUP AND GROUP MEMBERS IN ALL THE TSM SERVERS
TSM1,TSM2,TSM3 WITH THE SAME PROCEDURE
ONCE WE IMPLIMENTED THE SERVER GROUP, IF WE WANT TO KNOW WHAT ARE THE PROCESSES
RUNNING ON ALL THE THREE TSM SERVERS TSM1,TSM2,TSM3, THEN WE CAN CHECK FROM EITHER
TSM1 OR TSM2 OR TSM3
TSM1>SREVERGROPUNAME:Q PR
EX:
TSM1>TSM:Q PR
TSM1>TSM:Q DB
TO CHECK WHETHER THE SERVER GROUP IS IMPLEMENTED IN TSM SERVER OR NOT, USE THE
FOLLOWING COMMAND
Q SERVERGROUP
=============================================================================
COLLOCATION:
BY USING COLLOCATION, WE CAN SEND PARTICULAR NODE DATA OR GROUP OF NODES DATA TO
MINIMUM NUMBER OF TAPES
WE HAVE THREE TYPES OF COLLOCATIONS IN TSM
1) COLLOCATION BY NODE
2) COLLOCATION BY GROUP
TO IMPLEMENT THE COLLOCATION BY GROUP, FIRST WE NEED TO DEFINE COLLOCATION GROUP IN TSM
SERVER WITH THE FOLLWOING COMMAND
SYNTAX:
EX:
ONCE WE DEFINED THE COLLOCATION GROUP, THEN WE NEED TO ADD THE NODES WHICH ARE PART
OF COLLOCATION AS MEMBERS IN THAT COLLOCATION GROUP
ONCE WE ADDED THE NODES AS MEMBERS IN THE COLLOCATION GROUP, THEN WE NEED TO CHECK
THE TAPE STORGAEPOOL WITH
NEXT WE NEED TO CHECK THE NODES DEFINTIONS WHICH ARE PART OF COLLOCATION GROUP AND WE
NEED TO UPDATE THOSE NODES WITH THE FOLLOWING COMMAND
THE ADVATAGE OF COLLOCATION IS RESTORE PERFORMANCE WILL BE VERY FASTER BECAUSE LESS
NUMBER OF TAPE MOUNTS REQUIRED WHILE RESTORING THE DATA,
THE DISADAVNTAGE IS WE NEED MORE SCRATCH TAPES IN THE TAPE LIBRARY, BECAUSE TSM TRIES TO
SEPERATE EACH FILE OR OBJECT OF A NODE INTO SEPEARTE TAPE
MIGRATION PERFORMANCE WILL BE VERY SLOW
Q COLLOCGROUP
INCLUDE/EXCLUDE STATEMENTS:
BY USING INCLUDE/EXCLUDE STATEMENTS WE CAN INCLUDE OR EXCLUDE THE FILES FROM THE BACKUP
EXCLUDE "*:\...\FILENAME"
EXCLUDE "*:\...\*.TMP"
SYNTAX:
=====================================================
CLIENTOPTIONSET (CLOPTSET):
BY USING CLIENT OPTION SET (CLOPTSET), WE CAN EXCLUDE THE COMMON FILES FROM BACKUP FROM
TSM SERVER ITSELF. FOR THIS WE NEED TO DEFINE CLOPTSET IN TSM SERVER
SYNTAX:
ONCE WE DEFINED CLOPTSET, WE NEED TO DEFINE CLIENT OPTION IN THE CLOPTSET WITH FOLLOWING
COMMAND
ONCE WE DEFINED THE CLIENTOPTION IN THE OPTIONSET, THEN WE NEED TO UPDATE THE NODE
DEFINTION WITH THE FOLLOWING COMMAND
Q CLOPTSET
=============================================
DSM.OPT
WHEN THE NODE BACKUP FAILS,WE NEED TO CHECK DSMERROR.LOG AND DSMSCHED.LOG FILE WHICH
IS IN BA CLIENT DIRECTORY
DSMSERV.DSK
THIS FILE CONTAINS TSM DATABASE AND RECOVERY LOG VOLUME INFORMATION
DSMSERV.OPT:
THIS FILE CONTAINS ALL CONFIGURATION FILES OF THE TSM SERVER (SAME AS "Q OPT" OUTPUT)
DEVCONFIG.OUT
THIS FILE CONTAINS ALL DEVICE CLASS RELATED INFORMATION. WHICH ARE DEFINED IN THE TSM
SERVER
VOLHIST.OUT:
(THE VOLUMES WHICH ARE CRETAED USING FILE DEVICE CLASS AND TAPE INFORMATION, IF THE TAPE
LIBRRAY IS AVAILABLE)
RESTORE VOLUME:
BY USING RESTORE VOLUME, WE CAN RESTORE THE PRIMARY TAPE DATA FROM COPY TAPES, IF THE
PRIMARY TAPE IS DAMAGED
EX:
THEN IT WILL LISI OUT THE COPY TAPES IN WHICH THE PRIMARY TAPE DATA IS RESTORED
THIS COPY TAPES CAN IDENTIFIED IN TSM SERVER ACTIVITY LOG(ACTLOG) BY USING THE PROCESS
NUMBER
ONCE WE IDNTIFIED THE COPY VOLUMES, WE NEED TO BRING THOSE COPY VOLUMES FROM OFFSITE
AND WE NEED TO LOAD THOSE COPY TAPES AS PRIVATE TAPES INTO THE TAPE LIBRARY
ONCE THE COPY TAPES ARE LOADED INTO THE TAPE LIBRRAY, WE NEED TO CHANGE THE ACCESS OF
THOSE VOLUMES TO READONLY
THEN WE NEED TO RESTORE THE PRIMARYTAPE DATA FROM COPY TAPES BY USING FOLLOWING
COMMAND
THEN DAMAGED TAPE DATA WILL RESTORED INTO ANOTHER NEW TAPE
ONCE THE PRIMRAYTAPE DATA IS RESTORED FROM COPY TAPES, THEN WE NEED TO UPDATE THE
ACCESS OF THE DAMAGED PRIMARY TAPE TO DESTROYED
AFTER THAT WE NEED TO EJECT THE COPY TAPES FROM THE TAPE LIBRARY AND SEND THOSE TAPES
OFFSITE
============================================================
AUDIT VOLUME:
IF THERE ANY READ OR WRITE ERRORS OOCURED IN A VOLUME IN THAT CASE WE NEED TO GO FOR
AUDIT VOLUME BY USING THE FOLLOWING COMMAND
AUDIT VOLUME VOLUMENAME FIX=NO/YES
BY DEFAULT FIX=NO
FIX=NO:
IF WE RUN THE AUDIT VOLUME WITH FIX=NO PARAMATER THEN TSM WILL MARK THOSE CORRUPTED
FILES AS DAMAGED IN TSM SERVER DATABASE
FIX=YES:
IF WE RUN THE AUDIT VOLUME WITH FIX=YES, THEN TSM WILL DLETE THE CORRUPTED FILES FROM
TSM SERVER DATA BASE
IF THERE ARE ONE OR TWO READ/WRITE ERRORS IN A VOLUME, IN THAT CASE WE NEED TO FOR AUDIT
VOLUME
IF THERE ARE MORE THAN 3 ERRORS, IN THAT SITUATION WE NEED TO GO FOR RESTORE VOLUME
IF WE WANT TO CHECK THE READ AND WRITE ERRORS IN A PARTICULAR VOLUME THEN WE NEED USE
"Q VOLUME VOLUMENAME F=D"
====================================================
AUDIT LIBRARY:
IF THERE IS ANY MISMATCHING BETWEEN TSM DATABASE INVENTORY AND LIBRARY INVENTORY, IN
THAT CASE WE NEED TO GO FOR AUDIT LIBRARY
SOME TIME TAPES PHYSICALLY SHOWS WITH IN THE TAPE LIBRARY, BUT NOT IDENTIFIED BY THE TSM
SERVER DATABASE OR TAPES PHYSICALLY NOT IN THE TAPE LIBRARY, BUT SHOWS IN THE TSM SERVER
DATABASE
1: FULL BACKUP
2: DIFFERENTIAL
3: LOG BACKUP
2) DIFFERENTIAL: BY USING DIFFRENTIAL BACKUP WE CAN TAKE WHAT EVER CHANGES HAPPEN TO THE
SQL DATABASE SINCE THE LAST FULL BACKUP AND IT TAKES BACKUP OF THOSE CHANGES UNTIL NEXT
FULL BACKUP RUNS
3) LOG BACKUP: BY USING LOG BACKUP, WE CAN TAKE BACKUP OF THE SQLSERVER TRANSACTION LOGS
WHICH ARE GENERATED DURING INSERTION AND UPDATION OF THE TABLES IN THE SQL SERVER
DATABASES
THESE LOGS STORE IN LOCAL DRIVE OF THE MACHINE, WHERE THE SQL SERVER IS INSTALLED
ONCE THE LOG BACKUP IS COMPLETED, THOSE LOGS WILL BE PURGED (REMOVE) FROM THE DISK
IN TSM SERVER WE NEED TO REGISTER SEPERATE NODES, ONE NODE FOR FILE SYSTEM BACKUP AND
ANOTHER NODE FOR SQL DATABASE BACKUPS
FS NODE:
SQL NODE:
(IF WE DO NOT ENABLE. BACKDEL AND ARCHDEL PARAMETERS, EXPIRED SQL DATABSE BACKUPS WON'T
BE DELETED)
==========================================================
C:\PROGRAM FILES\TIVOLI\TSM\BACLINET
IN THE DSM.OPT FILE WE NEED TO MENTION THE NODE NAME AS VEDA WHICH IS REGISTERED FOR FILE
SYSTEM BACKUP
THE DEFAULT INSTALLATION DIRECTORY OF TDPSQL IS
C:\PROGRAM FILES\TIVOLI\TSM\TDPSQL
DSM.OPT
SQLFULL.SMP
SQLDIIF.SMP
SQLLOG.SMP
IN THE DSM.OPT FILE WHICH IS IN TDPSQL DIRECTORY IN THAT OPT FILE WE NEED TO MENTION THE
NODE NAME AS SQL NODE VEDA_SQL, WHICH IS REGISTERED IN TSM SERVER FOR SQL DABASE
BACKUPS
ONCE OPT FILES ARE CONFIGURED FIRST WE NEED TO SET THE FS NODE PASSWORD BY USING DSMC IN
BACLIENT DIRECTORY AND WE NEED TO SET SQL NODE PASSWORD FROM TDPSQL DIRECTORY
ONCE SQL NODE PASSWORD IS SET THEN WE NEED TO CHECK THE COMMUNICATION BETWEEN SQL
NODE VEDA_SQL AND TSM SERVER BY USING THE FOLLWOING COMMAND
=====================================================
1: FULL BACKUP
2: DIFFERENTIAL
3: LOG BACKUP
FULL:IT TAKES FULL BACKUP OF THE SQL DATABASES
HERE * REPRESENTS ALL THE DATABASES WHICH ARE RESIDING IN THE SQL SERVER
IF WE WANT TO TAKE PARTICULAR DATABASE BACKUP WE NEED TO RUN THE FOLLOWING COMMAND
2: DIFFRENTIAL BACKUP:
BY USING DIFFRENTIAL BACKUP WE CAN TAKE WHAT EVER CHANGES HAPPEN TO THE SQL DATABASE
SINCE THE LAST FULL BACKUP AND IT TAKES BACKUP OF THOSE CHANGES UNTIL NEXT FULL BACKUP
RUNS
3: LOG BACKUP:
BY USING LOG BACKUP, WE CAN TAKE BACKUP OF THE SQLSERVER TRANSACTION LOGS WHICH ARE
GENERATED DURING INSERTION AND UPDATION OF THE TABLES IN THE SQL SERVER DATABASES
THESE LOGS STORE IN LOCAL DRIVE OF THE MACHINE,WHERE THE SQL SERVER IS INSTALLED
ONCE THE LOG BACKUP IS COMPLETED, THOSE LOGS WILL BE PURGED(REMOVE) FROM THE DISK
USUALLY SQL FULL BACKUP RUNS FOR EVERY ONE WEEK AND DIFF BACKUP RUNS EVERY DAY EXCEPT
THE FULL BACKUP TIME AND LOG BACKUPS RUNS EVERY ONE HOUR
======================================================
FOR FULL BACKUP WE NEED TO EDIT THE SQLFULL.SMP FILE AND ADD THE FOLLOWING COMMAND
EX:
ONCE WE DEFINED THE SCHEDULES, WE NEED TO ASSOCIATE THE SQL NODE TO THE SCHEDULES
IN CLIENT MACHINE, WE NEED TO CONFIGURE SEPERATE SCHEDULER SERVICES ONE FOR FILE SYSTEM
BACKUP AND ANOTHER ONE FOR SQL BACKUPS
THE SCHEDULER SERVICE FOR THE FS BACKUP, WE NEED TO MENTION THE LOCATION OF THE OPT FILE
AS DSM.OPT WHICH IS IN BA CLINET DIRECTORY
THE SCHEDULER SERVICE FOR SQL BACKUPS , WE NEED TO MENTION THE LOCATION OF THE OPT FILE AS
DSM.OPT WHICH IS IN THE TDPSQL DIRECTORY
==================================================
TDP EXCHANGE:
BY USING TDP EXCHANGE, WE CAN THE BACKUP OF EXCHNAGE MAIL SERVER (RECOVERY STORGAGE
GROUP BACKUP)
1: FULL
IT TAKES FULL BACKUP OF THE EXCHNAGE SREVER (RSG) AND IT WILL PURGE(CLEAR) THE LOGS
2: COPY BACKUP:
IT TAKES FULL BACKUP OF EXCHANGE SERVER, BUT IT WILL NOT PURGE THE LOGS
3: DIFFERENTIAL BACKUP:
IT TAKES ONLY TRANSACTION LOGS BACKUP AND IT WILL NOT PURGE THE LOGS
4: INCREMENTAL BACKUP:
IT TAKES ONLY TRANSACTION LOGS BACKUPS AND IT WILL PURGE THE LOGS
IN TSM SERVER, WE NEED TO REGISTER SEPERATE NODES ONE FOR FS BACKUP AND ANOTHER NODE
FOR EXCHANGE BACKUPS
c:\PROGRAM FILES\TIVOLI\TSM\BACLIENT
c:\PROGRAM FILES\TIVOLI\TSM\TDPEXCHANGE\
DSM.OPT
TDPEXCFULL.SMP
TDPEXCCOPY.SMP
TDPEXCDIFF.SMP
TDPEXCINCR.SMP
IN THE DSM.OPT FILE WHICH IS IN BA CLINET DIRECTORY, WE NEED TO MENTION THE NODENAME AS FS
NODE FOR FILESYSTEM BACKUPS AND WE NEED TO SET THE FS NODE PASSWORD BY USING DSMC
NEXT WE NEED TO SET THE EXCHANGE NODE PASSWORD, GO TO THE TDPEXCHNAGE DIR IN COMMAD
LINE
c:\PROGRAMFILES\TIVOLI\TSM\TDPEXCHANCE\
EX:
ONCE THE EXCHNAGE NODE PASSWORD IS SET,THEN WE NEED TO CHECK THE COMMUNICATION
BETWEEN EXCHNAGE NODE AND TSM SERVER, RUN THE FOLLOWING COMMAND IN TDPEXCHANGE
DIRECTORY
TO TAKE THE MANUAL BACKUP OF EXCHNAGE SERVER, RUN THE FOLLOIWNG COMMAND IN
TDPEXCHANGE DIRECTORY
FULL BACKUP:
TDPEXCC BACKUP * FULL (* SPECIFIES ALL THE RSG'S WHICH ARE IN EXCHANGE SERVER)
COPY BACKUP:
DIFF BACKUP:
IF WE WANT WE CAN TAKE THE BACKUP BY USING TDPEXCHANGE GUI, FOR THIS WE NEED TO CLICK ON
TDPEXC.EXE FILE, THEN TDPEXCHANGE GUI WILL OPEN
AFTER THAT WE NEED TO CONFIGURE THE SAMPLE FILES TO CONFIGURE SCHEDULE BACKUP
FOR FULL BACKUP OPEN THE TDPEXCFULL.SMP FILE AND ADD THE FOLLOWING ENTRY AND SAVE THE
FILE AS TDPEXCFULL.CMD FORMAT
FOR COPY BACKUP WE NEED TO EDIT THE TDPEXCCOPY.SMP FILE AND ADD THE BELOW ENTRY AND
SAVE THE FILE AS TDPEXCCOPY.CMD
IN THE TSM SERVER WE NEED TO DEFINE SCHEDULE WITH THE FOLLOWING COMMAND
INCR:
NEXT WE NEED TO ASSOCIATE THE EXCHANGE NODE VEDA_EXCHANGE TO THE EXCHNAGE SCHEDULES
IN THE CLIENT MACHINE, WE NEED TO CONFIGURE SEPERATE SCHEDULER SERVICES ONE SCHEDULER
SERVICE FOR FS BACKUP AND ANOTHER SCHEDULER SERVICE FOR EXCHANGE BACKUPS
WHILE CONFIGURING THE FS SCHEDULER SERVICE, WE NEED TO GIVE THE OPT FILE LOCATION AS
C:\PROGRAM FILES\TIVOLI\TSM\BACLIENT\DSM.OPT
IN THE EXCHNAGE SCHEDULER SERVICE, WE NEED TO GIVE THE LOCATION FO THE OPT FILE AS
c:\PROGRAM FILES\TIVOLI\TSM\TDPEXCHNAGE\DSM.OPT
TDP ORACLE:
BY USING TDPORACLE WE CAN TAKE ONLINE BACKUP OF ORACLE DATABASE (HOT BACKUP) THERE ARE
THREE TYPES OF BACKUPS IN TDP ORACLE
1) LEVEL0 BACKUP
2) LEVEL1 BACKUP
LEVE0 BACKUP: BY USING LEVEL0 BACKUP, WE CAN TAKE FULL BACKUP OF THE ORACLE DATABASE
LEVEL1 BACKUP: BY UISNG LEVEL1 BACKUP, WE CAN TAKE INCREMENTAL BACKUP OF ORACLE
DAATBASE
ARHIVE LOG BACKUP: BY USING ARCHIVE LOG BACKUP, WE CAN TAKE THE BACKUP OF ARCHIVE LOGS
WHICH ARE GENERATED BY ORACLE DATABSE
THE ARCHIVE LOGS STORE IN LOCAL DISK OF THE SERVER AND ONCE THE ARCHIVE LOG BACKUP IS
COMPLETED, THOSE LOGS WILL BE CLEARED FROM THE LOCAL DISK, IF ARCHIVE LOG DIRECTORY IS FULL
THEN ORACLE DATABASE GOES DOWN
IN TSM SERVER WE NEED TO REGISTER SEPERATE NODES, ONE FOR FS BACKUP AND ANOTHER ONE FOR
DATABASE BACKUP
C:\PROGRAM FILES\TIVOLI\TSM\BACLIENT\DSM.OPT
THE DAFAULT INSTALLATION DIR OF TDP ORACLE IS
C:\PROGRAM FILES\TVOLI\TSM\ORACLE\AGENTOBA\
DSM.OPT
TDPCONF.EXE
IN DSM.OPT WHICH IS IN TDP ORACLE DIR, IN THAT OPT FILE, WE NEED TO MENTION THE NODENAME
AS VEDA_ORA
ONCE OPT FILE IS CONFIGURED, WE NEED TO SET THE ORACLE NODE PASSWORD FROM THE
TDPORACLE DIRECTORY BY USING THE FOLLOWING COMMAND
TDPOCONF PASSWORD
THIS PASSWORD SHOULD BE ORACLE NODE PASSWORD, WHCIH IS REGISTERED IN TSM SERVER
ONCE THE PASSWORD IS SET, THEN WE NEED TO CHECK THE COMMUNICATION BETWEEN ORACLE
NODE AND TSM SERVER RUN THE FOLLOWING COMMAND IN TDP ORACLE DIRECTORY
SOME TIMES DBA'S WILL CONFIGURE THE SCRIPTS AND INFORM THE LOCATION OF THE SCRIPT TO
CONFIGURE SCHEDULE FROM TSM END
THEN IN TSM SERVER WE NEED TO DEFINE SCHEDULE WITH THE FOLOWING COMMAND
AFTER THAT IN CLIENT MACHINE WE NEED TO CONFIGURE SCHEDULE SERVICE FOR ORACLE BACKUPS
WHILE CONFIGURING, WE NEED TO MENTION THE LOCATION OF THE OPT FILE AS DSM.OPT WHICH IS IN
TDP ORACLE DIRECTORY
COLD BACKUP
HOT BACKUP
IN COLD BACKUP METHODOLGY, WE NEED TO SHUTDOWN THE ORACLE DATABASE, ONCE THE
DATABASE IS DOWN, THE DATABASE FILE ACTS AS NORMAL FILE SYSTEM
BY UISNG BACLINET WE CAN TAKE THE BACKUP THAT DATABASE FILE SYSTEM
HOTBACKUP:
IN HOT BACKUP MKETHODOLGY, WHEN THE DATABASE IS UP AND RUNNING (DATABASE IS ONLINE), BY
USING TDP ORACLE WE CAN TAKE ONLINE BACKUP OF THE ORACLE DATABSE
WHEN THE BACKUP STARTS, TDP ORACLE COMMUNICATE WITH ORACLE RMAN(RECOVERY MANAGER),
THEN RMAN WILL TAKE THE BACKUP OF THE DATABSE AND SEND IT TO TSM SERVER.
RMAN IS A PLUGIN THAT COMES WITH ORACLE DATABASE AND FOR ORACLE BACKUPS, BACKUPS
CONTROL BY RMAN (NOT BY TSM0 IN RMAN BACKUP SCRIPT BASED ON THE NO OF BACKUP VERSIONS
PARAMETER.
VEREXIST=1
VERDEL=0
RETEXTRA=O
RETONLY=0
===================================
IF THE CLIENT DAILY BACKUP DATA SIZE IS MORE THAT 150 gb IN THAT CASE IBM RECOMMENDED TO
GO FOR LAN FREE BACKUP
IN LANFREE BACKUP DATA TRANSFREMATION HAPPENS THROUGH FIBRE CHANNEL AND META DATA
DIRECTLY GOES TO TSM SERVER DATABASE VIA LAN AND ACTUAL DATA DIRECTLY GOES TO TAPE
LIBRRAY THROUGH FIBRE CHANNEL(WITH OUT LAN)
TO IMPLEMENT THE LAN FREE BACKUP FIRST WE NEED TO ZONE THE TAPE DRIVES TO THE CLIENT
MACHINE, WHICH SYSTEM WE ARE USING FOR LANFREE BACKUP
ONCE TAPE DRIVES ARE ZONED, WE NEED TO INSTALL TAPE DRIVERS IN THE LAN FREE CLIENT MACHINE
NEXT WE NEED TO INSTALL BA CLIENT AND STORAGE AGENT SOFTWARE IN THE CLIENT MACHINE, ONCE
STORAGE AGENT IS INSTALLED, LAN FREE CLIENT ACTS AS A SERVER (ALSO CAN BE CALLED AS STORAGE
AGENT SERVER)
AFTER THAT WE NEED TO ESTABLISH SERVER TO SERVER COMMUNICATION BETWEEN LAN FREE CLIENT
AND TSM SERVER
IN TSM SERVER WE NEED TO DEFINE STORAGE AGENT SERVER AS A SERVER (FOR EXAMPLE WE ARE
TAKING LAN FREE BACKUP OF MACHINE VEDA, THEN STORAGE AGENT NAME NAMING CONVENTION
SHOULD BE VEDA_STA)
AFTER THAT WE NEED TO DEFINE THE TAPE DRIVE PATHS BETWEEN LANFREE CLIENT AND TAPE DRIVES
IN TSM SERVER (TAPE DRIVES PATHS WHICH ARE USING FOR LAN FREE BACKUP)
FOR EXAMPLE WE ARE USING DRIVE5, DRIVE6 AND DRIVE7 FOR LAN FREE BACKUP, SO WE NEED TO
DEFINE THREE TAPE DRIVE PATHS IN TSM SERVER WITH THE FOLLOWING COMMAND
HERE SOURCE SHOULD BE STORAGE AGENT NAME AND DESTINATION SHOULD BE DRIVE NAMES
(DRIVE5, DRIVE6, DRIVE7)
STORAGE AGENTNAME=VEDA_STA AND DRIVE NAMES ARE DRIVE5, DRIVE6 AND DRIVE7
=====================================================
ONCE WE INSTALLED THE BA CLIENT AND STORAGE AGENT SOFTWARE IN THE CLIENT MACHINE
c:\PROGRAMFILES\TIVOLI\TSM\BACLIENT
C:\PROGRAMFILES\TIVOLI\TSM\STORAGEAGENT
DSMSTA.OPT
DEVCONFIG.TXT
DEVCONFIG DEVCONFIG.TXT
SERVERNAME TSMSERVERNAME
ONCE THE DEVCONFIG.TXT AND DSMSTA.OPT FILES ARE CONFIGURED THEN WE NEED TO SET THE
STORAGE AGENT PASS, FOR THIS GO TO THE STORAGE AGENT DIRECTORY
C:\PROGRAMFILES\TIVOLI\TSM\STORAGEAGENT
C:\PROGRAMFILES\TIVOLI\TSM\STORAGEAGENT\DSMSTA
STORAGEAGENTNAME: VEDA_STA
STORAGEAGENTPASS: VEDA_STA
CONFIRMATIONPASS: VEDA_STA
ONCE STGAGENT PASSWORD IS SET, THEN WE NEED TO CHECK THE COMMUNICATION BETWEEN
LANFREE (STORAGE AGENT) AND TSM SERVER,
DSMSTA Q SESS
ONCE STGAGENT IS CONFIGURED, THEN GO TO THE BA CLIENT DIRECTORY AND OPEN THE DSM.OPT
FILE AND ADD THE FOLLOWING PARAMETERS
NODENAME LANFREENODENAME (NAME OF THE NODE WHICH BACKUP RUNS VIA LANFREE)
TCPSERVERADDRESS TSMSERVERIPADDRESS
LANFREECOMMETHOD TCPIP
PASSWORDACCESS GENERATE
RESOURCEUTILIZATION 5
ONCE THE ABOVE PARAMETERS ARE ADDED IN DSM.OPT FILE, THEN SET THE NODE PASSWORD BY
USING DSMC
THEN IT WILL ASK FOR USERID AND PASSWORD AND CONFIRMATION PASSWORD
IN TSM SEREVR WE NEED TO VALIDATE THE LANFREE BY USING THE FOLLWING COMMAND
AND IN NODE DEFINITION WE NEED TO UPDATE THE FOLLWOING PARAMETERS DATAREADPATH AND
DATAWRITEPATH TO LANFREE
WHEN WE RUN THE LAN FREE BACKUP FOR THE NODE (VEDA). THEN BACKUP RUNS VIA LANFREE
TO CHECK THE STORAGE AGENT SESSIONS IN TSM SERVER USE THE FOLLWOING COMAND
Q SESS
TO CHECK WHETHER THE LANFREE BACKUP IS RUNNING OR NOT GIVE THE FOLWING COMAND IN TSM
SERVER
STORAGEAGENTNAME:Q SESS
VEDA>VEDA_STA:Q SESS
NOTE: WHEN WE INSTALL THE STORAGE AGENT SOFTWARE IN THE CLIENT, AUTOMATICALLY
STORGAENT AGENT SERVICE WILL COME, THIS CAN BE CHECKED IN SERVICES (SERVICES.MSC) AND THIS
SERVICE SHOULD BE IN STARTED MODE.
BY USING SHARED LIBRARY CONCEPT, SINGLE TAPE LIBRARY CAN BE SHARED AMONG MULTIPLE TSM
SERVER
IN MULTIPLE TSM SEREVRS, ONE TSM SERVER ACTS AS LIBRARY MANAGER AND REST OF THE TSM
SEREVRS ACTS AS LIBRARY CLIENTS
IN LIBRRAY MANAGER TSM SERVER WE NEED TO DEFINE THE TAPE LIBRRAY WITH SAHRED=YES
PARAMETER
SYNTAX:
IN LIBRARAY MANAGER TSM SERVER TSM1, WE NEED TO DEFINE THE LIBRARY PATH
IF WE HAVE 10 DRIVES IN THE TAPE LIBRRAY THEN WE NEED TO DEFINE THE TAPE DRIVES IN TSM
SERVER
SYNTAX:
IF WE WANT USE DRIVE5 AND DRIVE6 AND DRIVE7 BY TSM2 TSM SERVER, THEN WE NEED TO DEFINE
DRIVE PATHS IN TSM1 TSM SERVER WITH SOURCE AS TSM2
IF WE Want to use DRIVE8,DRIVE9 AND DRIVE10 BY TSM3 TSM SERVER, THEN WE NEED TO DEFINE
DRIVE PATHS IN TSM1 TSM SERVER WITH SOURCEAS TSM3
USE THE FOLLOWING COMMAND TO CHECK LAST 24 HOURS MISSED AND FAILED BACKUPS
FOR THIS WE NEED TO TRY RDP AND IF THE RDP IS NOT WORKING THEN WE NEED TO PING THE CLIENT
MACHINE FROM TSM SERVER,
IF THE CLIENT MACHINE IS NOT REACHABLE THEN WE NEED TO CHECK WITH OPERATING SYSTEM TEAM
2: IF THE TSM CLIENT SCHEDULER SERVICE IS NOT RUNNING, IN THAT CASE BACKUP GETS MISSED
FOR THIS WE NEED TO START THE TSM CLIENT SCHEDULER SERVICE IN CLIENT MACHINE
3: IF THERE NETWORK CONNECTIVITY ISSUE BETWEEN TSM CLIENT AND TSM SERVER, IN THAT CASE
BACKUP GETS MISSED
FOR THIS WE NEED TO CHECK WITH OPERATING SYSTEM TEAM AND NETWORK TEAM
4: IF THE NODE PASSWORD GOT EXPIRED IN THAT CASE BACKUP GETS MISSED WITH AUTHENTICATION
FAILURE ERROR AND SCHEDULER SERVICE WILL BE STOPPED
FOR THIS WE NEED TO UPDATE THE NODE PASSWORD IN TSM SERVER AND THEN START THE
TSMCLIENT SCHEDULER SERVICE IN THE CLIENT MACHINE.
1: IF THE DISK STORAGE POOL IS FULL IN THAT CASE BACKUP GETS FAIL WITH SERVER OUT OF STORAGE
SPACE ERROR
FOR THIS WE NEED TO CHECK THE DISK STGPOOL UTILIZATION IN TSM SERVER AND WE NEED TO RUN
MANUAL MIGRATION IF NEEDED.
2:IF IT IS WINDOWS MACHINE SOME TIMES SYSTEM STATE BACKUP GETS FAIL DUE TO THE VSS
ISSUE(VOLUME SHADOW COPY SERVICE)
FOR THIS WE NEED TO RUN THE FOLLOWING COMMAND IN WINDOWS COMMAND LINE
IF THERE IS ANY WRITE ERRORS IN VSS, THEN WE NEED TO CHECK WITH WINDOWS TEAM
NOTE;VSS IS UTILITY IN WINDOWS OPERATING SYSTEM, BY USING VSS, WE CAN TAKE THE BACKUP OF
SYSTEM STATE
BY TAKING SYSTEMSTATE BACKUP, WE CAN TAKE BACKUP OF ALL THE SERVICES RUNNING ON THE
WINDOWS MACHINE
IF THE FILE GOT CORRUPTED IN THE CLIENT MACHINE, IN THAT CASE BACKUP GETS FAIL WITH FILE I/O
ERROR
THEN OPERATING SYSTEM TEAM PERFORM CHKDSK(CHECK DISK) COMMAND IN OPERATING SYSTEM
LEVEL
4:IF THE COMMUNICATION DROP HAPPENS BETEEN TSM CLIENT AND TSM SERVER WHEN THE BACKUP
IS RUNNING, IN THAT CASE BACKUP GETS FAIL WITH TCP/IP COMMUNICATION FAILURE ERROR
5:IF IT IS LAN FREE BACKUP,SOME TIMES BACKUP GETS FAIL WITH SCRATCH MOUNT REQUET DENIED
ERROR, IF THERE IS NO SCRATH TAPES WITH IN THE TAPE LIBRARY
FOR THIS WE NEED TO LOAD SCRATCH TAPES INTO THE TAPE LIBRARY
6: IF THE MEMORY UTILIZATION IS HIGH ON THE CLIENT MACHINE WHEN THE BACKUP IS RUNNING, IN
THAT CASE BACKUP GETS FAIL WITH "INSUFFICENT SYSTEM RESOURCES" ERROR
MEMORYEFFICIENTBACKUP YES
NOTE; IF ANY CHANGES MADE TO THE DSM.OPT FILE THEN WE NEED TO REFRESH THE TSM CLIENT
SCHEDULER SERVICE TO EFFECT THE CHANGES
=======================================
BY USING CLIENTACTION WE CAN RUN THE BACKUP FROM TSM SERVER ITSELF
Daily Activities::
1: we need to check last 24 hours missed AND FAILED BACKUPS, IF ANY OF THE BACKUP MISSED OR
FAILED WE NEED TO TROUBLE SHOOT THOSE FAILURES
IF THERE IS NO SCRATCH TAPES WITH IN THE TAPE LIBRARY, IN THAT CASE STORAGE POOL BACKP GETS
FAIL, IF THE TAPE DRIVES ARE BUSY WHEN RUNNING THE STGPOOL BACKUP, IN THAT CASE STGPOOL
BACKUP GETS FAIL
IF THERE IS NO SCRATCH TAPES WITH IN THE TAPE LIBRARY, IN THAT CASE TSM DB BACKUP GETS FAIL,
FOR THIS WE NEED TO LOAD SCRATCH TAPES IN TO THE TAPE LIBRARY.
IF THERE IS NO SPACE IN DESTINATION STGPOOL IN THAT CASE MIGRATION GETS FAIL, FOR THIS WE
NEED TO INCREASE THE MAX SCATCH VALUE IN STGPOOL
IF THE TAPE DRIVES ARE BUSY, WHILE MIGRATION ISRUNNING INTHAT CASE MIGRATION GETS FAIL
D) REASON FOR RECLAMATION FAILURE;
IF THE PRIMARY TAPES ARE NOT WITH IN THE TAPE LIBRARY, IN THAT CASE RECLAMATION GETS FAIL
SOME TIME WE NEED TO EJECT THE PRIMARY TAPES FROM THE TAPE LIBARAY, IF THE TAPE LIBRARY IS
FULL
IN THAT CASE RECLAMATION FAILS AND THE VOLUMES WHICH ARE NOT WITH IN THE TAPPE LIBRARY,
THOSE VOLUMES AUTOMATICALLY GOES TO UNAVAILABLE STATE
FOR THIS WE NEED TO LOAD THE PRIMRARY TAPES WHICH ARE OUT SITE THE LIBRARY AND WE NEED
TO CHANGE THE ACCESS OF THAT VOLUMES TO READWRITE
IF THE TAPES ARE NOT WITH IN THE TAPE LIBRARY, IN THAT CASE TAPE GOES TO UNAVAILABLE STATE
FOR THIS WE NEED TO LOAD THE TAPES INTO THE TAPE LIBRARY.
IF THERE IS PROBLEM IN READING THE LABLE OF THE TAPE, INTHAT CASE TAPE GOES TO UNAVAILABLE
STATE IN THAT CASE WE NEED TO RESTORE THE PRIMARY TAPE DATA FROM COPY TAPES
Q DB
1: IF THERE IS SPACE AVAILABLE TO EXTEND THE DATABASE THEN WE NEED TO EXTEND THE TSM
DATABASE
2: IF THERE IS NO AVAILABLE SPACE TO EXTEND THE TSM DATABASE , THEN WE NEED TO CREATE TSM
DB VOLUMES AND THEN WE NEED TO EXTEND THE TSM DATABASE
Q LOG
1; IF THERE IS ANY AVAILABLE SPACE TO EXTEND THE LOG, THEN WE NEED TO EXTEND THE LOG
2: IF THERE IS NO AVAILABLE SPACE TO EXTEND THE LOG, THEN WE NEED TO CREATE LOG VOLUMES
AND THEN WE NEED TO EXTEND THE LOG
3: IF THE RECOVERY LOG SPACE IS COMPLETELY UTILIZED AND THE LOG UTILIZATION IS HIGH AND
THERE IS NO SPACE TO EXTEND THE LOG, THEN WE NEED TO CHECK WHICH IS CAUSING THE RECOVERY
LOG UTILIZATION HIGH BY UISNG THE FOLLOWING COMMAND
SHOW LOGPIN
THEN IT DISPLAYS, WHICH BACKUP SESSION IS CAUSING THE RECOVERY LOG UTILIZATIOH HIGH
MOST OF THE TIMES ORACLE BACKUPS CAUSE THE RECOVERY LOG UTILIZATION HIGH, IN THAT CASE WE
NEED TO CANCEL THE BACKUP WHICH IS CAUSING THE LOG UTILIZATION HIGH
BEFORE CANCELLING THE BACKUP THEN WE NEED TO CHECK WITH ORACLE DBA TO GET THE APPROVAL
TO CANCEL BACKUP
ONCE ORACLE DBA IS APPROVED THEN WE NEED TO CANCEL THE BACKUP BY USING THE FOLLOWING
COMMAND
EVEN AFTER CANCELLING THE BACKUP SESSION, STILL THE RECOVERY LOG UTILIZATION IS NOT COMING
DOWN, THEN WE NEED TO REFERSH THE TSM SERVER SERVICE
Q DRIVE
8: IF ANY NEW BACKUP CONFIGURATION REQUEST COMES WE NEED TO CONFIGURE BACKUP FOR THAT
SERVER
Q STG
IF THE DISK STGPOOL UTILIZATION IS HIGH, THEN WE NEED TO RUN MANUAL MIGRATION
MIGRATE STG STGNAME LOW=10
HARDWARE ISSUES:
1: SOME TIMES THERE MAY BE TAPE STRUCK IN THE TAPE DRIVE AND TAPE DRIVE GOES TO UNKNOWN
STATE, THIS CAN BE IDENTIFIED USING THE FOLLOWING COMMAND
TO FIX THIS ISSUE, WE NEEED TO LOGIN TO THE LIBRRAY GUI AND NEED TO REMOVE THE STRUCK TAPE
FROM THE TAPE DRIVE
EACH TAPE LIBRARY HAS iP ADDRESS AND WE NEED TO GIVE THE IP ADDRESS IN INTERNET EXPLORER
AND THEN IT WILL ASK FOR USERID AND PASSWORD
TO REMOVE THE STRUCK TAPE FROM THE TAPE DRIVE, THEN SELECT THE DRIVESUMMARY IN THE LEFT
PANE OF THE TAPE LIBRAY THEN SLECT THE TAPE DRIVE, IN WHICH TAPE DRIVE THE TAPE GOT
STRUCKED
THEN THE TAPE WILL BE EKJECTED FROM THE TAPE DRIVES AND IT MOVES TO EMPTY STORAGE SLOT OF
THE TAPE LIBRARY
SOME TIMES TAPE MAY NOT BE EJECTED FROM THE TAPE DRIVE BY USING LIGRARY GUI, IN THAT CASE
WE NEED TO CONTACT ONSITE TEAM TO REMOVE THE STRUCK TAPE FROM THE TAPE DRIVE
EVEN ONSITE TEAM ALSO NOT ABLE TO REMOVE THE STRUCK TAPE, THEN WE NEED TO LOG A
HARDWARE CALL WITH IBM AND WE NEED TO ASK IBM ENGINEER TO COME ONSITE TO REMOVE THE
STRUCK TAPE FROM THE TAPE DRIVE
THEN IBM ENGINEER VISITS THE DATA CENTER AND REMOVE THE STRUCK TAPE AND IF REQUIRED HE
REPLACES THE TAPE DRIVE WITH NEW TAPE DRIVE.
NOTE:
WHEN WE RAISE THE HARDWARE CALL WITH IBM, WE NEED TO PROVIDE COTRACT DETILS TO THE IBM
CUSTOMER CARE.
2)IF THERE IS MISMATCHING BETWEEN DEVICE NAMES IN TSM SERVER LEVEL AND TSM SERVER
OPERATING SYSTEM LEVEL, IN TAHT CASE ALSO TAPE DRIVE SHOWS AS UNKNOWN STATUS
IN THA CASE WE NEED TO CHECK THE TAPE DRIVE DEVICE NAMES IN TSM SERVER OSLEVEL AND WE
NEED TO COMPARE WITH DEVICE NAMES IN TSM SERVER LEVEL
IF WE FIND ANY MISMATCHING BETWEEN DEVICE NAMES THEN WE NEED UPDATE THE DRIVE PATHS IN
TSM SERVER LEVEL WITH CORRECT DEVICE NAMES BY UPDATE PATH COMMAND, WHICH ARE
VISIBLE IN TSM SERVER OSLEVEL
TO CHECK THE TAPE DRIVE DEVICE NAMES IN TSM SERVER LEVEL USE Q PATH F=D
TO CHECK THE TAPE DRIVE DEVICE NAMES TSM SERVER OSLEVEL USE THE FOLLOWING COMMAND
LSCFG VL RMT*
DRIVE STATE:
SOME TIMES IF THERE IS HARDWARE PROBLEM WITH THE TAPE DRIVE OR CONNECTIVITY ISSUE
BETWEEN TSM SERVER AND TAPE LIBRARY, IN THAT CASE TSM TRIES TO ACCESS THE TAPE DRIVE AND IT
MAKES THE DRIVE TO POLLING STATE AND FINALLY TSM MAKES THE DRIVE PATH TO OFFLINE
IN THAT CASE WE NEED TO CHECK THE PHYSICAL CONNECTIVTY BETWEEN TSM SERVER AND TAPE
LIBRARY, IF THE CONNECTIVITY IS FINE, THEN WE NEED TO RAISE A HARDWARE CALL WITH IBM,
SOME TIMES THERE MAY BE TAPE STRUCK IN THE GRIPPER AND IN THAT CASE IF YOU GIVE "Q MOUNT"
COMMMAND IN TSM SERVER, IT WON'T GIVE ANY OUTPUT AND THE COMMAND GETS HUNG
FOR THIS WE NEED TO LOGIN TO THE LIBRARY GUI AND THEN SELECT LIBRARY OPTION IN LEFT PANE OF
THE LIBRARY AND CLICK ACCESSOR OPTION, THEN IT DISPLAYS THE GRIPPER DETAILS IN THE RIGHT
PANE OF THE LIBRARY
IF WE FOUND ANY TAPE STRUCK IN THE GRIPPER, THEN IT SHOWS THE TAPE DETAILS WHICH IS
STRUCKED IN THE GRIPPER AND GRIPPER STATUS SHOWS AS OFFLINE OR FAILED
IN THAT CASE WE NEED ASK ONSITE TEAM TO REMOVE THE STRUCK TAPE FROM THE GRIPPER, ONCE
STRUCK TAPE IS REMOVED FROM THE GRIIPER THEN GRIPPER COMES ONLINE AND IT WILL WORK
AUTOMATICALLY
SOME TIMES EVEN AFTER REMOVING THE STRUCK TAPE FROM THE GRIPPER, GRIPPER MAY NOT WORK
AND STILL THE GRIPPER STATUS SHOWS AS OFFLINE, IN THAT CASE WE NEED LOG A HARDWARE CALL
WITH IBM, THEN IBM ENGINEER WILL COME AND REPLACE THE FAILED GRIPPER'
CLIENTACTION OR IMMEDIATE SCHEDULE OR INITIATING BACKUP FROM TSM SERVER ITSELF(ONE TIME
SCHEDULE). BY USING CLIENTCTION, WE CAN DEFINE ONE TIME SCHEDULE IN TSM SERVER
C:\PROGRAM FILES\TIVOLI\TSM\BACLIENT
LINUX:
/OPT/TIVOLI/TSM/CLIENT/BA/BIN/
AIX:
/USR/TIVOLI/TSM/CLIENT/BA/BIN
/USR/TIVOLI/TSM/CLIENT/BA/BIN64
WINDOWS:
c:\PROGRAM FILES/TIVOLI/TSM/SERVER
UNIX/LINUX:
/OPT/TIVOLI/TSM/SERVER/BIN
AIX:
/USR/TIVOLI/TSM/SERVER/BIN
=================================================
WINDOWS:
UNIX/LINUX/IX:
PS -EF|GREP DSMSERV
===============================================
WINDOWS;
GO TO THE SERVICE.MSC AND SELECT TSMSERVER1 SERVICE ND RIGHT CLICK ON THE SERVICE , THEN
CLICK ON START
UNIX/LINUX/AIX:
UNIX;
/OPT/TIVOLI/TSM/SERVER/BIN
/OPT/TIVOLI/TSM/SERVER/BIN/./DSMSERV
AIX:
/USR/TIVOLI/TSM/SERVER/BIN
/USR/TIVOLI/TSM/SERVER/BIN/./DSMSERV
================================================
METHOD1:
JUST HALT THE TSM SERVER AND THEN CECK IN THE TSM SERVER OPERATING SYSTEM LEVEL BY USING
THE FOLLOWING COMMAND
HALT
THEN CHECK THE SERVVICES ARE STOPPED OR NOT USING THE FOLLOWING COMMAND:
PS -EF|GREP DSMSERV
METHOD2:
PS -EF|GREP DSMSERV
THEN ONCE PROCESS DISPLAYS , THEN WE NEED TO CANCEL THAT PROCESS, BY USING THE FOLOWING
COMMAND
KILL -9 PROCESSID
===================================================
WINDOWS:
c:\PROGRAM FILES\TIVOLI\TSM\SERVER\TSMDIAG\
UNIX/AIX:
ONCE LOGGED INTO THE SERVER, THEN LOGIN AS ROOT USER, BY SUING THE FOLLOWING COMMAND
SUDO SU - ROOT
THEN, WE NEED TO GIVE DSMADMC
==========================================
WINDOWS:
DSM.OPT
DSMSCHED.LOG
DSMERROR.LOG
DSM.OPT:
DSMSCHED.LOG:
DSMERROR.LOG:
UNIX/AIX:
SERVERNAME TSMSERVERNAME
NODENAME NODENMAE
PASSWORDACCESS GENERATE
COMMMETHOD TCPIP
TCPPORT 1500
===============================================
DSMSERVER.DSK:
DEVCONFIG.OUT:
VOLHIST.OUT:
ex:
To check how many days the TSM server can maintain activity log records
Based on the "Act log Retention" parameter we can maintain the actlog information
set actlogretention 10
===========================================
Selective backup
===========================================
SET EVENTRETENTION 30
event log parameter specifies how many days the tsm server can maintain the event detils(events are
nothing but schedule backup details in tsm server)
in the above example TSM server can maintain last 30 days backup schedule details
TO CHECK WHAT ARE THE TAPES MOUNTES IN THE TAPE DRIVES USE THE FOLLOWING COMMAND IN
TSM SERVER
Q MOUNT
=====================================================================================
WINDOWS:
GO TO THE START MENU AND CLICK ON RUN==> THEN TYPE "SERVICES.MSC"===> CLICK ON OK
LINUX/AIX/UNIX:
WINDOWS:
IPCONFIG /ALL
LINUX/AIX/UNIX:
IFCONFIG -A
WINDOWS:
LINUX/AIX/UNIX:
HOSTNAME
WINDOWS:
UNIX/AIX/LINUX:
OSLEVEL -k OR BOOTINFO -Y
5: TO OPEN FILE IN LINUX/AIX/UNIX OPERATING SYSTEM:
NOTE:IF THE FILE CONTAINS 1000 LINES AND IF WE WANT TO CHECK LAST 100 LINES IN THAT FILE ,
THEN WE NEED TO USE
VI FILENAME
THEN WE NEED CLICK ON "I" BUTTON IN THE KEY BOARD TO INSERT THE DATA INTO THAT FILE
ONCE THE DATA IS INSERTED INTO THAT FILE, THEN WE NEED TO HIT ESC BUTTON ON THE KEY BOARD
UNAME A
WINDOWS:
THEN ONE DIALOUGE BOX WILL OPEN, THERE WE NEED TO GIVE IPADDRESS OF ANOTHER
MACHINE==>CLICK ON CONNECT==>
UNIX/AIX/LINUX:
WINDOWS;
LOGOFF
UNIX/LINUX/AIX:
EXIT
10:TO REBOOT THE MACHINE
LINUX/AIX/UNIX:
RM FILENAME
RM -RF DIRECTORYNAME
1) Database DB
2) Active Log
3) Archive Log
4) Storage Pools
5) Policy Management
6) Scheduler
7) Administrative Interfaces
=====================================================================================
=============================
2) IN TSM 6 TSM DATABASE INBUILT WITH DB2 AND THE MAXIMUM SIZE OF TSM DATABASE IS 1 TB
IN TSM 6 INSTEAD OF RECOVERY LOG, WE HAVE ACTIVITY LOG AND ARCHIVE LOG
ACTIVITY LOG WORKS AS NORMAL MODE AND ARCHIVE LOG ACTS AS ROLLFORWARD MODE
THE MAX SIZE OF ACTIVIELOG IN TSM 6 IS 128 GB AND ARCHIVE LOG SIZE IS DEPENDS ON THE
ENVIRONMENT (NO LIMITS FOR ARCHIVE LOG SIZE, USUALLY THE SIZE COULD BE 3 TIMES OF ACTIVE
LOG)
=====================================================================================
==========================
3) IN TSM 6 WE CAN RUN THE TSM DB BACKUP IN MULTIPLE STREAMS, BY DEFAULT DB BACKUP RUNS
ON ONE PROCSS
Sort Overflows: 0
=====================================================================================
====================================
4) IN TSM 6 WE NEED TO MENTION THE DEVICE CLASS IN TSM DATABASE DEFINTION FOR AUTOMATIC
BACKUP OF TSM DB
SET DBRECOVERY deviceclassname (Set the device class for automatic backup of the tsm server
database)"
IN TSM6 WE HAVE DATA DEDUPLICATION AVAILABLE AND DATA DUPLICATION CAN BE USED IN BOTHE
THE WAYS
DATADEDUPLICATION YES
AND WHILE REGISTERING THE NODE IN TSM SERVER, WE NEED TO ADD THE FOLLOWING PARAMETER
DEDUPLICATION=CLIENTOrserver
to enable node replication, first we need to have server to server communication and we need to set
the replication server in both source and target tsm server
once we set the replication servers then in source server we need to replicate(copy) the node data from
source tsm server to target tsm server by using the following command
then data replicates to target server, the advantage of replication is, if source tsm server is not available,
we can access the node data from target server
=====================================================================================
=====================================================================================
IN TSM 6 IF WE WANT TO THE DATABASE VOLUMES USE THE FOLLWOING COMMAND
Q DBSPACE
tsm: ADSM_CLPTSM001>
To increase the TSM database size in TSM 6, we dont need to create TSM Database volumes and extend
the DB
We can directly create the database directory by using the following command
Def dbspace directoryname
Automatically space is allocated the TSM database by TSM Database Manager (depends on the directory
size)
=====================================================================================
=================================
IN TSM 6 IF WE WNAT TO CHECK ACTIVE LOG AND ARCHIVE LOG USE THE FOLLWOING COMMAND
=====================================================================================
=============================================================================
Infrastructure set up or environment setup:
If interviewer asks about the environment setup, we need to answer like this
2) We are taking backup of 2000 clients and each tsm server is taking backup 200 clients
3) We are taking file system backup, oracle backups and sql backup and exchange backup
5) Daily backup data size of each tsm server is approx. 1 TB (as it is incremental backup) and weekend
backup data size is approx. 6 TB for each tsm server
=====================================================================================
=============================================================
Manager round:
2) Priorities in ticketing tool and explain which what all requests will come for priorities?
P1: need to respond within 15 minutes and need to resolve with in 1 Hour
P2: need to respond with in 1 Hour and need to resolve within 4 Hours
P3: need to respond within 4 Hours and need to resolve within 8 Hours
P4: need to respond within 8 hours and need to resolve within 2 days.
Tickets Directly come to Ticketing Tool and we need to accept the Tickets from the Queue
I.e any restore request, any new backup configuration requests, directly comes to Ticketing tool
In ticketing tool we have Distribution list and tickets will be assigned to our DL
Then we need to accept the Tickets from the queue and work on it
If any backup failure, L1 team(monitoring team) will create ticket and assign it to backup team queue
4) Clearly explain incident management, problem management and change management and what all
issues u faced?
Incident means: any backup failure or any restore request will be raised as incident these incidents
Change management: if any change need to be performed Like Hard ware replacement in Tape Library
Or any new backup configuration for this we need to go through the change process, we need to get the
Approval from customer, then only we need to implement the change as per the schedule
Major issues means, Gripper failure issues in the tape library, then I had logged a call with
IBM to replace the failed gripper not to impact the production servers backups
=====================================================================================
====
Backup set:
Backup set is group of active files, that can be stored in particular media, (backup sets maintains active
files only)
the advantage of backup set is we can recover the data from the tapes without tsm server interventions
to check whether the backup set is running or not use the following command q pr in TSM servers
to check whether the backup set is completed or not, use the following command
q Volhist t=backupset
Command to restore the tsm server database if tsm db is corrupted:
To check whether the db backup is completed or not, use the foolwing command q db f=d or q volhist
t=dbb
1) check the plan file which is generated by running prepare command in TSM server
=====================================================================================
===============================
the advantage of db and log mirror copies are if any db or log volume is corrupted, in that case we can
recover the data from mirror volumes
=====================================================================================
=========================================================================
Sudo su - root
cd /home
Sudo su - tsminst1
EXPInterval:
Specifies the interval, in hours, between an automatic inventory expiration run by the TSM server.
Inventory expiration removes client backup and archive file copies from the server.
Expiration processing is very CPU and I/O intensive. If possible, it should be run when other TSM
processes are not occurring. To enable this, either schedule expiration once per day, or set EXPInterval
to 0 and manually start the process with the EXPIRE INVENTORY command at the server. The default is
24.
MAXNUMMP:
The MAXNUMMP setting for the node, in the server, specifies the maximum number of mount points a
node is allowed to use on the server and can be set to an integer from 0-999.
MAXSessions:
Specifies the maximum number of simultaneous client sessions that can connect with the TSM server.
MAXSessions 25 (default)
Specifies the maximum number of SCHEDULE sessions that can RUN IN the TSM server.
This option specifies the number of files that are to be moved and grouped together in a batch, within
the same server transaction.
The default value for MOVEBatchsize is 40 and the maximum value is 1000. The default value for
MOVESizethresh is 500 and the maximum value is 2048.
MOVEBatchsize and MOVESizethresh options help tune the performance of server processes that
involve the movement of data between storage media.
RESTOREINTERVAL:
Restartable restores allow restores to continue after an interruption without starting at the beginning.
This reduces duplicate effort or manual determination of where a restore process was terminated.
A new server option, RESTOREINTERVAL, defines the amount of time an interrupted restore can remain
in the Restartable state.
RESTOREINTERVAL minutes (default 1,440 minutes)
Tivoli Storage Manager backup and restore performance with a large number of clients,
Consider using Tivoli Storage Manager Client compression. Compressing the data on the client reduces
demand on the network and on the Tivoli Storage Manager server. The reduced amount of data on the
server continues to provide performance benefits whenever this data is moved, such as for storage pool
migration and storage pool backup.
However, client compression may significantly reduce the performance of each individual client--the
reduction will be more pronounced on the slowest client systems.
MEMORYEFFICIENTBACKUP:
With the MEMORYEFFICIENTBACKUP option, TSM backs up one directory at a time. By default, TSM
backs up all the directories at once.
The default option is very memory intensive. To save memory on clients with a limited amount of
memory and large filesystem files, turn MEMORYEFFICIENTBACKUP on.
RESOURCEUTILIZATION:
Resourceutilization is a client option used to regulate the level of resources (i.e. number of concurrent
sessions) the TSM client and server can use during processing.
Multiple sessions are created automatically through a single invocation of a TSM backup/restore or
archive/retrieve command.
TAPEPrompt:
The TAPEPrompt option specifies if you want TSM to wait for a tape to be mounted for a backup,
archive, restore or retrieve operation, or prompt you for your choice.
TAPEPrompt No
=================================================================================
Sessions Status in TSM server when you give Q SESS command in TSM server
=====================================================================================
==============
MIGRATION CACHED: BY DEFAULT migration cached is NO and if we enable the migration cache
parameter(YES), then even after completion of migration, one copy still exist in the disk storage pool,
When the space required for new backups in the disk storage pool, then the copy which is in the disk
storage pool will be automatically deleted by TSM
The advantage of this parameter is, if latest backup data needs to be recovered, in that case recovery
performance will be very faster.
Migration delay parameter specifies how many no of days the data to be delayed for migration; even it
reaches the HIGH migration value.
If we mention migration delay parameter to 2, then the data remains in the disk storage pool for two
days and after two days, data will be migrated to tape storage pool.
Migration continues:
By default migration continue parameter is yes, if we enable the migration delay parameter and set the
migration continue to yes, then migration delay parameter doesnt work and data will be continuously
migrated from disk storage pool to tape storage pool.
THIS PARAMETER is applicable to copy storage pool and by default reuse delay parameter value is 0
days, when the offsite reclamation completes for volumes, then those volumes automatically goes to
vaultretreive state
If we mention the reuse delay value to 5 days, when the offsite reclamation completes for the volumes,
then those volumes go to PENDING state for 5 days and after five days, tapes go to vaultretereive state
We can recover the data from the pending volumes with in these five days
Vaultretreive tapes are nothing but, the tapes which becomes empty after offsite reclamation
MOVE DATA:
By using move data, we can move the data from one volume to another volume, after moving the data,
the source volume becomes empty
There are two ways to cerate to scratch volumes in the Tape library
Move data can performed on Single volume and if we want we can move the data from tape to disk
But if we run the Space reclamation, reclamation runs for all the volumes which are used by the storage
pool and reclamation can be performed on set of volumes not for a single volume.
By using move node data, we can move the node data from one storage pool to another storage pool
Syntax:
First we need to delete the file space of a node by using the following command
Delete fi nodename *
Ex:
Del fi XYZ *
After deleting the nodedata, then we need to remove the node from TSM server by using the following
command
To check, how much space is occupied for each node in TSM server, use the following command:
Q auditoccupancy
To check, how many number of Scratch tapes with in the Tape Library:
Readonly
Readwrite
Unavailable
Destroyed
Short cuts:
Define def
Delete Del
Remove = rem
Register = reg
Volume = vol
Domain = Dom
Policyset = pol
Update = upd