ZDBConcepts.pdf
(
3134 KB
)
Pobierz
HP OpenView Storage Data Protector Zero Downtime Backup Concepts Guide
HP OpenView Storage Data Protector
Zero Downtime Backup Concepts Guide
Manual Edition: November 2007
Manufacturing Part Number: B6960-96011
Release A.06.00
© Copyright 2007 Hewlett-Packard Development Company, L.P.
Legal Notices
©Copyright 2007 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company makes no warranty of any kind with regard
to this material, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose. Hewlett-Packard
shall not be liable for errors contained herein or for incidental or
consequential damages in connection with the furnishing, performance,
or use of this material.
This document contains proprietary information, which is protected by
copyright. No part of this document may be photocopied, reproduced, or
translated into another language without the prior written consent of
Hewlett-Packard. The information contained in this document is subject
to change without notice.
Microsoft® and MS Windows®, Windows® and Windows NT® are U.S.
registered trademarks of Microsoft Corporation.
Oracle® is a registered U.S. trademark of Oracle Corporation, Redwood
City, California.
UNIX® is a registered trademark of The Open Group
Hewlett-Packard Company shall not be liable for technical or editorial
errors or omissions contained herein. The information is provided “as is”
without warranty of any kind and is subject to change without notice.
The warranties for Hewlett-Packard Company products are set forth in
the express limited warranty statements for such products. Nothing
herein should be construed as constituting an additional warranty.
ii
Contents
1. Overview
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Zero Downtime Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Online and Offline Creation of Replicas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Creating Replicas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
ZDB Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Support on Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Instant Recovery and Restoring Data from ZDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Instant Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Other Methods of Restore from ZDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Restore Possibilities for ZDB Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2. Replication Techniques
Disk Array Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
RAID Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Replication Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Local Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Split Mirror Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Snapshot Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Local Replication Integrating with HP-UX LVM Mirroring . . . . . . . . . . . . . . . . . . . . . 22
Remote Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Split Mirror Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Remote Plus Local Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Split Mirror Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Snapshot Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3. Using Data Protector for ZDB and Instant Recovery
Data Protector Cells. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Cell Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
User Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Disk Array Integrations Available with Data Protector . . . . . . . . . . . . . . . . . . . . . . . . 34
HP StorageWorks Disk Array XP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
EMC Symmetrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
HP StorageWorks Virtual Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
HP StorageWorks Enterprise Virtual Array. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Database Application Integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Transaction Logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Restore. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
iii
Contents
4. The Replica Life-Cycle
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Creating Replicas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Replica Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Replica Set Rotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Scheduling Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Using Replicas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ZDB to Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ZDB to Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
ZDB to Disk+Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Instant Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Deleting Replicas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5. ZDB Session Process
ZDB Process Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Locating Data Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Freezing Operation of the Application or Database . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Creating a Replica . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Replicating the Data Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Streaming the Replica to Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Backing Up a Replica to Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
The Replica After Creation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Recording Session Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Writing Session Information to the IDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6. Instant Recovery and Other Restore Techniques from ZDB Sessions
Restore Process Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Instant Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Standard Data Protector Restore. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Split Mirror Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Instant Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Instant Recovery Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Split Mirror Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Split Mirror Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7. Planning
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Flexibility in Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
iv
Contents
Split Mirror Disk Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Snapshot Disk Arrays—VA and EVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Snapshot Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Other Array-Specific Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Concurrency Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Locking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Backup Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
A. Supported Configurations
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-2
Supported HP StorageWorks Disk Array XP Configurations . . . . . . . . . . . . . . . . . . . .A-4
Local Replication Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-4
Local Replication Configurations with HP-UX LVM Mirroring . . . . . . . . . . . . . . . .A-8
Remote Replication Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-11
Remote Plus Local Replication Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-14
Supported EMC Symmetrix Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-18
Local Replication Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-18
Local Replication Configurations with HP-UX LVM Mirroring . . . . . . . . . . . . . . .A-20
Remote Replication Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-23
Remote Plus Local Replication Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-25
Supported Snapshot Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-28
Local Replication Configurations on VA and EVA . . . . . . . . . . . . . . . . . . . . . . . . . .A-28
Local Replication Configurations wth HP-UX LVM Mirroring on EVA . . . . . . . . .A-31
Local Replication Configurations with HP-UX LVM Mirroring on VA . . . . . . . . . .A-36
Remote Plus Local Replication Configurations on EVA . . . . . . . . . . . . . . . . . . . . . .A-39
Glossary
Index
v
Plik z chomika:
wielkiptak
Inne pliki z tego folderu:
ZDBIntegration.pdf
(4559 KB)
ZDBConcepts.pdf
(3134 KB)
ZDBAdmin.pdf
(2970 KB)
Troubleshooting.pdf
(1247 KB)
IntegrationORASAP.pdf
(3244 KB)
Inne foldery tego chomika:
HP-UX Reference (Manpages)
Zgłoś jeśli
naruszono regulamin