Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle RAC backup hardware/software recommendation?

RE: Oracle RAC backup hardware/software recommendation?

From: Marquez, Chris <>
Date: Mon, 3 Oct 2005 10:07:54 -0400
Message-ID: <B30C2483766F9342B6AEF108833CC84E0465D2CA@ecogenemld50.Org.Collegeboard.local>

>> What should be the conclusion?
>> Put redo logs and archived redo logs on OCFS or not??

I was so excited at the opportunity at using OCFS for our archive logs and thus making my RMAN scripting that much simpler. This didn't last 30 day.

We had a totally isolated disk for arch logs (on ocfs). Performance was horrible...a huge bottle neck.
Trust me is was not the hardware (design). As soon as we went to EXT3 file system the arch log bottle was gone.

BTW, I have seem Oracle docs the recommend *NOT* putting arch logs on ocfs.


Chris Marquez
Oracle DBA

-----Original Message-----

[] On Behalf Of manuela mueller Sent: Friday, September 30, 2005 3:49 AM To:
Subject: RE: Oracle RAC backup hardware/software recommendation?

Dear all,
thanks for your contributions to this thread so far, very interesting discussion.

One note about the recover scenario Chris mentioned. I totally agree with the problems you are likely to face if you run RMAN-MML clients on more than one node (which one probably does in a RAC environment).
Your life may be a bit easier if you can put (archived) redo log files on OCFS.

There's a document at metalink 'OCFS Best Practives' which deals with files you can put on OCFS:
URL: atabase_id=NOT&p_id=237997.1

3. File Types Supported by OCFS

      At this time (version 1.0.9), OCFS only supports Oracle data files
      - this includes redo log files, archive log files, controlfiles
      and datafiles. OCFS also supports the Oracle Cluster Manager (OCM)
      shared quorum disk file and shared Server Configuration file (for
      svrctl). Support for shared Oracle Home installation is not
      currently supported, but expected in the latter part of 2003 (OCFS


Unfortunately this pargraph does not cover the fragmentation issues with OCFS.
A bit later on the same document:

7. Defragmentation
Given the extent-based allocation of volume metadata and user file data clusters, it is possible for disk fragmentation to occur. The following guidelines list measures to prevent volume fragmentation:

OCFS requires contiguous space on disk for initial datafile creation e.g. if you create a 1Gb datafile (in one command), it requires 1Gb of contiguous space on disk. If you then extend the datafile by 100Mb, it requires another 100Mb chunk of contiguous disk space. However, the 100Mb chunk need not fall right behind the 1Gb chunk.
- Avoid heavy, concurrent new file creation, deletion or extension,
particularly from multiple nodes to the same partition.
-Attempt to correctly size Oracle datafiles before creation (including
adding new datafile to tablespaces), ensuring to allow for more than adequate growth.
-Use a consistent extent/next extent size for all tablespaces in order
to prevent partition fragmentation (where datafiles are autoextensible).
-Separate data and index datafiles across separate OCFS partitions.
-Separate archive logs and redo log files across separate OCFS
-Where possible, avoid enabling datafile autoextensibility. Statically
sized datafiles are ideal to avoid defragmentation. Autoextensibility is acceptable as long as large next extents are configured. - Where possible, use Recovery Manager (RMAN), particularly restoration - RMAN writes in o_direct mode by default.


Another document at metalink 'RAC FAQ':

What files can I put on Linux OCFS?
- Datafiles

What should be the conclusion?
Put redo logs and archived redo logs on OCFS or not?? This question was 2 years ago repeatedly asked in the metalink RMAN forum, but not directly answered.

Have a nice day
Manuela Mueller

>But yes this is exactly what I mean.
>Its hit the DBA smack in the face when one tries to
>        RMAN>restore archive log all;
>in a RAC environment where the "local" arch logs are backed up
independently on each server (instance) in the RMAN backup session/script. The logs belong to one database, but two MML clients. >The RMAN-MML restore session will blow up because it is restoring the logs for one client only at a time, but the RMAN command was for ALL logs (from any instance...incompatible). >I would set up each TDPO client database server to be able to "spoof" the other RAC server at anytime.
>That meant duplicate config files on each client RAC server. So at anytime I could restore (RMAN) backup from node A to node A, and backup from node B to node A...thus getting all of my arch logs file in a failure.
>You don't want to *learn* this in the heat of battle, but not is not intuitive during the set up.
>Again, #1 Test, Test, Test complete and total loss database restores. Then and only them "missed" issue become obvious. >
>Thus a strong argument can be made for cluster filesystem for arch logs (Which ocfs does not support/recommend).


-- Received on Mon Oct 03 2005 - 09:10:08 CDT

Original text of this message