Home > Oracle Tips > Oracle Database Administrator > Case study: Oracle RMAN improves backup and recovery efficiency in a multi-platform, multi-application environment
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

Case study: Oracle RMAN improves backup and recovery efficiency in a multi-platform, multi-application environment


Rama Balaji
12.19.2007
Rating: -2.33- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


The National Business Center (NBC) provides business services to government agencies in the areas of Financial Management, Human Resources Management, Training, Acquisitions, Information Technology Hosting, Aviation Services, Appraisal Services, and other administrative areas. One of the top priority areas in the Information Technology Hosting unit at NBC is data protection and fast data retrieval in case of disk failure or disaster recovery.

The NBC's data center runs its Oracle databases on multiple platforms (z/OS, Sun Solaris, Linux) and utilizes various applications including SAP, Oracle Federal Financials, and other third party applications. Before the introduction of Oracle Recovery Manager (RMAN) in 2001, all the OLTP databases and data mart databases (total of ~3TB) on the mainframe and other platforms were being backed up using third party tools at the OS level. This case study describes how NBC implemented RMAN on all platforms, from UNIX/Linux to the mainframe, resulting in faster backups and reduced application downtime.

RMAN usage for Oracle Financials databases on Linux

While NBC uses SAP for its large clients, NBC's small clients' accounting operations and IT services are implemented using Oracle Federal Financials 11i (OFF). NBC uses RMAN to backup these databases running on Linux servers. Oracle Federal Financial databases are backed up using daily RMAN online backups via Tivoli Data Protection agents, which are installed on each server. While the backup/restore implementation for OFF is similar to FBMS, RMAN is also used to clone the OFF production databases. Using RMAN for this purpose has been a major time and labor saver versus manual cloning methods. Cloning is used to refresh test and QA servers from production for the purpose of testing patches, especially security-related patches.

The following advantages were realized using RMAN to clone databases versus manual methods:

  • RMAN restore is faster than using Tivoli tape restore operation at the OS level as RMAN only restores the blocks that have ever been used.
  • The clone database DBID is automatically changed at the end of the cloning operation.
  • The new clone database can be immediately registered in the catalog and backed up using RMAN.

The following steps are used to clone OFF databases:

  • TDPO.OPT file is changed to point to the source node in Tivoli.
  • Set DB_FILE_NAME_CONVERT, LOG_FILE_NAME_CONVERT parameters in the target database initialization file.
  • Connect to the RMAN catalog.
  • Connect to the target database.
  • Connect to the auxiliary instance in the no mount mode.
  • Run the following RMAN script:
run {
allocate auxiliary channel aux1 type 
'sbt_tape' parms 
'ENV=(DSMI_ORC_CONFIG=/opt/tivoli/tsm/client/oracle/ testdb/dsm.opt,
DSMI_DIR=/opt/tivoli/tsm/client/oracle/testdb, 
TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/testdb/ tdpo.opt)';
duplicate target database to TEST 
PFILE=/ora002/oracle/shrdev04db/9.2.0/dbs/ initTEST.ora;
}
  • Open and register the database in RMAN.
  • Create necessary tempfiles after this restore.
  • Register the database in Tivoli with the new node.
  • Change TDPO.OPT file with the new node.
  • Run a backup of the new database.

Read more about RMAN usage with SAP (Unix), data warehouses (Z/OS), and Data Guard here.

About the author

Rama Balaji is an Oracle Certified Professional and senior Oracle DBA at Infoteknow International, Inc.

Rate this Tip
To rate tips, you must be a member of SearchOracle.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Oracle Database Administrator
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
Installing multiple Oracle homes
How can I find statistics on total memory usage and database connections?
Modifying SYS password in a RAC environment
How to create Datafiles in a Data Guard (10g) environment
Importing tables with integrity constraints

Oracle database backup and recovery
Weighing remote database administration pros and cons takes care
Data retention policy for Oracle DBAs: When to "trash" your data
How do I do that in Oracle?
Oracle and the rise of the virtual machine
Oracle 11g data compression
Oracle OpenWorld 2007 Special Report
Hierarchical storage management for database growth, part 1
One datafile not accessible
How to back up archive log files in RAC
Importing from Oracle 8i to Oracle 10g
Oracle database backup and recovery Research

Oracle database availability
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
Data modeling tools no substitute for hard work
Oracle and the rise of the virtual machine
Using connection load balancing with Oracle RAC
Grid computing adoption slow amid fears of complexity
DBA 102: Beyond the basics
Difference between Oracle RAC and Data Guard
Author Mike Ault sizes up the new Oracle Database 11g
Oracle UDP protocol or Veritas LLT for interconnect traffic?
Podcast: Oracle Database 11g preview -- New automated features promise to make DBA life easier
Oracle database availability Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsTipsAsk the ExpertsWebcastsWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts