Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle RMAN and EMC Data Domain

Similar presentations


Presentation on theme: "Oracle RMAN and EMC Data Domain"— Presentation transcript:

1 Oracle RMAN and EMC Data Domain
Denny Wong COUG Presentation May 19, 2016 DB Dolphins Inc.

2 Overview of Data Domain and Deduplication Typical Backup Environments
AGENDA Overview of Data Domain and Deduplication Typical Backup Environments RMAN and Data Domain without DD Boost Agent RMAN and Data Domain with DD Boost Agent Database Backup DR with Data Domain Replication Basic Understanding of Data Domain OS Demo of RMAN to Data Domain with DD Boost Basic Data Domain OS as DBA to communicate with Storage team.

3

4 Typical Backup Environment

5 Typical Backup Environment with Data Domain

6 Oracle RMAN Backup to Data Domain Options
RMAN writes directly to Data Domain via CIFS/NFS RMAN integrates with Backup Application 3. RMAN writes directly to Data Domain via DD Boost

7 Option 1. RMAN writes directly to Data Domain via CIFS/NFS

8 Option 2. RMAN integrates with Backup Application

9 Option 3. RMAN writes directly to Data Domain via DD Boost

10 Set up RMAN to use Data Domain DD Boost
Example: ## Configure a channel in RMAN RMAN > CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'BLKSIZE= , SBT_LIBRARY=/oracle/DV6/112_64/lib/libddobk.so ENV=(STORAGE_UNIT=oradbsu_sec_01, BACKUP_HOST=ddomprdcgy004a, ORACLE_HOME=/oracle/DV6/112_64)';) ## Register a Data Domain System RMAN> RUN { ALLOCATE CHANNEL C1 TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/ oracle/DV6/112_64/lib/libddobk.so '; send 'set username dd_user password a! servername ddomprdcgy004a'; RELEASE CHANNEL C1; }

11 Option 3. RMAN writes directly to Data Domain via DD Boost
DD Boost Managed File Replication

12 RMAN catalogs the 2nd copy of database backup

13 EMC Data Protection Advisor
Backup Administrators can still view the Oracle backup information in EMC Data Protection Advisor. DPA Oracle RMAN module retrieves information from RMAN catalog.

14 Data Domain MTree (Managed Tree File Structure)
A logical partition of the Data Domain file system for use in (DD Boost Storage Unit, NFS/CIFS share, VTL pools) Can have quota, snapshot, and Retention Lock Different backups can go to different MTree (eg. EMC Networker, RMAN) MTree Replication for Disaster Recovery

15 Another option for replicating database backup - Mtree Replication

16 Replicating Database Backup - Mtree Replication (Continue ….)
The backup files in one Mtree is replicated to another Mtree in the DR Data Domain. Disadvantage: RMAN is not aware of the 2nd copy of backup. DBA needs to specify the DR Data Domain to restore a backup. Advantage (in some cases): This allows the backup to complete faster since there is no need to wait on write-acknowledgements from the second backup.

17 Data Domain for RMAN Best Practices

18 Data Domain for RMAN Best Practices – continue …

19 Data Domain Oracle Optimized Deduplication
Data Domain Oracle Optimized Deduplication (previously called App-optimization) A feature that enables a Data Domain appliance to be used with RMAN multiplexing without impacting Data Domain’s dedup ratios. With DDOS you can set App-optimization at MTree level Oracle Optimized Deduplication only applies to Oracle LSU directly (ie. Not via Netbackup) Syntax: mtree option set app-optimized-compression {none | global | oracle1} mtree <mtree-path>

20 # mtree show compression /data/col1/main
Pre-Comp Post-Comp Global-Comp Local-Comp Total-Comp (GiB) (GiB) Factor Factor Factor (Reduction %) Last 7 days x 1.5x 5.0x (79.8) Last 24 hrs x 1.4x 4.8x (79.3) Key: Pre-Comp = Data written before compression Post-Comp = Storage used after compression Global-Comp Factor = Pre-Comp / (Size after de-dupe) Local-Comp Factor = (Size after de-dupe) / Post-Comp Total-Comp Factor = Pre-Comp / Post-Comp Reduction % = ((Pre-Comp - Post-Comp) / Pre-Comp) * 100

21 TROUBLESHOOTING (RMAN and Data Domain DDBoost)
If you run RMAN backup to DD, and failed with “can’t connect to backup server”, it’s Probably the lockfile ($ORACLE_HOME/config/ddboost.config) has the incorrect authentication. Maybe you have moved the database to a different server. Solution: Delete the ddboost.config file, and then re-register the Data Domain system Sbttest dummy –libname /oracle/HR3/112_64/lib/libddobk.so –trace sbtio.log The standard location of the sbtio.log file is located in user_dump_dest

22 DEMO 


Download ppt "Oracle RMAN and EMC Data Domain"

Similar presentations


Ads by Google