Sie sind auf Seite 1von 172

CONTENTS

Server
Db and log
Stgpool
Device class
Library
Client side
Backup
Restoration
Scheduling
Migration
Collacation
Expire inventory
Reclaimation
Scripts and macros
Server to server communication
Command routing
Export and import
Virtual volumes
Drm

Tdp sql
Tpd domino
Tdp oracle
Tdp exchange
Set commands
Reset Statistics
Sessions and processes
Show and cancle
Aix
Creating VG
Crating LV
Creating FS
Making directories
Installation of TSM server
Usefull dos regarding to the TSM

SERVER
Registering the administrators

Giving various privileges to the admins

Removing the administrators

Knowing the Server status:

Knowing the server options information

There may Exists Some more options which are influence the server
performance.

Knowing the servers Defined in your server

SERVER TUNING PARAMETERS


Set the server option values
*Communication timeout

*Bufferpool Size

*MaxServersession limit

*Log % warning

*Reclamation Delay

*MOVEBATCHSIZE

*MOVESIZETHRESH

*IDLE TIMEOUT

*EXPQUIET

DB & LOG
Define DB N LOG Volumes

We can get the Details of Volume creation in Activity Log


For db

For log

Knowing Details about DB N LOG by Q command N Extending DB

LOG details N Extending log volumes

Reducing assigned capacity of DB N LOG

By Q command Knowing the details

Reducing Log Assigned Size

Taking Backup of DB

Knownig backup details in DB Backup volumes history

Taking dump for DB when it is in inconsistence state

Unloading the DB from Dump vol ie by using .dmp vol in Device class

Then we have to format all the volumes of in console mode to refresh n Then then
we have to load the DB
Loading the DB volume Which have been unloaded from the dump

Spacetrigger For DB And Log

For Stgpool

DBBackup Trigger

Enabling DBbackupTrigger
To Enable the Backup Trigger LOG must Be in Roll-Forward

Disabling DBBackup Trigger


Setting logmode to normal will disables the dbbackuptrigger

STORAGE POOL
Storage pool specifies the similar type of media,weather it may be
random access (disk),Sequential access(Tape).

Defining a storage pool to a disk device class.

Defining volume to a StgPool

We can check the defined volumes with command Q vol

By defining a volume to stg pool it acquired a free capacity of one GB it is


shown below.

Changing the volume status

Deleting STG And volumes of STG:


For this first we have to delete all volumes in the StgPool
Deleting volumes of Storage pool KT

Checking that is there any volume for existed in stgpool KT

Deleting STG

DEVICE CLASS
Device class specifies the media is of which type, it is the interface b/w
TSM Server and Storage pools.
Defining A File Device Class

Def Primary Stg pool for a File Device Class:

Defining copy and activedata Storage pools to the device class

To know information About the Device class And storage pool of that trigger the
following commands

Know the stgpools that Are associated to the Device class

Mount limit will indicates the no drives to be associated with the device class

LIBRARY
Definig a Library OF file Type
The library is the collection of Drives,Tape,Cleaning Cateridges. It contains
storage slots to keep the tapes,IO Doors to checkin and check out the tapes.

Defining stgpool to the device class which is belongs to the library

Defining Drives to a library

Querying about the drives information

Defining a device class to a library

Defining a stgpool to library device class

Viewing a volume mounted in the drive

We can dismount the volume by using the cmd dismount


volumename from the drive.

Knowning the drive state and status

If the drive didnt mount a single time its state will be unknown,if a
tape is in the drive it is loaded,if there is no tape in that it is in empty
state and pooling state(in mismatch condition)

Volume History
Knowing the details about all sequential volumes information ie of
type DBbackup,DBSnopshot,Remote(virtual
volumes),DBDump,Backupset,..all
We can get the range of history by adding begind=<date>, begint=<time>,
Enddate=<date> ,Endtime=<time>

POLICY MANAGEMENT
Defining domain,Policy,Management Class

Def copyg,Validating And Activating The policy set

Registering A Node In server

Defining clopset:

