EasyManua.ls Logo

HP Data Protector User Manual

HP Data Protector
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #17 background imageLoading...
Page #17 background image
17
When performing an Oracle restore, RMAN will only read with concurrency ONE from tape (just one
channel at a time), independent from the concurrency used during the backup.
The recommendation is to use always concurrency of 1 (one RMAN channel per tape drive)
Set Maxopenfiles to 1
RMAN channel parameter MAXOPENFILES should be set to 1 in case you are using a Disk Array
such as XP or EVA where the data is stripped over different physical disks. As a result, we guarantee
that every RMAN channel reads just one file at a time (no file multiplexing). Please note this has to be
set on each channel manually.
Tape block size should match RMAN output buffer size
The block size of your tape device will determine the I/O size of every write operation. In general,
the larger the block size, the faster backup you achieve. On the other hand, the tape block size
should match the Oracle write buffer size.
When an RMAN channel reads a datafile, each block is placed into an input buffer. After some block
validation checks are performed, it is copied into an output buffer and then sent to the Backup Device.
As documented by Oracle, when setting the parameter MAXOPENFILES < 4, each buffer will be 1MB
in size, with a total buffer size of 16MB (per channel), thus 16 Buffers per file. The buffer size used
currently, can be verified in the v$BACKUP_ASYNC_IO view.
When writing to the SBT device (TAPE), Oracle allocates also 4 output buffers per channel, each
buffer 256Kb, 1MB in total. The size of the write buffers can be adjusted with the BLKSIZE channel
parameter.
While the default output buffer size of 256K may be adequate for most environments, it may be worth
increasing the RMAN output buffer size and Tape block size to 1MB.
An example of an RMAN script with output buffer size set to 1MB and MAXOPENFILES to 1 is as
follows; as channel parameters, they have to be set for every channel.
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=RAC,OB2BARLIST=RAC_POOL_man_ch_1_2)
,BLKSIZE=1048576' connect 'sys/xxx@rac2' maxopenfiles 1;
allocate channel 'dev_1' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=RAC,OB2BARLIST=RAC_POOL_man_ch_1_2)
,BLKSIZE=1048576' connect 'sys/xxx@rac3' maxopenfiles 1;
backup incremental level <incr_level>
format 'RAC_POOL_man_ch_1_2<RAC_%s:%t:%p>.dbf'
tablespace 'POOL';
}
Use Asynchronous I/O if available
Asynchronous I/O on HP-UX is only available when using RAW devices. In other case, consider using
the BACKUP_TAPE_IO_SLAVES (default FALSE) Oracle parameter to simulate asynchronous I/O to
tape. Synchronous I/O has a performance disadvantage as every server process has perform a task
at a time.
Use a Recovery Catalog
Use a recovery catalog to configure the Oracle integration as a centralized store for metadata and
scripts. The recovery catalog can also be exported (RMAN user schema) by Data Protector.
For further Backup-tuning recommendations, review the Appendix.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the HP Data Protector and is the answer not in the manual?

HP Data Protector Specifications

General IconGeneral
CategoryBackup and Recovery Software
Backup TypesFull, Incremental, Differential, Synthetic Full
ReplicationYes
DeveloperMicro Focus
Supported PlatformsWindows, Linux
Key FeaturesCentralized management, Data deduplication
DeploymentOn-premises
License ModelPerpetual, Subscription
ReportingCustomizable reports

Summary

Executive Summary

Overview

Target Audience

Review of Test Configuration

10gRAC Configurations on HP-UX

Oracle Virtual IP Address

Oracle Services to Manage Workloads

Oracle Services Definition

Defines how to create and configure Oracle services for workload management.

Oracle Online Backup Configuration

Configuration Guidelines

Lists essential steps for integrating Data Protector with Oracle.

Use the Hostname and the Instance Name to Configure the Backup

Configures backup using host and instance names, offering no failover.

Use a VIP and the Instance Names to Configure the Backup

Configures backup using VIP and instance names for basic failover.

Use a VIP and a Service Name to Configure the Backup

Configures backup using VIP and service name for load balancing and failover.

Use a VIP and Allocate Channels Manually

Manually allocates RMAN channels for optimal backup performance.

Storing the Connection String in the Recovery Catalog

Secures connection strings by storing them in the recovery catalog.

Backup Configuration Recommendations

Summarizes best practices for Oracle RAC backup configurations.

SAN Backup versus LAN Backup

Disk Agent and Media Agent Not Allocated on the Same Host

Illustrates inefficient backup data flow over LAN.

Disk Agent and Media Agent Allocated on the Same Host

Describes efficient backup data flow using memory buffers.

File System Backup: Oracle Base and Cluster Configuration

Oracle Cluster Registry (OCR)

Oracle Voting Disk

Discusses backup strategy for Oracle Voting Disk.

Oracle SPFILE

ORACLE Directories

File System Backup Recommendations

Oracle RMAN Restore and Recovery

Oracle Restore Enhancements

Details Data Protector enhancements for RMAN restore performance.

Restore Recommendations Summary

Summarizes key recommendations for RMAN restore operations.

Recovery Considerations

Discusses parallelism and considerations for media recovery.

Recovery Using Archived Logs

Explains the process of media recovery using archived logs.

Recovery Using Incremental Backup

Describes recovery scenarios using incremental backups.

Summary

Appendix A. Reference Documentation

Appendix B. RMAN Helpful Scripts

B.1 How to Monitor RMAN Job Progress

Provides SQL query to monitor RMAN job progress.

B.2 How to Monitor RMAN Waits

Provides SQL query to monitor RMAN waits.

B.3 How to Monitor RMAN Wait States

Provides SQL query to monitor RMAN wait states.

B.4 How to Monitor RMAN Channels Current Speed

Provides SQL query to monitor RMAN channel speed.

Appendix C. Session Reports

Session 1: Backup Using ita018 and RAC1

Details a backup session using specific host and instance.

Session 2: Backup Using ita018-vip and RAC1, RAC2, RAC3, RAC4

Details backup using VIP and multiple instances.

Session 3: Backup Using ita018-vip and Service BACKUP

Details backup using VIP and a service name.

Session 4: Backup Using ita018-vip and Service MSL5000

Details backup using VIP and a different service name.

Session 5: Backup Allocating Channels Manually on RAC1 and RAC2

Details backup with manually allocated channels on specific instances.

Session 6: Restore Allocating Channels Manually on RAC1 and RAC2

Details restore with manually allocated channels on specific instances.

Session 7: Restore and Recovery Using an Incremental Backup

Details restore and recovery using an incremental backup.

For More Information

Related product manuals