Redo log groups/files on the local disk for RAC DB

Whether is it possible/supported to place redo log files/groups on the local disk for a RAC databases ?
Thank you,

Hi Mufalani,
are you sure about this one? I'd think that this only works as long as the nodes don't restart/crash. I can imagine this like this:
The nodes store redo logs on local disks which are NFS-exported to the other node. Everything should be fine. But when one node crashes/reboots, the other one has to perform crash recovery for the crashed instance but this won't work when the NFS mount (with redo logs) is unaccessible. So I would not want to do this.
Bjoern

Similar Messages

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • Abot loss online Redo log group

    Hi,
    Is there different from recovering between loss CURRENT online redo log group and ACTIVE online redo log group?
    Both of them are needed to incomplete recovery, right?

    For CURRENT redolog recovery:
    startup mount
    recover database until cancel;
    alter database open resetlogs;
    For ACTIVE redolog recovery:
    If the database is still running, force a checkpoint by issuing the following command:
    alter system checkpoint;
    If above was successful and if the lost group has been archived then issue:
    alter database clear logfile group <number of the online redo log group>;
    And if the lost group has NOT been archived then issue:
    alter database clear logfile unarchived group <number of the online redo log group>;
    alter database open;
    If the database is not running (crashed) then
    startup mount
    recover database until cancel;
    alter database open resetlogs;
    Daljit Singh

  • Shared Disks For RAC

    Hi,
    I plan to use shared disks to create Oracle RAC using ASM. What options do I have? OCFS2? or any other option?
    Can some one lead me to a documnet on how can I use the shared disks for RAC?
    Thanks.

    javed555 wrote:
    I plan to use shared disks to create Oracle RAC using ASM. What options do I have? You have two options:
    1. Create shared virtual, i.e. file-backed disks. These files will be stored in /OVS/sharedDisk/ and made available to each guest
    2. Expose physical devices directly to each guest, e.g. an LVM partition or a multipath LUN.
    With both options, the disks show up as devices in the guests and you would then provision them with ASM, exactly the same way as if your RAC nodes were physical.
    OCFS2 or NFS are required to create shared storage for Oracle VM Servers. This is to ensure the /OVS mount point is shared between multiple Oracle VM Servers.

  • Usage of Redo Log Groups & Disk Contention

    Hi,
    I have a peculiar problem here.
    I have the redo log groups/members configured in the following manner.Please note that the disks are in the A-B-A-B-A-B sequence for successive redo groups.
    GROUP#      MEMBER
    11      /origlogA/log_g11m1.dbf
    11      /mirrlogA/log_g11m2.dbf
    12      /origlogB/log_g12m1.dbf
    12      /mirrlogB/log_g12m2.dbf
    13      /origlogA/log_g13m1.dbf
    13      /mirrlogA/log_g13m2.dbf
    14      /origlogB/log_g14m1.dbf
    14      /mirrlogB/log_g14m2.dbf
    15      /origlogA/log_g15m1.dbf
    15      /mirrlogA/log_g15m2.dbf
    16      /origlogB/log_g16m1.dbf
    16      /mirrlogB/log_g16m2.dbf
    17      /origlogA/log_g17m1.dbf
    17      /mirrlogA/log_g17m2.dbf
    18      /origlogB/log_g18m1.dbf
    18      /mirrlogB/log_g18m2.dbf
    19      /origlogA/log_g19m1.dbf
    19      /mirrlogA/log_g19m2.dbf
    20      /origlogB/log_g20m1.dbf
    20      /mirrlogB/log_g20m2.dbf
    21      /origlogA/log_g21m1.dbf
    21      /mirrlogA/log_g21m2.dbf
    22      /origlogB/log_g22m1.dbf
    22      /mirrlogB/log_g22m2.dbf
    23      /origlogA/log_g23m1.dbf
    23      /mirrlogA/log_g23m2.dbf
    24      /origlogB/log_g24m1.dbf
    24      /mirrlogB/log_g24m2.dbf
    But oracle uses these groups in a zig-zag manner(pls refer the list below).Here, after group# 15, it is group# 11 , which is used. And the members of these two groups are in the same set of disks ie; "/origlogA and /mirrlogA"
    (Note:The following result is ordered by sequence #)
    GROUP# SEQUENCE#      MEMBER
    16      263076           /origlogB/log_g16m1.dbf
    16      263076           /mirrlogB/log_g16m2.dbf
    17      263077           /origlogA/log_g17m1.dbf
    17      263077           /mirrlogA/log_g17m2.dbf
    18      263078           /origlogB/log_g18m1.dbf
    18      263078           /mirrlogB/log_g18m2.dbf
    19      263079           /origlogA/log_g19m1.dbf
    19      263079           /mirrlogA/log_g19m2.dbf
    20      263080           /origlogB/log_g20m1.dbf
    20      263080           /mirrlogB/log_g20m2.dbf
    21      263081           /origlogA/log_g21m1.dbf
    21      263081           /mirrlogA/log_g21m2.dbf
    22      263082           /origlogB/log_g22m1.dbf
    22      263082           /mirrlogB/log_g22m2.dbf
    23      263083           /origlogA/log_g23m1.dbf
    23      263083           /mirrlogA/log_g23m2.dbf
    24      263084           /origlogB/log_g24m1.dbf
    24      263084           /mirrlogB/log_g24m2.dbf
    13      263085           /origlogA/log_g13m1.dbf
    13      263085           /mirrlogA/log_g13m2.dbf
    14      263086           /origlogB/log_g14m1.dbf
    14      263086           /mirrlogB/log_g14m2.dbf
    15      263087           /origlogA/log_g15m1.dbf
    15      263087           /mirrlogA/log_g15m2.dbf
    11      263088           /origlogA/log_g11m1.dbf
    11      263088           /mirrlogA/log_g11m2.dbf
    12      263089           /origlogB/log_g12m1.dbf
    12      263089           /mirrlogB/log_g12m2.dbf
    Is there anyway, which we can force oracle to use the log groups in the right succession of log groups ? (like 11-12-13-14-15-16-17-18-19-20 etc.).
    I want to make sure that there will be no chances of contention, due to the "archiving of the offline redo log & LGWR writing to the online redo log" happening on the same disk.
    Thanks in advance,
    Don

    Hi,
    There's no way to achieve what you're trying to do except:
    1/ switch logfile till the current group is the last one.
    2/ drop groups from 1 to (last - 2)
    3/ create groups 1, 2, 3 (or 11, 12, 13, 14, ... don't care)
    4/ Switch logfile Twice
    5/ Alter system checkpoint
    6/ Drop the former 2 or 3 remaining groups (19, 20, 21, ...)
    7/ Recreate them.
    But i'd like to point that having them go in order is perfectly useless.
    And that you're a priori doing something dangerous. Having your log members on the same disk for the different groups. usually I'd choose to
    . Put member 1 on disk 1
    . Put member 2 on disk 2
    . Increase the number of archiver processes
    . ensure disk 1 and 2 are not RAID disk(click)
    Regards,
    Yoann.

  • "file not on the local disk" warning when it absolutely is

    Using DreamweaverCC2014 for the first time. Working on an older MacPro running Yosemite.
    I define a new site, specifying the directory in which my site's files are stored. The site has a single page, called index.htm, in the root directory, which has a link to a CSS stylesheet named "main.css" in a directory called "_css." The CSS file is contained within the directory, and appears in the Files tab of Dreamweaver as expected. The link to the stylesheet is properly formed on the index.htm page.
    At the top left of the workspace, I see two buttons: one for "Source Code," which, when selected, displays the source code for the page I am working on. Next to it is a button that says "main.css," which SHOULD allow me to open up the CSS page and edit it. However, when I click this button, I get a caution icon, along with the message that says:
    "'main.css' is not on the local disk."
    Next to this is a link that says "Get," which I would assume, when clicked, would allow me to find and relink the stylesheet. However, such is not the case. Instead, I get an alert window that says:
    "'main.css is not in a defined site"
    When I look at the page in Live View, the styled sheet is not shown, rather just the unstyled sheet. Looking at it in a browser, however, does.
    The code is correct; I have checked an re-checked it. The files are all in place and show up as expected in the Files panel. Any thoughts on why Dreamweaver thinks this CSS file doesn't exist?

    As this issue was diminishing my confidence in using the software for a mission-critical project, I contacted Adobe technical support for assistance.
    This is a known issue.
    The problem has to do with DW getting "confused" if there is any other file in the site root disk that may have the same name. In my case, there was (I tend to name the CSS files for my sites with the terribly generic "main" designation). The rep suggested that I create an entirely new site root, put my file structure into that, and see if the problem resolves. I did two things:
    First, I installed a completely new installation of DWCC2014 on my MacPro laptop. No existing site files of any kind on that machine. I then created a new site, using a copy of my original troublesome site's file structure. So, with the exception of the fact that this is on a machine that has no other sites or files, I am repeating the test using the exact same files and folder structure. When I click the Source Code button, I see the HTML source code. And when I click the CSS button...the CSS file displays as expected!
    Next experiment...back to my desktop MacPro. I copy the files for the site onto a completely different hard drive from the one I was using in my earlier failed attempt to get this to work. Again, same files and structure, only difference is the physical location of the files on a different hard drive. HTML source code displays, and, when the CSS button is clicked, the CSS page also displays as expected. Problem solved!
    So, I hope that my experience (and the solution) is helpful in the event others encounter this same issue. Again, this is a known issue at Adobe, so chances are good one of you out there will have this problem. The solution is to place your files in a completely new site root apart from any other that might have similar file names, so as not to "confuse" DW.

  • Deleting the old Archive Log Files from the Hard Disk

    Hello All,
    I want to delete the old archive files of Oracle. These files are very old and consuming very huge disk space.
    Is there any way by which I can delete these files from the Hard Disk?
    Can I directly delete them using the Operating System Command?
    Will it cause any dilfference to the normal functioning of my Database?
    If I need to delete these files, do I need to bring the database down?
    Please guide me.
    I need to do this activity to make some space free on the Hard Disk.
    Thanks in advance.
    Himanshu

    Hi.
    Keep archived logs from time of last backup and forward to currenct time on disk together with the backup itself. And keep older archived logs together with older warm/cold backupfiles on tape as long as there is enough capasity or following your recovery strategy. This way you might be able to roll forward a recovery without restoring these files from tape which often the faster.
    Older archived logs can be deleted manually, with scheduled OS script or automatically with RMAN.
    Good luck
    rgds
    Kjell Ove

  • I want to save and load the swf-file to a local disk of any user. Possible?

    Hi, It's good to see you.
    I am a developer in Web Flash Game.( I use AS3.0 )
    I want to save and load the swf-file to a local disk of any user,
    Because I want to decrease the time for loading a flash movie from site.
    Is it possible?
    If it is possible, I hope the swf-file has only one loading from site and
    it will be loaded from a local disk of any user after that.
    (I know a concept of Internet temporary file.
    I want to know the other techniques of only using AS3.0.)

    Hi,
    I have similar problem. We are producing a 70 meg browser based game and would like the user to be able to cache the game to avoid reloading the game the next time. Can this be done if the user authorise the save? If, so how? We don't care where the game is cached .
    Can we prompt the user to download the file by providing a link from within the SWF application?

  • Redo Log Groups

    Call me stupid, but for some reason I've decided to get certified as a DBA even though I have always been a developer. Honestly, its not my fault. The choices in the development track are pretty boring...
    Anyway, while pouring through the Backup/Recovery documentation, I run across this:
    Every database must have at least two online redo log groups.
    Each redo log group contains at least one online redo log member,
    which is a physical file containing the redo records.I decided to check and see if I have "at least two online redo log groups" for my play database. Now, I am very very confused.
    I think this query shows my 3 log members, but for some reason the 1st column makes me think I have 3 log groups:
    select group#, member from v$logfile
        GROUP# MEMBER
             3 /var/opt/oracle/oradata/db92/redo03.log
             2 /var/opt/oracle/oradata/db92/redo02.log
             1 /var/opt/oracle/oradata/db92/redo01.logI only know of one place where my online redo is located:
    ls $ORACLE_BASE/oradata/db92
    redo01.log  redo02.log  redo03.logCan someone help me figure out if I have one-group and three-members??
    Any comments are welcome,
    Stan

    This information can help you:
    Adding Redo Log File Groups: Examples
    The following statement adds a redo log file group with two members and identifies it with a GROUP parameter value of 3:
    ALTER DATABASE
    ADD LOGFILE GROUP 3
    ('diska:log3.log' ,
    'diskb:log3.log') SIZE 50K;
    The following statement adds a redo log file group containing two members to thread 5 (in a Real Application Clusters environment) and assigns it a GROUP parameter value of 4:
    ALTER DATABASE
    ADD LOGFILE THREAD 5 GROUP 4
    ('diska:log4.log',
    'diskb:log4:log');
    Dropping Log File Members: Example
    The following statement drops one redo log file member added in the previous example:
    ALTER DATABASE
    DROP LOGFILE MEMBER 'diskb:log3.log';
    The following statement drops all members of the redo log file group 3:
    ALTER DATABASE DROP LOGFILE GROUP 3;
    Adding Redo Log File Group Members: Example
    The following statement adds a member to the redo log file group added in the previous example:
    ALTER DATABASE
    ADD LOGFILE MEMBER 'diskc:log3.log'
    TO GROUP 3;
    Renaming a Log File Member: Example
    The following statement renames a redo log file member:
    ALTER DATABASE
    RENAME FILE 'diskc:log3.log' TO 'diskb:log3.log';
    The preceding statement only changes the member of the redo log group from one file to another. The statement does not actually change the name of the file 'diskc:log3.log' to 'diskb:log3.log'. You must perform this operation through your operating system.
    Joel P�rez

  • Why multiplex redo log group ?

    Hello,
    Why should we multiplex redo log groups if we have only file system which is already mirrored. Is there any one who had an incident when he has only one redo log member per group placed on a mirrored file system but still got corrupted and he felt better to have multiple members even if they reside on the same file system (which is mirrored)
    Thanks
    Salman

    Ansiktet wrote:
    EdStevens wrote:
    Salman Qureshi wrote:
    Hello,
    Why should we multiplex redo log groups if we have only file system which is already mirrored. Is there any one who had an incident when he has only one redo log member per group placed on a mirrored file system but still got corrupted and he felt better to have multiple members even if they reside on the same file system (which is mirrored)
    Thanks
    SalmanThe mirror won't protect you from an SA who deletes '/u01/oradata/redo01.log' because he is running out of space on /u01 and figures its safe to delete a log file.
    Or similar types of errors.
    The redo and control files are simply too critical to put all your eggs in one basket when planning their protection.:) Thats why you should not use Oracle default .log on redo, instead .dbf or .dbl can be used. THat's why I use the older (pre-10g) default of .rdo for redo logs
    However, has this happend anyone for real, that a SA delete Oracle files? Where do you think I came up with the example?
    HOw about an SA (or maybe the kind of "fresher" we often see here, Taking a look at a "log" file with notepad?
    If he is isnt stupid he should know that Oracle resides on /u01 partion (for example), and should not delete files there without consulting the DBA."should" is the operative word there. There is no accounting for corporate cultures and attitudes.
    But end the end, my example was to illustrate that not all problems with redo and control files are mitigated with disk mirroring.

  • Redo log groups on ASM

    Hi All
    Is there any difference between creating redo log groups on ASM and creating the same redo log groups on Cluster file system ? if yes , can you please give me an example ?
    Thanks

    ASM supports redo log files like cluster filesystems. But as far as I know Oracle strongly recommends to place redo log files on different physical disks than the datafiles and the archivelogs also. So if you are planning to place your redo logs on the ASM maybe it is better to create a seperate ASM diskgroup.
    ASM also has the ability to stripe and mirror the disks under a diskgroup so this functionality also gives you better performance according to the configuration you already have or planning to have. Of course it depends on your cluster disk infrastructure and ASM infrastructure also.
    You should also check the configuration of the storage and the LUN architecture to avoid double stripe issues.

  • Confused about standby redo log groups

    hi masters,
    i am little bit confuse about creating redo log group for standby database,as per document number of standby redo group depends on following equation.
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    but i dont know where to fing threads? actually i would like to know about thread in deep.
    how to find current thread?
    thanks and regards
    VD

    is it really possible that we can install standby and primary on same host??
    yes its possible and i have done it many times within the same machine.
    For yours confusion about spfile ,i agree document recommend you to use spfile which is for DG broker handling if you go with DG borker in future only.
    There is no concern spfile using is an integral step for primary and standby database implementation you can go with pfile but good is use spfile.Anyhow you always keep pfile on that basis you created spfile,i said you make an entry within pfile then mount yours standby database with this pfile or you can create spfile from this pfile after adding these parameter within pfile,i said cause you might be adding this parmeter from SQL prompt.
    1. logs are not getting transfered(even i configure listener using net manager)
    2.logs are not getting archived at standby diectory.
    3.'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION' NEVER COMPLETE ITS RECOVERY
    4. when tried to open database it always note it 'always' said system datafile is not from sufficiently old backup.
    5.i tried 'alter database recover managed standby database camncel' also.Read yours alert log file and paste the latest log here..
    Khurram

  • Standby redo log group for particular thread

    hi masters,
    actually i am performing an experiment to create physical standbyt database on the same machine as my primary database.
    i ma going according to 'data guard admin guide'. while section for ading standby redo log group,it says that you have to add standby redo log group to "thread"....
    what is this thread? and how can i foind to which thread i have to assign the next redo log group??
    how can i find current thread??
    what if i dont add "to thread' clause in my statement:-
    ALTER DATABASE ADD STANDBY LOGFILE THREAD 5
    2> ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500M;
    thanks and regards
    VD

    Vikrant,
    First a question: Do you have a RAC instance? If so the paragraph even doesn't apply to you and I'm not sure why you are questioning it.
    Secondly
    "The THREAD clause is required only if you want to add one or more standby redo log
    file groups to a specific primary database thread. If you do not include the THREAD
    clause and the configuration uses Real Application Clusters (RAC), Data Guard will
    automatically assign standby redo log file groups to threads at runtime as they are
    needed by the various RAC instances."
    this means you dont have to specify thread for RAC,as it will allocate one according to current thread.
    Your conclusion is incorrect.
    Where do you read the word 'current'?
    Oracle will likely simply make sure each instance has sufficient standby redolog groups, the requirement is 1 standby redolog group per group + 1 extra.
    Sybrand Bakker
    Senior Oracle DBA

  • Online redo log group needed??

    hey guys!
         Am about to recreate the clone file of the clone db, open it using recover it until cancel using backup controlfile and apply all necessary archive logs!
    My question is, does ai need to have online redo log group of the production db? since ai have all the archive log, so ai think while recraeting the control file, online redo log group will be created too?
    Thanks!

    while recraeting the control file, online redo log group will be created tooWhile creating control file, online redo log group doesn't get created. After applying all the archivel logs you have to open the database with RESET LOG option and then oracle will create redo logs for you.
    Best of Luck !!
    Daljit Singh

  • Redo Logs Groups and Members

    Hi -
    I have a few questions regarding redo log groups and naming conventions I was hoping someone could address or point me to some docs.
    I am multiplexing my control file and redo logs across HDDs for an XE installation.
    The original logs created at install have the naming form of:
    O1_MF_1_462H1GK7_.LOG.
    1. What is behind the naming scheme (specifically the _462H1GK7_ section)?
    2. Is there a generally recognized naming scheme for adding new group members in XE?
    3. I noticed that with any XE install I have done, the redo logs groups default to Group 1 and Group 3, with no Group 2 to be found. Is this normal/required? If not, is it best to add group 2 and then remove group 3? I'm not sure if has much bearing here, but the 10gR2 docs state that skipping group numbers will consume space in the control files.
    Thanks in advance for any assistance,
    Scott

    The odd-looking filename is from using Oracle Managed Files (OMF). You can override the naming scheme or create your own groups and members. Very common to include "redo" in the file name along with group and member identifiers. An example would be:
    <path>/redo01a.log
    <path>/redo01b.log
    <path>/redo02a.log
    etc.
    You can see group 01 has two members, a and b. Can also include the SID in the file name as well, but that can be identified via the path. 462H1GK7 is a unique identifier generated by Oracle. It has no meaning.
    I don't know about XE not creating a group 2. Were there group 2 file(s) left over from a previous install (although the OMF probably would have ignored the existing files)? If creating the files manually, you can use "reuse" to use existing files.

Maybe you are looking for

  • How do I restore my pictures when it says I don't have space?

    I backed up my phone on iTunes, and came back to restore it but it said that I don't have enough space to restore the information. I don't want to delete more pictures because I'm scared I might lose them. Does that mean the iOS7 takes us space than

  • Tax base amount is Zero in billing document

    Hi Tax base amount in the accounting document of my billing document shows zero value but in the header condition of the billing document  i am getting net value and tax amount separately. What could be the reason?. Best Regards Swami

  • New layout, CSS errors and Firefox problems

    Hi Could it be that some of the Firefox problems are caused by: 1) The wrong mime type for the CSS files? Currently it appears to be: application/x-css shouldn't it be text/css 2) Errors in the CSS files and inline CSS of. http://forums.oracle.com/fo

  • Math operations on array in TestStand

    Hi. I have 2 questions 1. Is it possible to multiply an array by a number in TestStand? I know there are some numeric functions available in TestStand but I don't know if like LabVIEW I can multiple ( subtract/add/divide...) all the elements of an ar

  • Is there a PC Suite for iPhone 4s?

    what is the best software for using iphone with pc/laptop ? thanks