Defining clientoptionset:

CLIENT
Configuring Dsm.opt And Entering into client command line

Login to Client

We Can login From same System As A different Node By Maintaining the


Extra opt file

Triggering Backup

Knowing In Serverside Weather The Backup is Running Or not

Stgpool Before Backup up

After Backup

Taking Archive

Knowing Archive

Node Backup And Archive Details

Taking Incremental Backup:


There I made changes for four files in that directory.

RESTORATION
Full restore :

Restoring in different location(Preserve path)

Restoring Selected files :Restore pick d:\vt\* -su=yes

For Restoring 6 object give 6+ and press Enter it is selected with x as shown
below

And then give o to restore.


For select a range give 6:24+

For deselect simple give no and then i.e. 6- , for a range 2:12For deselect all just give -, For selecting all just give +.

Restoring Objects from 6-24


If the files already Exists we get the following options

Restoring inactive files: Restore pick ina d:\vt\*

We can Restore same as above by selecting the files what we needed..

Simultaneous Copies During Backups


When we triggered the backup, if the disk stgpool has enabled the copy and
activedata stg pools then what happened is, the disk data will be goes to copy and
active datastgpool s simultaneously with the backup

USING SELECT COMMAND WE CAN KNOW HOW MANY ACTIVE AND


OBJECTS ARE EXISTED FOR A NODE

*---SELECT COUNT(STATE) AS NO OF OBJECTS,NODE_NAME,STATE FROM BACKUPS


WHERE NODE_NAME=KTNODE GROUP BY NODE_NAME,STATE ----*

Include-Exclude:

By keeping Exculde statement for subdirectory in the dsm.opt i.e.

Triggere the backup

We can include the files Files or directories with include statement

SCHEDULING
Defininig the domain for a node and after we will define
schedule for that

Defining Schedule: Client :


Classic:

Enhanced:

Defining a Client Action :


This is used for Temporary Client Schedule

After Defining the schedule u can goto


The baclient and trigger the cmd *--DSMC SCHED---*
The Schedule window Now Start as Shown Below

Deleting the Schedule

Admin Schedule
Classic

Enhanced

Watching all client and Admin Schedules

Migration Process

Collocation
Defining Collocation Group And Members And Deleting
Procedures

Deleting ,for this first we have to delete all the Members


Otherwise we cant delete the Group

Knowing Details

Enabling Collacation to a Stgpool

Enabling Migration to a Storage pool by Updating NextStgpool And


Various Stgpool Update Options

Knowing weather collocations is enabled r not to a stg pool:

Stg Before Migration

After migration process

Two Colloc groups taken two volumes.


To know the nodes in the volumes will be check with select
command
*select Node_name,type from contents where
volume_name='C:\SAT\0000003D.BFS group by node_name,type*

*---SELECT COPY_TYPE,NODE_NAME FROM VOLUMEUSAGE WHERE


VOLUME_NAME='C:\SAT\0000000003D.BFS

FOR ALL VOLUMES


SELECT VOLUME_NAME ,COPY_TYPE,NODE_NAME FROM VOLUMEUSAGE

we delete all the node data by using cmd


Del fi <node name > * Filespace
Specifies that collocation is enabled at the file space level for client nodes. The
server attempts to put data for one node and file space on as few volumes as
possible. If a node has multiple file spaces, the server attempts to put data for
different file spaces on different volumes.

Colloc By filespace
Def: Specifies that collocation is enabled at the file space level for client nodes.
The FIlespace server attempts to put data for one node and file space on as few
volumes as possible. If a node has multiple file spaces, the server attempts to put
data for different file spaces on different volumes.

Command: To know the how many filespaces are exsisted in a volume


*select Node_name,FILESPACE_NAME,type from contents where
volume_name='C:\SAT\00000045.BFS' group by node_name,type,FILESPACE_NAME*

for vol 'C:\SAT\00000044',C:\SAT\00000045',C:\SAT\00000046',C:\SAT\00000047


shown below

The file space for node kt2 are placed in diff vols,

Collocate by node:

Select Node_Name,Filespace_Name,Type From Contents Where


Volume_Name='C:\Sat\0000004e.Bfs' Group By Node_Name,Type,Filespace_Name-----*

Expiration
Run the command EXPIRE INVENTORY
BEFORE

Reclamation

Scripts
We want to write the commands line by line in the txt file as
shown in the below

then you want to define it first

After the run the script

We can give the Substitutional values at runtime by writing as


follows

Defining and runnig this Script shown as below

MACROS
These are run directly no need to define as a scripts save with
extension .mac

Macros also supports Substitutional Values


Use % before number

Executing MACRO

SERVER TO SERVER COMMUNICATION


For this first we have to set server name,hla,lla,crossedefine

Then come out from the server by triggering quit n relog-on

For both servers we have to set these parameters


Define server into one by crossdefine yes automatically it defines from
otherside.

Command Routing Is Shown Below

Export And Import


Exprting the administrator:

The administrator sateesh is exported to the another server Sateesh

Now admin sateesh can access the server sateesh.

Exporting a node
Aix node belons to AIX to the Server TSM and it is exporting to the
server sateesh.After the import also the node will be existed in TSM
server.

Checking in the server sateesh :

Before export nodes in sateesh and after export is shown below

now changing the serveradrees and port on in dsm.opt we can

establish a session with the server sateesh from aix node

Exporting nodedata to server:

Exporting policy information:


We can Export all the policies information like domain definition
schedulars domain associations and all.

Domain details in the Exported server:

By using removable media exporting to the volume and we can


import those in another server using import command

Virtual volumes
First we have to Establish server to server communication b/w local and remote
server as shown above.
*Registering local (virtual) server as a node in remote server.
*For that we havt to register as a node with a archive copy group for the domain.
*And registering local node as a server(type) node in the remote server
*Defining A device class in remote and define a Stgpool for that, and give the
Stgpool as the destination in archive copy group.

In Local Machine
Defining a device class as type of remote and defining a Stg pool of type copy for
That device Class
Updating the remote server with the nodename and password as of the local
servername and password.

Now we can copy the data i.e Db Backup,Stgbackup,volhistory,Devconfig To the


Remote Server.

Stg backup:-

Actual (Remote)

Q Occ sat

We can identify the volume names for virtual volumes starts with the name of
remote server.

Disaster Recovery Management


BASIC DEFINES

First we have to set the DRM Stat. By using set commands

SET ALL THE REQIRED OPTIONS BY USING SET CMD

Checking after that By using Q DRMSTAUS

Take the Backup from node

Take the System information file By


Q sys > c:\drm.txt
This file Helps You for Further

Take the DB backup n devconfig and volhist backups then Use prepare cmd to
Create the drmedia and plan file.
You can check the DRM volumes using Q DRMEDIA

After installing New TSm Server with same version

Breaking Planfile
C:\Program Files\tivoli\tsm\server\cscript c:\ drm\DDD.20111217.165642

Now you have to Execute those cmd files To get to Original State.

C:\ProgramFiles\Tivoli\TSM\server>C:\DRM.RECOVERY.SCRIPT.DISAST
ER.RECOVERY.MODE.CMD admin admin

You Can check the SYS Status By


Q sys > c:\sat.txt

Check System Info Now with the previous File drm.txt..

TDP SQL
After Sql installation goto sql server management studio and create
a databse and tables as shown in the below steps

Right click on the database and create your own database And
create tables to the Database for further check.

After installing the Tdp sql s/w goto the path c:\program file
\tivoli\tsm\tdpsql ,copy the files dscenu.txt form baclient and license
file from the software directory. Open the dsm.opt file the made
changes that is the node name of the sqlnode and server address

Goto cmd line the path shown below commands for the suceessfull
db backup and restore

TDP Sql Help command will gives all the details of stpes

Changing password :

Taking the Full database backup

Delete your database and restore the database and check whether it
is restored are not.

BACKUP AND RESTORATION USING GUI

Select the databade which you yahe to take the backup and click
backup button

