You are on page 1of 136

iv

SAP Backup using Tivoli Storage Manager


2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v

4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .


. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo

g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest


ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin

g data availability and protection service levels. . . . . . . . . 443.1.2 Failu


re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop

y Services on SAP. . . . 111


Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log


backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty

pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .

. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .


. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts

. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct


ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M

aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac


le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .

. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .


. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203

Chapter 8. Case study introduction


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R

esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f


or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi

SAP Backup using Tivoli Storage Manager


6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for

MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S

torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P

rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .


. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .


. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools

. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .


. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907

.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .


. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo

r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB

M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . .


. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection
or SAP with SAP . . . . . . . . . . . . . . . 98

.
.
.
.
R
f

Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .

. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206

iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .

. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .


. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest

ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .


1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu

re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111

Chapter 5. IBM DB2 CommonStore for SAP


. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log

backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor


e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .

. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M


ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct

ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove


ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac

le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87

Chapter 4. Introduction to IBM Tivoli Storage Manager


. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .

. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu


nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen


t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f

or SAP with SAP . . . . . . . . . . . . . . . 98


Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager

6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .


. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6

Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1


074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .

. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s


erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .

. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .

. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora


cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .

. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana


ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery


Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .

. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . .


. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection
or SAP with SAP . . . . . . . . . . . . . . . 98

.
.
.
R
f

Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206

iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .

. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .


. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .

1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP

. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor

e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1


746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M

ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service


