Professional Documents
Culture Documents
Agenda
1. Introduction
Incremental backup fundamentals Optimizing for restore
2. Basic Configuration
4. Additional Functionality
May, 2008
Introduction
Client Basics Optimizing for Restore
Always incremental backup of file systems Only backup files that have changed TSM Database tracks location of all versions TSM proactively consolidates files through collocation and reclamation Single object backup of entire filesystem No awareness of individual files Faster full system restore
Image Backup
May, 2008
Backup Sets
Multiple Nodes installed on machine
May, 2008
Client Installation
Read the README! Find the latest code levels on the Anonymous ftp server
ftp://service.boulder.ibm.com/storage/tivoli-storage-management/
http://www-3.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html
B/A Client Always Admin Client (dsmadmc) For administration only Web based B/A client (java client) for remote backup/restore API client for Image backup and all TDP clients HSM Client (Unix | WIN) for Automated Space Management only TSM for SAN (Storage Agent) only for LAN-Free options
Be sure the client scheduler is properly installed Customize the client options file(s) (dsm.sys and dsm.opt)
May, 2008
Client Upgrade
Read the README! Use the Client Installation and Users Guide Find the latest code levels on the Anonymous ftp server
Checkout software and hardware requirements at TSM Tech Support Page
ftp://service.boulder.ibm.com/storage/tivoli-storage-management/
http://www3.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html
http://www1.ibm.com/support/docview.wss?rs=663&context=SSGSG7&uid=swg21053218&l oc=en_US&cs=utf-8&lang=en
May, 2008
Only exists for Unix / Linux Basic settings Stanza per server interface In client/bin directory Contains all options for Windows / NetWare Operational settings Points to dsm.sys stanza (For UNIX)
dsm.opt
May, 2008
Only exists for Windows currently Settings for Journal Service Stanza per drive letter or global for all local drives being journaled In client directory
10
May, 2008
dsmsched.log
LOOK HERE FIRST ! Client errors Pointed to by DSM_LOG (DSMI_LOG for API) or named in options file Schedule activity Web Client log
dsmwebcl.log
jbberror.log
dsminfo.txt
11
May, 2008
Important Options
TCPSERVERADDRESS PASSWORDACCESS
TCPWINDOWSIZE TCPBUFFSIZE TCPNODELAY TXNBYTELIMIT REPLACE YES | NO | PROMPT | ALL SUBDIR NO QUIET vs VERBOSE TAPEPROMPT yes | no
12
May, 2008
13
May, 2008
PRENSCHEDULECMD PRESCHEDULECMD POSTNSCHEDULECMD POSTSCHEDULECMD COMPRESSION COMPRESSALWAYS QUIET VERBOSE RESETARCHIVEATTRIBUTE RESOURCEUTILIZATION SUBDIR TAPEPROMPT
TXNBYTELIMIT
INCLEXCL (use along with the specific include or exclude option as the option value)
14
May, 2008
Pattern Matching
? * // [xx]
Single character Multiple Characters between directory delimiters Zero or more directories List of single characters
15
May, 2008
EXCLUDE.DIR directory
INCLUDE.FS
16
May, 2008
17
May, 2008
Client Compression
TSM objects are only compressed by the client never by the
server Compression consumes client CPU resources but reduces the load on the network and TSM server Compression is controlled in four possible places:
Node definition overrides all others, Option Set overrides the Option
Files, include/exclude modifies by file or group of files
19
May, 2008
ENCRYPTKEY SAVE PROMPT GENERATE (SAVE will save the encryption key locally)
ENCRYPTIONTYPE
Reply
When
you ENCRYPTKEY set to PROMPT, you must remember the Encryption key password. If the encryption key is not retrievable and you have forgotten the key, your data will be unrecoverable !
20
May, 2008
enableclientencryptkey yes (original way to use generate) ENCRYPTKEY SAVE PROMPT GENERATE If enableclientencryptkey yes and ENCRYPTKEY SAVE or PROMPT is coded, an error message will appear ENCRYPTIONType AES128 (or DES56) exclude.encrypt * (this is the default for encryption) Include.encrypt //*
21
May, 2008
Image Backup
Full filespace and raw logical volume backup/restore
No versioning considerations
Single object image backup (one TSM database entry) AIX-SUN-HP Image Backups
Plug-in utility module used with Tivoli Storage Manager API client On-line backups without integritymight need to fix up the filesystem on restore
Use LVSM and can perform on-line backups On-line backups with integrity For Windows and TSM 5.3: backup the system drive (C:) on-line
23
May, 2008
24
May, 2008
Journaling
Windows and AIX
JBB should be tried in most cases with large filesystems. Tremendous performance benefits can be achieved on incremental backups. It has low performance overhead ( 2-4 %) Works best when there are lots of files and a low velocity of change rate for them. (Look at JBB utility filemon.exe) Need to be careful with Journal files unchecked, they can reach 2GB in size. Consider this when journaling the system or boot volume. Considering doing an incremental periodically (boot drive)
25
May, 2008
MSCS supported.
26
May, 2008
and archive/retrieve On backup or archive, the default setting uses two sessions: one to query the filesystem/TSM server (producer) and one to send the files (consumer) Additional sessions are started automatically based on a performance algorithm
There may be multiple sessions started to query the filesystem/TSM server (producers) if there are multiple filespaces being processed The RESOURCEUTILIZATION parameter is the overall control of the number of sessions started. Think of this as a throttle.
27
May, 2008
There are no producer sessions The RESOURCEUTILIZATION value determines exactly the maximum number of restore/retrieve sessions created The TSM client will never start sessions such that there is storage pool volume contention
Data must be spread onto multiple sequential access volumes to benefit from multi-session restore
Data restored from a DISK type storage pool will always use only one session Use the MAXNUMMP setting on the NODE definition to limit the maximum mounts that a multi-session client can use on backup/archive
28
May, 2008
Multithreaded Client
Considerations
Be sure to examine the TSM server MAXSESSION setting to be sure it allows for additional sessions Each session will create an entry in the Accounting Records You will need to do some summarization The Q NODE F=D session stats may not show the overall stats for the last backup/restore session
Expect to see many more session start and end messages in the TSM Activity Log
TSM Instrumentation tracing is multi-session aware You can start multiple sessions manually (as always)
This is an alternate to using the built-in multi-session support Does not automatically load balance Could cause volume contention on restore/retrieve Will work with Classic restore
29
May, 2008
Microsoft
Windows Server 2003 and Windows XP Automated System Recovery (ASR) is a restore feature of Windows XP Professional and Windows Server 2003 that provides a framework for saving and recovering the Windows XP or Windows Server 2003 operating state Tivoli Storage Manager supports the bare metal restore by participating in the ASR restore framework. Tivoli Storage Manager creates the files required for ASR recovery and stores them on the Tivoli Storage Manager server. You can restore these files to a diskette for use during ASR recovery.
31
May, 2008
http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?toc=/com.ibm.itsmsbr.doc/toc.xml
IBM Redbook
IBM Tivoli Storage Manager: Bare Machine Recovery for Microsoft Windows 2003 and XP
32
May, 2008
33
May, 2008
http://www.cbmr.info/
34
May, 2008
Mksysb
file-level backups
Bare machine restores can be done via tape or via network boot
35
May, 2008
36
May, 2008
passwordaccess generate
Httpport 1581 Managedservices webports
Start the client acceptor daemon or service Point browser to: http://your_machine_name:1581 Admin commands:
37
May, 2008
38
May, 2008
Backupsets enhancements
Generation of Backup Sets to Point in Time File Selection During Backup Set Restore Generation of Backup Sets for List of Nodes
Function to allow TSM to provide secure communications between the BA or Administrative command line clients and the TSM server
39
May, 2008
Client-Polling Mode Use when a high % of clients start the scheduler manually on a daily basis. Server-Prompted Mode Use when you change the schedule start time frequently. (New start times require no action from the client.)
Postschedulecmd/Postnschedulecmd
The preschedulecmd specifies a command that the client program processes before it runs a schedule. The client program waits for the command to complete before it starts the schedule. If you do not want it to wait, specify prenschedulecmd.
Preschedulecmd/Prenschedulecmd Same as the Post options except they process before the client schedule.
40
May, 2008
Business impact
D/R restore
Client capabilities
Network
Processor
Disk
42
May, 2008
Individual user Might be turned off at night Millions of files Always available
File Server
Database Server
Application Server
Mail Server
43
May, 2008
N N Y5 Y5 Y5
Y1 N N N N
?2 ?2 ?2 ?2 ?2
?3 N N N N
N Y Y6 Y6 Y6
Y Y N N N
? Y N N ?
N Y Y7 Y7 Y7
N Y ?8 ?8 ?8
?4 Y Y9 Y9 Y9
Y = Probably want to seriously consider this option (See notes on following page) N = Probably want to avoid this option (See notes on following page) ? = May or may not apply (See notes on following page)
44
May, 2008
45
May, 2008
References Questions?
http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp http://www1.ibm.com/support/docview.wss?rs=2077&context=SSGSG7&dc=DA410&dc=DA 450&dc=DA430&dc=DA440&dc=D600&dc=D700&dc=DB510&dc=DB520&dc=D8 00&dc=D900&dc=DA900&dc=DA800&dc=DB540&dc=DB400&dc=DB560&dc=D B550&dc=D100&dc=DA420&dc=DA460&dc=DB300&dc=DA470&dc=DA480&dc =DB100&dc=DA4A10&dc=DA4A20&dc=DA700&dc=DA4A30&q1=tste_webcast& uid=swg27011123&loc=en_US&cs=UTF-8&lang=all http://www111.ibm.com/search/SupportSearchWeb/SupportSearch?action=search&pageCo de=SBSXP&brand=tivoli&searchTerms=tste_webcast&sortBy=3 http://www.cbmr.info/
47
May, 2008
ftp://service.boulder.ibm.com/storage/tivoli-storage-management/
http://www-3.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html
48
May, 2008
http://www.redbooks.ibm.com/abstracts/sg246141.html?Open
IBM Tivoli Storage Manager Client Node Proxy Support and GPFS,
TIPS0568
http://www.redbooks.ibm.com/abstracts/tips0568.html?Open
49
May, 2008
Questions?
50
May, 2008