Restoration of DB

You can know the details of backup of the node by checking its
Occupancy

Scheduling in TDPSQL
Rename the sample file sqlfull.smp as sqlfull.cmd and add
dsm instead of servname in that .

Settuping the Scheduler services for Sql node using BAclient setup
wizard as shown in rhe below

Defining Schedule Backup for the sql node

TDP DOMINO
After installation click the domino server and configure as
shown below

Now Start the domino server shown below

Register you by browsing the path you will found an id

Add the people or register the in your server

Sending mails to one aonther for further restoration check

Install the TDP domino s/w and copy the dsenu.txt and license files to domino
folder and add serveradress and node name in dsm.opt then got o cmd line
and take the backup as shown below

For the restore procedure go and delete some of your mails and then check
after restoration weather the mails restored or not

Restoration in command line

After the restoratioo nyou havte to activete the dbs toyoure your data in your
mails .

DOMINO MAIL S Backup using GUI

SCHEDULING OF THE DOMINO MAILS BACKUP


Rename the domsel.smp file as domsel.cmd,dominc.smp file as dominc.cmd
and change the directory name of the program files in that by using notepad.
Defining a Schedule for the domino mails backup:

Now you goto the baclient GUI and setup the wizard for the Schedule services
by giving the dsm.opt and dsmsched.log,dsmerror.log in the domino location
and refresh the services

You can find out the schedule datails in dsmsched.log and dsmerror.log

TDP ORACLE
Atfter Installation of Tdp for Oracle in client Machine

First We Have Change the password for Authentication

Checking the configuration Details with TSM server

Taking The Backup of Database using Rman Script

Knowing Backu Up Piece Details

Checking the Backup in Server

Deleting Backup Using RMAN Script

TDP EXCHANGE
*For Exchange you have to install IIS and Active directory

In The Above You Find Active Directory Users And Computers Select That
One

You can create organization units and users there

Create unit and users there with mail id and pwd

Then goto control panel and double click the IIS


There you will found NNTP,SMTP these two are must for EXCHANGE
SERVER

After you install the software there youll find typical n carry on the steps

Then you have to enable all the Exchange services .

Entering to Exchange Server

Create Storage Groups

There you will find mailbox and public store box for your mails create on and
assign capacity base on your mailbox

Install TDP Exchange software


Copy the license file in TDpexchange folder from S/W
And dscenu.txt from baclient to API folder ,this is for resolving versioning
problem

Register Node In The Serverside

Client Side
Open dsm.opt
Mention nodename and serveraddress which you are registere at the server
side

Goto run and trigger tdpexcc to help for commands

Verifying TSM Connection

Changing nodepassword for Authentication issue

EXCHANGE BACKUP
Triggering Backup of storage groups in command line

RESTORE
You have to Crete recovery Storage group in the Exchange server the
restoration will takes place to that after it will be mounted to the storage
group manually are automatically by settings which we have given

EXCHANGE BACKUP IN GUI


Trigger the cmd tdpexc gui will be opened take backup shown below

Scheduling:
Scheduling will be same as the TDP SQL,TDP DOINO rename the excfull.smp
as excfull.cmd,excinc.smp as excinc.cmd and define the schedule by using
this cmd file weather it is incremental take excinc.cmd otherwise for full
backup take tdpexc.cmd file.

KNOWING BACKUP DETAILS IN DIFFERENT WAYS

We Cannot restore Exchange backup from BACKUPSET

BACKUPSETS
Generating a Backup Set and all about back up set

You can know the volumes names for the backup set in actlog

GUI RESTORATION without SERVER

USEFUL SET COMMANDS


*We can set Server name,pwd,hla,lla,Crossdefine,Enabling ConfigMngr

*Accounting

ON: Specifies that the server creates an accounting record every time a client
node session ends.
*Activity Log Retention Time Period

*EventLog Retention

*Node Registration Open Closed


You Can Register Directly From GUI of Node

*Archive Data Protection This will Be Before Taking The Archive

Off -Specifies that archive data retention protection is not active.