(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel


ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove

ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi


a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .


. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager

. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu

nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int


erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen

t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98

Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .

. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39

Chapter 3. SAP data protection considerations


. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1

074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5

SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .


. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .


. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s

erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor


e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora

cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H


ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana

ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat


ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery

Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1


User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .

. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . .


. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection
or SAP with SAP . . . . . . . . . . . . . . . 98

.
.
R
f

Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155

vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv

SAP Backup using Tivoli Storage Manager


2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .

. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .


. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy


stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service

(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A


pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel

ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast


er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi

a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .

. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .


. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man


ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int

erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98

Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations

. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .

. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor

e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail


ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326

.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H

ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat

ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1

User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200

Part2. Sample implementation and operation


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .

. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .


. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155

vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv

SAP Backup using Tivoli Storage Manager


2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection

. .
. .
. .
for

. . . .
. . . .
. . . .
Oracle.

.
.
.
.

.
.
.
.

.
.
.
.

. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f


or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli


Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy

stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S


AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a

nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe

riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4


Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast
er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A

pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv


oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .
. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206
iv
SAP Backup using Tivoli Storage Manager
2.7.3 Connectivity and integration . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 362.8 References . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 3. SAP data protection considerations
. . . . . . . . . . . . . . . . . . . . .413.1 Strategic view of data protection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.1.1 Measurin
g data availability and protection service levels. . . . . . . . . 443.1.2 Failu
re types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 473.2 Protection of SAP data . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 493.2.1 Protection of the operating sy
stem . . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Protection of S
AP file systems data . . . . . . . . . . . . . . . . . . . . . . . . . 513.2.3 P
rotection of the SAP database . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 533.2.4 Include exclude options. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 593.3 Database backup types and considerations . . .
. . . . . . . . . . . . . . . . . . . . 613.3.1 Backup modes . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613.3.2 Backup ty
pes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 633.3.3 Backup cycles. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 653.3.4 Backup policy . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663.3.5 Retention pe
riod and tape release . . . . . . . . . . . . . . . . . . . . . . . . . . 673.4
Data protection and data retention . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 683.5 Tivoli Storage Manager and the SAP landscape. . . . . . . .
. . . . . . . . . . . . 693.5.1 Centralized SAP system. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 703.5.2 Distributed SAP system . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703.5.3 High avail
ability SAP system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723.6 High availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 763.6.1 Availability and performance. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 763.6.2 High availability rel
ated consideration. . . . . . . . . . . . . . . . . . . . . . . . 783.6.3 Disast

er recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . 813.7 Backup scheduling considerations . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 823.7.1 SAP scheduler . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 823.7.2 Tivoli Storage Mana
ger scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . 853.7.3 Operat
ing system schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 863.7.4 External workload scheduling tools. . . . . . . . . . . . . . . . . .
. . . . . . . . 87
Chapter 4. Introduction to IBM Tivoli Storage Manager
. . . . . . . . . . . . . .894.1 IBM Tivoli Storage Manager . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 904.1.1 IBM Tivoli Storage Man
ager overview . . . . . . . . . . . . . . . . . . . . . . . 904.1.2 IBM Tivoli S
torage Manager architecture . . . . . . . . . . . . . . . . . . . . . 924.1.3 IB
M Tivoli Storage Manager server. . . . . . . . . . . . . . . . . . . . . . . . .
. 944.1.4 IBM Tivoli Storage Manager backup/archive client. . . . . . . . . . .
. . . 954.1.5 Tivoli Storage Manager backup . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 964.2 IBM Tivoli Storage Manager storage agent. . . . . . .
. . . . . . . . . . . . . . . . . 974.3 Tivoli Storage Manager for Enterprise R
esource Planning. . . . . . . . . . . . 974.3.1 Integration of Data Protection f
or SAP with SAP . . . . . . . . . . . . . . . 98
Contents
v
4.3.2 Data Protection for SAP for Oracle database. . . . . . . . . . . . . . . .
. . 994.3.3 Tivoli Data Protection for SAP for DB2. . . . . . . . . . . . . . .
. . . . . . . 1044.4 Tivoli Storage Manager for Databases . . . . . . . . . . .
. . . . . . . . . . . . . . . 1054.4.1 Tivoli Data Protection for Oracle. . . .
. . . . . . . . . . . . . . . . . . . . . . . 1054.4.2 Tivoli Data Protection f
or Microsoft SQL Server. . . . . . . . . . . . . . . 1054.5 ADINT/TSM client for
MaxDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064.6
Tivoli Storage Manager for Advanced Copy Services. . . . . . . . . . . . . . . 1
074.6.1 Supported storage hardware. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1084.6.2 Introduction to copy services. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1094.6.3 Tivoli Storage Manager for Advanced Cop
y Services on SAP. . . . 111
Chapter 5. IBM DB2 CommonStore for SAP
. . . . . . . . . . . . . . . . . . . . . . .1155.1 CommonStore for SAP overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165.2 Scenarios a
nd features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1195.2.1 Data archiving. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 1195.2.2 Document archiving . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1205.3 CommonStore for SAP s
erver prerequisites. . . . . . . . . . . . . . . . . . . . . . 1215.4 CommonStor
e clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1225.4.1 CommonStore archiving client . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1235.4.2 CommonStore Viewing Client. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1245.4.3 CommonStore Utility Client. . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1255.5 References . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . 126
Chapter 6. Database backup and recovery tools
. . . . . . . . . . . . . . . . . . .1276.1 Database backup and recovery tools .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1286.2 SAP BR*Tools for Ora
cle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1326
.2.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 1336.2.2 Backup control function. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . 1336.2.3 Archived redo log backup funct
ions . . . . . . . . . . . . . . . . . . . . . . . . 1356.2.4 Restore and recove
ry functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366.2.5 Medi
a interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 1386.2.6 Backup repository. . . . . . . . . . . . . . . . . . . . . .


. . . . . . . . . . . . . . . . 1396.2.7 BR*Tools and Tivoli Storage Manager fo
r ERP - Oracle . . . . . . . . 1396.2.8 References . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3 Oracle Recovery
Manager (RMAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446.3.1
User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . 1456.3.2 Backup control functions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1466.3.3 Archive redo log backup functions .
. . . . . . . . . . . . . . . . . . . . . . . . 1476.3.4 Restore and recovery fu
nctions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486.3.5 Media int
erfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1506.3.6 Backup repository and retention control . . . . . . . . . . . . .
. . . . . . . . 1516.3.7 Integration of BR*Tools with Oracle RMAN . . . . . . .
. . . . . . . . . . . 1526.3.8 References . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 155
vi
SAP Backup using Tivoli Storage Manager
6.4 IBM DB2 UDB backup recovery tools. . . . . . . . . . . . . . . . . . . . . .
. . . . . 1566.4.1 User interfaces . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 1566.4.2 Backup control functions. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1576.4.3 Archived redo lo
g backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1596.4.4 Rest
ore and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . .
1616.4.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 1626.4.6 Backup repository. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . 1626.4.7 DB2 UDB built-in Tivoli
Storage Manager support . . . . . . . . . . . . . 1636.4.8 DB2 UDB with Tivoli S
torage Manager for ERP (DB2). . . . . . . . . . 1656.4.9 References . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1716.5
SAP MaxDB backup recovery tools . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1716.5.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 1726.5.2 Backup control functions. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 1736.5.3 Archived redo log
backup functions . . . . . . . . . . . . . . . . . . . . . . . . 1746.5.4 Restor
e and recovery functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
746.5.5 Media interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 1766.5.6 Backup repository. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1776.5.7 MaxDB with ADINT/TSM. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1786.5.8 References
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 1806.6 Summary of backup tools . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 181
Chapter 7. High availability and disaster recovery concepts
. . . . . . . . .1837.1 High availability solutions . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 1847.1.1 High Availability Cluster M
ulti-Processing (HACMP) . . . . . . . . . . . 1857.1.2 Microsoft Cluster Service
(MSCS) . . . . . . . . . . . . . . . . . . . . . . . . . 1877.1.3 Oracle Real A
pplication Cluster (RAC). . . . . . . . . . . . . . . . . . . . . . 1887.1.4 Tiv
oli System Automation for Multiplatforms. . . . . . . . . . . . . . . . . . 1907
.1.5 Other high availability solutions. . . . . . . . . . . . . . . . . . . . .
. . . . . . . 1917.2 Disaster recovery solutions. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 1927.2.1 HACMP Extended Distance option (H
ACMP/XD). . . . . . . . . . . . . . 1927.2.2 Metro Mirror. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1937.2.3 Oracle M
aximum Availability Architecture (MAA) . . . . . . . . . . . . . . 1957.2.4 Orac
le Dataguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1967.2.5 DB2 High Availability Disaster Recovery (HADR). . . . . . . .
. . . . . . 1977.2.6 Microsoft SQL Server Log Shipping . . . . . . . . . . . . .

. . . . . . . . . . . 1997.2.7 Microsoft SQL Server Mirroring. . . . . . . . .


. . . . . . . . . . . . . . . . . . . 1997.2.8 Other options from IBM. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2007.3 Usage matrix. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . 200
Part2. Sample implementation and operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Chapter 8. Case study introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2058.1 DB2 environmen
t. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . 2068.2 Oracle environment. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 206

You might also like