*Client Action Duration For Days

Confguration Refresh Interval

*The TOC Retention Time

Specifies the approximate number of minutes that an unreferenced table of


contents data is retained in the database.

DRM

*SET DRMFILEPROCESS YES


No:Specifies that the MOVE DRMEDIA and QUERY DRMEDIA commands does
not process database backup and copy storage pool volumes that are associated
with a FILE device class. This is the default.
Yes: Specifies that the MOVE DRMEDIA and QUERY DRMEDIA commands
process database backup and copy storage pool volumes that are associated with a
FILE device class.
*ContextMsg
ON: Specifies to enable message context reporting.
OFF :Specifies to disable message context reporting.

*Maximum Sessions For Schedules


Specifies the percentage of total server sessions that can be used for scheduled
operations. You can specify an integer from 0 to 100.
*Retry Period For REQ a Schedule Session
Specifies the number of minutes the scheduler on a client node waits between retry
attempts after a failed attempt to contact the server or after a scheduled command
fails to process. When setting the retry period
*Password Expiration Days

*Summary Retention Period :

*SQl math method :


If we calculation will be done it will be shows the digits as set by this parameter

*Licence audit period :

*Setting the Schedule mode:

*Password wrong entry limit:


If the password will be enter wrong more than this limit it will be
expired and you have update new password for that.
*Query

Schedule period :
If all the sessions are busy and reached maxsession limit,this period shows that
after how much time period it has to be taken to ask for the session .

RESET TO STATISTICS VALUES


Ie DBmaxutil %,Log maxutil %.Log consumption ,pass expire
days,bufffpoolsize,

SESSIONS & PROCESS


*Disable Sessions

*For all Sessions


*
Enabling

Cancel
*CANCEL EXPIRATI < process number>
Expiration process no
*CANCEL PROCESS < process number>
*CANCEL REQUEST <number>
Specifies to cancel all pending mount requests.
*CANCEL RESTORE < process number>
*CANCEL SESSION< session number>

Show Commands
*Show logpinnig

By this you know the sessions and process id that are pinnig the Recovery log
Show sessions

Show time

Show damaged <stgpool>


It will display the damaged files in a stg.

AIX
Creating a VG

To Know About The PV In A Hard Disk

Creating a logical volume with 400 Phisical Partitoins

Creting file System For the LV

Checking The file System mount point

Checking File System

Then You Have to mount the mount point to Use

Creting Directories to the File System

Sending the file through FTP:


If you have no cd are dvd you may use ftp to send the s/w to the aix file
system as shown in below

Changing size of file system

Installing TSM Server


Smitty install

. will input will specify the all s/w details in the dir.

For the all options we use F4 cmd and for selection we use
F7

For Checking the All Running Process

For Checking The Tivoli Process Rinning Are not will Be done by Concattinating
the Grep command with | (pipe) Symbol

ps ef | grep dsm

Starting the Tsm Services in BackGround

Checking the started services

Copying the dsm.sys.smp,dsm.opt.smp files to dsm.sys and


dsm.opt

Change the serveraddress in dsm.sys.

Login to server

Checking the stg pools

Defining the volume For Stg pool in Aix filesystem

Defining a file device class using directories in Aix filesystem.

Login To client
In Dsm.opt
Open the dsm.opt with vi Editor
:wq!
In Dsm.sys

Registering the node to the server

Entering into to node

Checking Session Details with the server

Triggering the Backup

If the Error Server out of storage cames check the volumes of


storage pool

Vary the volumes to online and retrigger the backup

Retriggering backup

Checking the Backup Details in Server same in all Platforms.

Defining the Schedule

Goto client command line path dsmc sched

Checking About the schedule inf. In server

After the Backup finished th window waits for the next backup based on the period
in Schedule

In Server side well check whether the backup is finished successfully are not.

DSMCAD Service (Client Action Demon)


This will increases the client resources utilization by keeping the Schedule window
in sleeping mode untill the time when th backup window have to be started and
runs in background

Das könnte Ihnen auch gefallen